View difference between Paste ID: Wd6wVhjm and 3mFJAB3w
SHOW: | | - or go back to the newest paste.
1
--TODO: add comments or something idk
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player = owner
4
local Mouse,mouse,UserInputService,ContextActionService
5
do
6
	script.Parent = Player.Character
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([[SG AWAKEN Loaded.
93
The super switcher.
94
Velnorum is one of the first wielders.
95
96
Created, Reworked by NoobyGames12 and converted by Helkern
97
]])
98
99
100
------------- ORIGINAL WIELDER OC: Velnorum
101
print([[Icons:
102
! = New
103
? = Spoilers
104
* = Exclusivity
105
C = Changes
106
107
]])
108
warn([[V 4.1 Update Log:
109
!C? - Mostly about 7-9 main modes added.
110
! - Non-canon [N] modes are added from few modes:
111
 > Mayhem: NANO
112
 > Purity: BRIGHTNESS
113
 > Chaos: CRAZED
114
 > Divinity: FALLEN
115
 > Destiny: OMEGA
116
! - Added back CALAMITY and INFESTATION.
117
C - Two main click attacks changed.
118
!C - Moves are added back, with severe change and difference.
119
C - Some modes got renamed because fat filter
120
C - Toned down the effects to be compatible with fe without strong lag.]])
121
--- its obs smooth af do not touch 
122
---- Sources and functions might be taken from others
123
if game.PlaceId == 843468296 then
124
error("This script has been banned. You cannot use it here. Please use Place 2.")
125
end
126
plr = owner
127
char = plr.Character
128
hum = char.Humanoid
129
local cam = game.Workspace.CurrentCamera
130
Camera = cam
131
local CamInterrupt = false
132
local TwoD = false
133
local TargetInfo = {nil, nil}
134
local Alpha = .3
135
cam.CameraType = "Custom"
136
t = char.Torso
137
h = char.Head
138
ra = char["Right Arm"]
139
la = char["Left Arm"]
140
rl = char["Right Leg"]
141
ll = char["Left Leg"]
142
tors = char.Torso
143
lleg = char["Left Leg"]
144
root = char.HumanoidRootPart
145
hed = char.Head
146
rleg = char["Right Leg"]
147
rarm = char["Right Arm"]
148
larm = char["Left Arm"]
149
radian = math.rad
150
random = math.random
151
Vec3 = Vector3.new
152
Inst = Instance.new
153
cFrame = CFrame.new
154
Euler = CFrame.fromEulerAnglesXYZ
155
vt = Vector3.new
156
bc = BrickColor.new
157
br = BrickColor.random
158
it = Instance.new
159
cf = CFrame.new
160
161
local Booleans = {
162
  CamFollow = true,
163
  GyroUse = true
164
}
165
166
function so(id, par, vol, pit)
167
	coroutine.resume(coroutine.create(function()
168
		local sou = Instance.new("Sound", par or workspace)
169
		sou.Volume = vol
170
		sou.Pitch = pit or 1
171
		sou.SoundId = id
172
		swait()
173
		sou:play()
174
		game:GetService("Debris"):AddItem(sou, 6)
175
	end))
176
end
177
function clerp(a, b, t)
178
	local qa = {
179
		QuaternionFromCFrame(a)
180
	}
181
	local qb = {
182
		QuaternionFromCFrame(b)
183
	}
184
	local ax, ay, az = a.x, a.y, a.z
185
	local bx, by, bz = b.x, b.y, b.z
186
	local _t = 1 - t
187
	return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
188
end
189
190
function aclerp(startCF,endCF,alpha)
191
    return startCF:lerp(endCF, alpha)
192
end
193
194
function lerp(object, newCFrame, alpha)
195
  return object:lerp(newCFrame, alpha)
196
end
197
198
local Directer = Inst("BodyGyro", root)
199
Directer.MaxTorque = Vec3(0, 0, 0)
200
Directer.P = 600000
201
local CPart = Inst("Part")
202
CPart.Anchored = true
203
CPart.CanCollide = false
204
CPart.Locked = true
205
CPart.Transparency = 1
206
207
local rainbowmode = false
208
local chaosmode = false
209
210
local kan = Instance.new("Sound",char)
211
kan.Volume = 1.25
212
kan.TimePosition = 0
213
kan.PlaybackSpeed = 1
214
kan.Pitch = 1
215
kan.SoundId = "rbxassetid://614032233"
216
kan.Name = "wrecked"
217
kan.Looped = true
218
kan:Play()
219
220
local currentThemePlaying = kan.SoundId
221
local currentPitch = kan.Pitch
222
local currentVol = kan.Volume
223
function newTheme(ID,timepos,pitch,vol)
224
local kanz = kan
225
--kanz:Stop()
226
kanz.Volume = vol
227
--kanz.TimePosition = timepos
228
kanz.PlaybackSpeed = pitch
229
kanz.Pitch = pitch
230
kanz.SoundId = ID
231
kanz.Name = "wrecked"
232
kanz.Looped = true
233
currentThemePlaying = kanz.SoundId
234
currentVol = kanz.Volume
235
currentPitch = kanz.Pitch
236
--kanz:Play()
237
--coroutine.resume(coroutine.create(function()
238
--wait(0.05)
239
--end))
240
end
241
242
243
function newThemeCust(ID,timepos,pitch,vol)
244
local kanz = kan
245
kanz:Stop()
246
kanz.Volume = vol
247
kanz.TimePosition = timepos
248
kanz.PlaybackSpeed = pitch
249
kanz.Pitch = pitch
250
kanz.SoundId = ID
251
kanz.Name = "wrecked"
252
kanz.Looped = true
253
currentThemePlaying = kanz.SoundId
254
currentVol = kanz.Volume
255
currentPitch = kanz.Pitch
256
kanz:Play()
257
coroutine.resume(coroutine.create(function()
258
wait(0.05)
259
end))
260
end
261
262
local mutedtog = false
263
264
function IdolsWarn(text,represfont,color,color2)
265
	if disably ~= true then
266
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
267
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
268
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
269
coroutine.resume(coroutine.create(function()
270
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
271
v.PlayerGui:FindFirstChild("Spinny"):destroy()
272
end
273
local scrg = Instance.new("ScreenGui",v.PlayerGui)
274
scrg.Name = "Spinny"
275
local frm = Instance.new("Frame",scrg)
276
frm.BackgroundTransparency = 0.25
277
frm.BackgroundColor3 = color
278
frm.BorderSizePixel = 0
279
frm.Rotation = 45
280
frm.Size = UDim2.new(3,0,0,100)
281
frm.Position = UDim2.new(-4,0,0,0)
282
local frm2 = frm:Clone()
283
frm2.Parent = scrg
284
frm2.BackgroundColor3 = color2
285
frm2.Position = UDim2.new(-4.05,0,0,0)
286
local imlb = Instance.new("ImageLabel",scrg)
287
imlb.BackgroundTransparency = 1
288
imlb.BackgroundColor3 = color
289
imlb.Image = "rbxassetid://787198541"
290
imlb.Size = UDim2.new(0,750,0,750)
291
imlb.ImageColor3 = color2
292
imlb.ImageTransparency = 0.25
293
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
294
local imlb2 = imlb:Clone()
295
imlb2.Image = "rbxassetid://197468643"
296
imlb2.Size = UDim2.new(1,0,1,0)
297
imlb2.ImageTransparency = 0
298
imlb2.Position = UDim2.new(0,0,0,0)
299
local imlb3 = imlb:Clone()
300
imlb3.Image = "rbxassetid://787191999"
301
imlb3.Size = UDim2.new(1,0,1,0)
302
imlb3.ImageColor3 = color2
303
imlb3.ImageTransparency = 0
304
imlb3.Position = UDim2.new(0,0,0,0)
305
local imlb4 = imlb:Clone()
306
imlb4.Image = "rbxassetid://2092248396"
307
imlb4.Size = UDim2.new(3,0,3,0)
308
imlb3.ImageColor3 = color
309
imlb4.ImageTransparency = 0
310
imlb4.Position = UDim2.new(-1,0,-1,0)
311
local imlb5 = imlb:Clone()
312
imlb5.Image = "rbxassetid://2344870656"
313
imlb5.Size = UDim2.new(10,0,10,0)
314
imlb5.ImageColor3 = color2
315
imlb5.ImageTransparency = 0
316
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
317
imlb2.Parent = imlb
318
imlb3.Parent = imlb
319
imlb4.Parent = imlb
320
imlb5.Parent = imlb
321
local txtlb2 = Instance.new("TextLabel",imlb)
322
coroutine.resume(coroutine.create(function()
323
while true do
324
swait()
325
if Error == false then
326
txtlb2.Text = text
327
elseif Error == true then
328
txtlb2.Text = est[math.random(1,17)]
329
end
330
end
331
end))
332
txtlb2.Font = represfont
333
txtlb2.TextColor3 = color
334
txtlb2.TextStrokeTransparency = 0
335
txtlb2.BackgroundTransparency = 1
336
txtlb2.TextStrokeColor3 = color2
337
txtlb2.TextScaled = true
338
txtlb2.Size = UDim2.new(1,0,1,0)
339
txtlb2.Position = UDim2.new(0,0,0,0)
340
local fvalen = 0.55
341
local fval = -0.49
342
coroutine.resume(coroutine.create(function()
343
while true do
344
swait()
345
if rainbowmode == true then
346
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
347
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
348
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
349
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
350
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
351
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
352
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
353
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
354
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
355
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
356
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
357
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
358
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
359
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
360
end
361
end
362
end))
363
coroutine.resume(coroutine.create(function()
364
while true do
365
swait()
366
if Error == true then
367
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
368
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
369
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
370
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
371
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
372
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
373
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
374
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
375
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
376
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
377
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
378
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
379
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
380
text = est[math.random(1,17)]
381
end
382
end
383
end))
384
coroutine.resume(coroutine.create(function()
385
while true do
386
swait()
387
if CRAZED == true then
388
txtlb2.Rotation = math.random(-1,1)
389
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
390
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
391
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
392
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
393
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
394
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
395
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
396
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
397
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
398
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
399
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
400
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
401
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
402
end
403
end
404
end))
405
coroutine.resume(coroutine.create(function()
406
while true do
407
swait()
408
if chaosmode == true then
409
txtlb2.Rotation = math.random(-1,1)
410
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
411
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
412
imlb.ImageColor3 = BrickColor.random().Color
413
txtlb2.TextStrokeColor3 = BrickColor.random().Color
414
end
415
end
416
end))
417
coroutine.resume(coroutine.create(function()
418
while true do
419
swait()
420
if scrg.Parent ~= nil then
421
	fvalen = fvalen - 0.0001
422
elseif scrg.Parent == nil then
423
break
424
end
425
end
426
end))
427
local flol = -5
428
local flil = 1.6
429
coroutine.resume(coroutine.create(function()
430
	for i = 0, 49 do
431
		swait()
432
		flol = flol + 0.125
433
		flil = flil - 0.1
434
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
435
		frm.Rotation = frm.Rotation - 0.25
436
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
437
		frm2.Rotation = frm.Rotation + 0.325
438
		imlb3.Rotation = imlb3.Rotation - 10
439
		imlb2.Rotation = imlb.Rotation + 7.5
440
		imlb.Rotation = imlb.Rotation + 5
441
		if Error == false then
442
		txtlb2.Rotation = txtlb2.Rotation - 5.125
443
		elseif Error == true then
444
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
445
		end
446
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
447
	end
448
	for i = 0, 99 do
449
		swait()
450
		fval = fval + 0.05
451
		flol = flol + 0.005
452
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
453
		frm.Rotation = frm.Rotation - 0.075
454
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
455
		frm2.Rotation = frm2.Rotation + 0.125
456
		imlb3.Rotation = imlb3.Rotation - 2
457
		imlb2.Rotation = imlb.Rotation + 1.5
458
		imlb.Rotation = imlb.Rotation + 1
459
		if Error == false then
460
		txtlb2.Rotation = txtlb2.Rotation - 1.125
461
		elseif Error == true then
462
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
463
		end
464
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
465
	end
466
local valinc = 0
467
local vinc2 = 1
468
for i = 0, 99 do
469
swait()
470
vinc2 = vinc2 + 0.25
471
valinc = valinc + 0.0001
472
flol = flol + valinc
473
flil = flil + valinc
474
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
475
imlb3.Rotation = imlb3.Rotation - 2*vinc2
476
imlb.Rotation = imlb.Rotation + 1*vinc2
477
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
478
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
479
frm.Rotation = frm.Rotation + 0.1*vinc2
480
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
481
frm2.Rotation = frm2.Rotation + 0.225*vinc2
482
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
483
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
484
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
485
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
486
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
487
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
488
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
489
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
490
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
491
end
492
scrg:Destroy()
493
end))
494
end))
495
end
496
end
497
end
498
499
local IDTECC = {"LETS BE SERIOUS","MICHEAL NEO","TRUE FORM","..."}
500
501
local OVMID = 1702473314
502
local OVMPIT = 1
503
local OVMVOL = 1
504
505
function warnedpeople(text,represfont,color,color2)
506
	if disably ~= true then
507
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
508
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
509
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
510
coroutine.resume(coroutine.create(function()
511
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
512
v.PlayerGui:FindFirstChild("Spinny"):destroy()
513
end
514
local scrg = Instance.new("ScreenGui",v.PlayerGui)
515
scrg.Name = "Spinny"
516
local frm = Instance.new("Frame",scrg)
517
frm.BackgroundTransparency = 0.25
518
frm.BackgroundColor3 = color
519
frm.BorderSizePixel = 0
520
frm.Rotation = 45
521
frm.Size = UDim2.new(3,0,0,100)
522
frm.Position = UDim2.new(-4,0,0,0)
523
local frm2 = frm:Clone()
524
frm2.Parent = scrg
525
frm2.BackgroundColor3 = color2
526
frm2.Position = UDim2.new(-4.05,0,0,0)
527
local imlb = Instance.new("ImageLabel",scrg)
528
imlb.BackgroundTransparency = 1
529
imlb.BackgroundColor3 = Color3.new(0,0,0)
530
imlb.Image = "rbxassetid://2344851144"
531
imlb.Size = UDim2.new(0,750,0,750)
532
imlb.ImageColor3 = color2
533
imlb.ImageTransparency = 0.25
534
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
535
local imlb2 = imlb:Clone()
536
imlb2.Image = "rbxassetid://2076458450"
537
imlb2.Size = UDim2.new(1,0,1,0)
538
imlb2.ImageColor3 = color
539
imlb2.ImageTransparency = 0
540
imlb2.Position = UDim2.new(0,0,0,0)
541
local imlb3 = imlb:Clone()
542
imlb3.Image = "rbxassetid://2312119891"
543
imlb3.Size = UDim2.new(1,0,1,0)
544
imlb3.ImageColor3 = color2
545
imlb3.ImageTransparency = 0
546
imlb3.Position = UDim2.new(0,0,0,0)
547
local imlb4 = imlb:Clone()
548
imlb4.Image = "rbxassetid://2092248396"
549
imlb4.Size = UDim2.new(3,0,3,0)
550
imlb3.ImageColor3 = color
551
imlb4.ImageTransparency = 0
552
imlb4.Position = UDim2.new(-1,0,-1,0)
553
local imlb5 = imlb:Clone()
554
imlb5.Image = "rbxassetid://2344870656"
555
imlb5.Size = UDim2.new(10,0,10,0)
556
imlb5.ImageColor3 = color2
557
imlb5.ImageTransparency = 0
558
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
559
imlb2.Parent = imlb
560
imlb3.Parent = imlb
561
imlb4.Parent = imlb
562
imlb5.Parent = imlb
563
local txtlb2 = Instance.new("TextLabel",imlb)
564
txtlb2.Text = text
565
coroutine.resume(coroutine.create(function()
566
while true do
567
swait()
568
if ASTRA == true then
569
txtlb2.Text = est[math.random(1,5)]
570
elseif dragon == true then
571
txtlb2.Text = nobreak[math.random(1,3)]
572
end
573
end
574
end))
575
txtlb2.Font = represfont
576
txtlb2.TextColor3 = color
577
txtlb2.TextStrokeTransparency = 0
578
txtlb2.BackgroundTransparency = 1
579
txtlb2.TextStrokeColor3 = color2
580
txtlb2.TextScaled = true
581
txtlb2.Size = UDim2.new(1,0,1,0)
582
txtlb2.Position = UDim2.new(0,0,0,0)
583
local fvalen = 0.55
584
local fval = -0.49
585
586
coroutine.resume(coroutine.create(function()
587
while true do
588
swait()
589
if rainbowmode == true then
590
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
591
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
592
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
593
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
594
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
595
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
596
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
597
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
598
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
599
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
600
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
601
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
602
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
603
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
604
end
605
end
606
end))
607
coroutine.resume(coroutine.create(function()
608
while true do
609
swait()
610
if Error == true then
611
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
612
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
613
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
614
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
615
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
616
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
617
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
618
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
619
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
620
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
621
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
622
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
623
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
624
text = est[math.random(1,17)]
625
end
626
end
627
end))
628
coroutine.resume(coroutine.create(function()
629
while true do
630
swait()
631
if CRAZED == true then
632
txtlb2.Rotation = math.random(-1,1)
633
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
634
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
635
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
636
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
637
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
638
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
639
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
640
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
641
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
642
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
643
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
644
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
645
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
646
end
647
end
648
end))
649
coroutine.resume(coroutine.create(function()
650
while true do
651
swait()
652
if chaosmode == true then
653
txtlb2.Rotation = math.random(-1,1)
654
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
655
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
656
imlb.ImageColor3 = BrickColor.random().Color
657
txtlb2.TextStrokeColor3 = BrickColor.random().Color
658
end
659
end
660
end))
661
coroutine.resume(coroutine.create(function()
662
while true do
663
swait()
664
if scrg.Parent ~= nil then
665
	fvalen = fvalen - 0.0001
666
elseif scrg.Parent == nil then
667
break
668
end
669
end
670
end))
671
local flol = -5
672
local flil = 1.6
673
coroutine.resume(coroutine.create(function()
674
	for i = 0, 49 do
675
		swait()
676
		flol = flol + 0.125
677
		flil = flil - 0.1
678
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
679
		frm.Rotation = frm.Rotation - 0.25
680
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
681
		frm2.Rotation = frm.Rotation + 0.325
682
		imlb3.Rotation = imlb3.Rotation - 10
683
		imlb2.Rotation = imlb.Rotation + 7.5
684
		imlb.Rotation = imlb.Rotation + 5
685
		if Error == false then
686
		txtlb2.Rotation = txtlb2.Rotation - 5.125
687
		elseif Error == true then
688
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
689
		end
690
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
691
	end
692
	for i = 0, 99 do
693
		swait()
694
		fval = fval + 0.05
695
		flol = flol + 0.005
696
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
697
		frm.Rotation = frm.Rotation - 0.075
698
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
699
		frm2.Rotation = frm2.Rotation + 0.125
700
		imlb3.Rotation = imlb3.Rotation - 2
701
		imlb2.Rotation = imlb.Rotation + 1.5
702
		imlb.Rotation = imlb.Rotation + 1
703
		if Error == false then
704
		txtlb2.Rotation = txtlb2.Rotation - 1.125
705
		elseif Error == true then
706
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
707
		end
708
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
709
	end
710
local valinc = 0
711
local vinc2 = 1
712
for i = 0, 99 do
713
swait()
714
vinc2 = vinc2 + 0.25
715
valinc = valinc + 0.0001
716
flol = flol + valinc
717
flil = flil + valinc
718
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
719
imlb3.Rotation = imlb3.Rotation - 2*vinc2
720
imlb.Rotation = imlb.Rotation + 1*vinc2
721
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
722
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
723
frm.Rotation = frm.Rotation + 0.1*vinc2
724
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
725
frm2.Rotation = frm2.Rotation + 0.225*vinc2
726
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
727
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
728
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
729
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
730
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
731
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
732
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
733
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
734
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
735
end
736
scrg:Destroy()
737
end))
738
end))
739
end
740
end
741
end
742
743
function warnedpeople2(text,represfont,color,color2)
744
	if disably ~= true then
745
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
746
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
747
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
748
coroutine.resume(coroutine.create(function()
749
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
750
v.PlayerGui:FindFirstChild("Spinny"):destroy()
751
end
752
local scrg = Instance.new("ScreenGui",v.PlayerGui)
753
scrg.Name = "Spinny"
754
local frm = Instance.new("Frame",scrg)
755
frm.BackgroundTransparency = 0.25
756
frm.BackgroundColor3 = color
757
frm.BorderSizePixel = 0
758
frm.Rotation = 45
759
frm.Size = UDim2.new(3,0,0,100)
760
frm.Position = UDim2.new(-4,0,0,0)
761
local frm2 = frm:Clone()
762
frm2.Parent = scrg
763
frm2.BackgroundColor3 = color2
764
frm2.Position = UDim2.new(-4.05,0,0,0)
765
local imlb = Instance.new("ImageLabel",scrg)
766
imlb.BackgroundTransparency = 1
767
imlb.BackgroundColor3 = Color3.new(0,0,0)
768
imlb.Image = "rbxassetid://787198541"
769
imlb.Size = UDim2.new(0,750,0,750)
770
imlb.ImageColor3 = color2
771
imlb.ImageTransparency = 0.25
772
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
773
local imlb2 = imlb:Clone()
774
imlb2.Image = "rbxassetid://2076458450"
775
imlb2.Size = UDim2.new(1,0,1,0)
776
imlb2.ImageColor3 = color
777
imlb2.ImageTransparency = 0
778
imlb2.Position = UDim2.new(0,0,0,0)
779
local imlb3 = imlb:Clone()
780
imlb3.Image = "rbxassetid://787191999"
781
imlb3.Size = UDim2.new(1,0,1,0)
782
imlb3.ImageColor3 = color2
783
imlb3.ImageTransparency = 0
784
imlb3.Position = UDim2.new(0,0,0,0)
785
local imlb4 = imlb:Clone()
786
imlb4.Image = "rbxassetid://2092248396"
787
imlb4.Size = UDim2.new(3,0,3,0)
788
imlb3.ImageColor3 = color
789
imlb4.ImageTransparency = 0
790
imlb4.Position = UDim2.new(-1,0,-1,0)
791
local imlb5 = imlb:Clone()
792
imlb5.Image = "rbxassetid://2344870656"
793
imlb5.Size = UDim2.new(10,0,10,0)
794
imlb5.ImageColor3 = color2
795
imlb5.ImageTransparency = 0
796
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
797
imlb2.Parent = imlb
798
imlb3.Parent = imlb
799
imlb4.Parent = imlb
800
imlb5.Parent = imlb
801
local txtlb2 = Instance.new("TextLabel",imlb)
802
txtlb2.Text = text
803
coroutine.resume(coroutine.create(function()
804
while true do
805
swait()
806
if ASTRA == true then
807
txtlb2.Text = est[math.random(1,5)]
808
elseif dragon == true then
809
txtlb2.Text = nobreak[math.random(1,3)]
810
end
811
end
812
end))
813
txtlb2.Font = represfont
814
txtlb2.TextColor3 = color
815
txtlb2.TextStrokeTransparency = 0
816
txtlb2.BackgroundTransparency = 1
817
txtlb2.TextStrokeColor3 = color2
818
txtlb2.TextScaled = true
819
txtlb2.Size = UDim2.new(1,0,1,0)
820
txtlb2.Position = UDim2.new(0,0,0,0)
821
local fvalen = 0.55
822
local fval = -0.49
823
824
coroutine.resume(coroutine.create(function()
825
while true do
826
swait()
827
if rainbowmode == true then
828
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
829
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
830
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
831
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
832
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
833
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
834
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
835
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
836
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
837
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
838
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
839
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
840
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
841
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
842
end
843
end
844
end))
845
coroutine.resume(coroutine.create(function()
846
while true do
847
swait()
848
if Error == true then
849
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
850
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
851
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
852
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
853
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
854
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
855
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
856
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
857
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
858
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
859
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
860
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
861
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
862
text = est[math.random(1,17)]
863
end
864
end
865
end))
866
coroutine.resume(coroutine.create(function()
867
while true do
868
swait()
869
if CRAZED == true then
870
txtlb2.Rotation = math.random(-1,1)
871
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
872
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
873
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
874
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
875
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
876
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
877
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
878
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
879
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
880
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
881
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
882
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
883
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
884
end
885
end
886
end))
887
coroutine.resume(coroutine.create(function()
888
while true do
889
swait()
890
if chaosmode == true then
891
txtlb2.Rotation = math.random(-1,1)
892
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
893
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
894
imlb.ImageColor3 = BrickColor.random().Color
895
txtlb2.TextStrokeColor3 = BrickColor.random().Color
896
end
897
end
898
end))
899
coroutine.resume(coroutine.create(function()
900
while true do
901
swait()
902
if scrg.Parent ~= nil then
903
	fvalen = fvalen - 0.0001
904
elseif scrg.Parent == nil then
905
break
906
end
907
end
908
end))
909
local flol = -5
910
local flil = 1.6
911
coroutine.resume(coroutine.create(function()
912
	for i = 0, 49 do
913
		swait()
914
		flol = flol + 0.125
915
		flil = flil - 0.1
916
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
917
		frm.Rotation = frm.Rotation - 0.25
918
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
919
		frm2.Rotation = frm.Rotation + 0.325
920
		imlb3.Rotation = imlb3.Rotation - 10
921
		imlb2.Rotation = imlb.Rotation + 7.5
922
		imlb.Rotation = imlb.Rotation + 5
923
		if Error == false then
924
		txtlb2.Rotation = txtlb2.Rotation - 5.125
925
		elseif Error == true then
926
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
927
		end
928
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
929
	end
930
	for i = 0, 99 do
931
		swait()
932
		fval = fval + 0.05
933
		flol = flol + 0.005
934
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
935
		frm.Rotation = frm.Rotation - 0.075
936
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
937
		frm2.Rotation = frm2.Rotation + 0.125
938
		imlb3.Rotation = imlb3.Rotation - 2
939
		imlb2.Rotation = imlb.Rotation + 1.5
940
		imlb.Rotation = imlb.Rotation + 1
941
		if Error == false then
942
		txtlb2.Rotation = txtlb2.Rotation - 1.125
943
		elseif Error == true then
944
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
945
		end
946
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
947
	end
948
local valinc = 0
949
local vinc2 = 1
950
for i = 0, 99 do
951
swait()
952
vinc2 = vinc2 + 0.25
953
valinc = valinc + 0.0001
954
flol = flol + valinc
955
flil = flil + valinc
956
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
957
imlb3.Rotation = imlb3.Rotation - 2*vinc2
958
imlb.Rotation = imlb.Rotation + 1*vinc2
959
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
960
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
961
frm.Rotation = frm.Rotation + 0.1*vinc2
962
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
963
frm2.Rotation = frm2.Rotation + 0.225*vinc2
964
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
965
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
966
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
967
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
968
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
969
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
970
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
971
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
972
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
973
end
974
scrg:Destroy()
975
end))
976
end))
977
end
978
end
979
end
980
981
function CameraEnshaking(Length,Intensity)
982
coroutine.resume(coroutine.create(function()
983
      local intensity = 1*Intensity
984
      local rotM = 0.01*Intensity
985
for i = 0, Length, 0.1 do
986
swait()
987
intensity = intensity - 0.05*Intensity/Length
988
rotM = rotM - 0.0005*Intensity/Length
989
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
990
      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)
991
end
992
Humanoid.CameraOffset = Vec3(0, 0, 0)
993
end))
994
end
995
CamShake=function(Part,Distan,Power,Times) 
996
local de=Part.Position
997
for i,v in pairs(workspace:children()) do
998
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
999
for _,c in pairs(v:children()) do
1000
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
1001
local Noob=v.Humanoid
1002
if Noob~=nil then
1003
coroutine.resume(coroutine.create(function()
1004
FV = Instance.new("BoolValue", Noob)
1005
FV.Name = "CameraShake"
1006
for ShakeNum=1,Times do
1007
swait()
1008
local ef=Power
1009
  if ef>=1 then
1010
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
1011
  else
1012
   ef=Power*10
1013
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
1014
  end	
1015
end
1016
Humanoid.CameraOffset = Vector3.new(0,0,0)
1017
FV:Destroy()
1018
end))
1019
CameraShake(Times, Power, Noob)
1020
end
1021
end
1022
end
1023
end
1024
end
1025
end
1026
1027
local toggleTag = true
1028
local bilguit = Instance.new("BillboardGui", hed)
1029
bilguit.Adornee = nil
1030
bilguit.Name = "ModeName"
1031
bilguit.Size = UDim2.new(4, 0, 1.2, 0)
1032
bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
1033
local modet = Instance.new("TextLabel", bilguit)
1034
modet.Size = UDim2.new(10/2, 0, 7/2, 0)
1035
modet.FontSize = "Size8"
1036
modet.TextScaled = true
1037
modet.TextTransparency = 0
1038
modet.BackgroundTransparency = 1 
1039
modet.TextTransparency = 0
1040
modet.TextStrokeTransparency = 0
1041
modet.Font = "Antique"
1042
modet.TextStrokeColor3 = Color3.new(1,0,0)
1043
modet.TextColor3 = Color3.new(0.25,0,0)
1044
modet.Text = "MAYHEM"
1045
1046
1047
function chatfunc(text,color,typet,font,timeex)
1048
local chat = coroutine.wrap(function()
1049
if Character:FindFirstChild("TalkingBillBoard")~= nil then
1050
Character:FindFirstChild("TalkingBillBoard"):destroy()
1051
end
1052
local naeeym2 = Instance.new("BillboardGui",Character)
1053
naeeym2.Size = UDim2.new(0,100,0,40)
1054
naeeym2.StudsOffset = Vector3.new(0,3,0)
1055
naeeym2.Adornee = Character.Head
1056
naeeym2.Name = "TalkingBillBoard"
1057
local tecks2 = Instance.new("TextLabel",naeeym2)
1058
tecks2.BackgroundTransparency = 1
1059
tecks2.BorderSizePixel = 0
1060
tecks2.Text = ""
1061
tecks2.Font = font
1062
tecks2.TextSize = 30
1063
tecks2.TextStrokeTransparency = 0
1064
tecks2.TextColor3 = color
1065
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
1066
tecks2.Size = UDim2.new(1,0,0.5,0)
1067
local tecks3 = Instance.new("TextLabel",naeeym2)
1068
tecks3.BackgroundTransparency = 1
1069
tecks3.BorderSizePixel = 0
1070
tecks3.Text = ""
1071
tecks3.Font = font
1072
tecks3.TextSize = 30
1073
tecks3.TextStrokeTransparency = 0
1074
if typet == "Inverted" then
1075
tecks3.TextColor3 = Color3.new(0,0,0)
1076
tecks3.TextStrokeColor3 = color
1077
elseif typet == "Normal" then
1078
tecks3.TextColor3 = color
1079
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
1080
end
1081
tecks3.Size = UDim2.new(1,0,0.5,0)
1082
coroutine.resume(coroutine.create(function()
1083
while true do
1084
swait(1)
1085
if chaosmode == true then
1086
tecks2.TextColor3 = BrickColor.random().Color
1087
tecks3.TextStrokeColor3 = BrickColor.random().Color
1088
end
1089
end
1090
end))
1091
modet.TextTransparency = modet.TextTransparency  + 1
1092
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
1093
for i = 0, 74*timeex do
1094
swait()
1095
modet.TextTransparency = 1
1096
modet.TextStrokeTransparency = 1
1097
tecks2.Text = text
1098
tecks3.Text = text
1099
end
1100
local randomrot = math.random(1,2)
1101
if randomrot == 1 then
1102
for i = 1, 50 do
1103
swait()
1104
tecks2.Text = text
1105
tecks3.Text = text
1106
modet.TextTransparency = modet.TextTransparency - .02
1107
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
1108
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1109
tecks2.TextTransparency = tecks2.TextTransparency + .04
1110
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1111
tecks3.TextTransparency = tecks2.TextTransparency + .04
1112
end
1113
elseif randomrot == 2 then
1114
	for i = 1, 50 do
1115
swait()
1116
tecks2.Text = text
1117
tecks3.Text = text
1118
modet.TextTransparency = modet.TextTransparency - .02
1119
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
1120
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1121
tecks2.TextTransparency = tecks2.TextTransparency + .04
1122
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1123
tecks3.TextTransparency = tecks2.TextTransparency + .04
1124
end
1125
end
1126
modet.TextTransparency = 0
1127
modet.TextStrokeTransparency = 0
1128
if toggleTag == false then
1129
modet.TextTransparency = 1
1130
modet.TextStrokeTransparency = 1
1131
end
1132
naeeym2:Destroy()
1133
end)
1134
chat()
1135
end
1136
1137
function BigBlack(text,color,watval)
1138
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1139
coroutine.resume(coroutine.create(function()
1140
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1141
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1142
end
1143
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1144
scrg.Name = "Dialog"
1145
local txtlb = Instance.new("TextLabel",scrg)
1146
txtlb.Text = ""
1147
txtlb.Font = "Bodoni"
1148
txtlb.TextColor3 = Color3.new(0,0,0)
1149
txtlb.TextStrokeTransparency = 1
1150
txtlb.BackgroundTransparency = 1
1151
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1152
txtlb.TextStrokeColor3 = color
1153
txtlb.TextScaled = true
1154
txtlb.Size = UDim2.new(1,0,1,0)
1155
txtlb.TextXAlignment = "Center"
1156
txtlb.Position = UDim2.new(0,0,6.75 + 1,0)
1157
local txtlb2 = Instance.new("TextLabel",scrg)
1158
txtlb2.Text = "Micheal The Star Glitchers Murder:"
1159
txtlb2.Font = "Arcade"
1160
txtlb2.TextColor3 = Color3.new(0,0,0)
1161
txtlb2.TextStrokeTransparency = 0
1162
txtlb2.BackgroundTransparency = 1
1163
txtlb2.TextStrokeColor3 = color
1164
txtlb2.TextSize = 40
1165
txtlb2.Size = UDim2.new(1,0,0.25,0)
1166
txtlb2.TextXAlignment = "Left"
1167
txtlb2.Position = UDim2.new(0,0,1,0)
1168
local fvalen = 0.55
1169
local fval = -0.49
1170
coroutine.resume(coroutine.create(function()
1171
while true do
1172
Swait()
1173
if MODE == "Sanity" then
1174
txtlb.Rotation = math.random(-1,1)
1175
txtlb2.Rotation = math.random(-1,1)
1176
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1177
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1178
txtlb.TextStrokeColor3 = BrickColor.random().Color
1179
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1180
end
1181
end
1182
end))
1183
coroutine.resume(coroutine.create(function()
1184
while true do
1185
Swait()
1186
if scrg.Parent ~= nil then
1187
    fvalen = fvalen - 0.0001
1188
elseif scrg.Parent == nil then
1189
break
1190
end
1191
end
1192
end))
1193
local flol = 1.05
1194
local flil = 0.75
1195
local flil2 = -0.2
1196
    coroutine.resume(coroutine.create(function()
1197
    for i = 1,string.len(text),1 do
1198
        wait()
1199
        text.Text = string.sub(text,1,i)
1200
    end
1201
    end))
1202
coroutine.resume(coroutine.create(function()
1203
    for i = 0, 1 do
1204
        fval = fval + 0.05
1205
        flol = flol - 0.1
1206
        flil2 = flil2 + 0.1
1207
        txtlb.Text = ""
1208
        txtlb.Position = UDim2.new(flil2,0,0,0)
1209
        txtlb.BackgroundTransparency = 1 - 0.1
1210
        txtlb2.Position = UDim2.new(flil2,0,0,0)
1211
    end
1212
   
1213
        for i = 0, 99 do
1214
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency - 0.01
1215
txtlb.TextTransparency = txtlb.TextTransparency - 0.01
1216
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency - 0.01
1217
txtlb2.TextTransparency = txtlb2.TextTransparency - 0.01
1218
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency - 0.0025
1219
    end
1220
   
1221
    txtlb.Text = text
1222
wait(watval)
1223
local valinc = 0
1224
for i = 0, 99 do
1225
Swait()
1226
valinc = valinc + 0.0002
1227
flol = flol + valinc
1228
flil2 = flil2 + valinc
1229
txtlb.Rotation = txtlb.Rotation + valinc*15
1230
txtlb2.Rotation = txtlb2.Rotation - valinc*15
1231
txtlb.Position = UDim2.new(flil2,0,0,0)
1232
txtlb2.Position = UDim2.new(flil2,0,0,0)
1233
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1234
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1235
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1236
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1237
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1238
end
1239
scrg:Destroy()
1240
end))
1241
end))
1242
end
1243
end
1244
1245
1246
function bosschatfunc(text,color,watval)
1247
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1248
coroutine.resume(coroutine.create(function()
1249
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1250
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1251
end
1252
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1253
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
1254
scrg.Name = "Dialog"
1255
local txtlb = Instance.new("TextLabel",scrg)
1256
txtlb.Text = ""
1257
txtlb.Font = "Bodoni"
1258
txtlb.TextColor3 = Color3.new(0,0,0)
1259
txtlb.TextStrokeTransparency = 0
1260
txtlb.BackgroundTransparency = 0.75
1261
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1262
txtlb.TextStrokeColor3 = color
1263
txtlb.TextScaled = true
1264
txtlb.Size = UDim2.new(1,0,0.25,0)
1265
txtlb.TextXAlignment = "Left"
1266
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
1267
local txtlb2 = Instance.new("TextLabel",scrg)
1268
txtlb2.Text = "Micheal The Star Glitcher:"
1269
txtlb2.Font = "Arcade"
1270
txtlb2.TextColor3 = Color3.new(0,0,0)
1271
txtlb2.TextStrokeTransparency = 0
1272
txtlb2.BackgroundTransparency = 1
1273
txtlb2.TextStrokeColor3 = color
1274
txtlb2.TextSize = 40
1275
txtlb2.Size = UDim2.new(1,0,0.25,0)
1276
txtlb2.TextXAlignment = "Left"
1277
txtlb2.Position = UDim2.new(0,0,1,0)
1278
local fvalen = 0.55
1279
local fval = -0.49
1280
coroutine.resume(coroutine.create(function()
1281
while true do
1282
swait()
1283
if chaosmode == true then
1284
txtlb.Rotation = math.random(-1,1)
1285
txtlb2.Rotation = math.random(-1,1)
1286
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1287
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1288
txtlb.TextStrokeColor3 = BrickColor.random().Color
1289
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1290
end
1291
end
1292
end))
1293
coroutine.resume(coroutine.create(function()
1294
while true do
1295
swait()
1296
if scrg.Parent ~= nil then
1297
    fvalen = fvalen - 0.0001
1298
elseif scrg.Parent == nil then
1299
break
1300
end
1301
end
1302
end))
1303
local flol = 1.75
1304
local flil = 1.6
1305
coroutine.resume(coroutine.create(function()
1306
    for i = 0, 9 do
1307
        swait()
1308
        fval = fval + 0.05
1309
        flol = flol - 0.1
1310
        flil = flil - 0.1
1311
        txtlb.Text = ""
1312
        txtlb.Position = UDim2.new(0,0,flol,0)
1313
        txtlb2.Position = UDim2.new(0,0,flil,0)
1314
    end
1315
    txtlb.Text = text
1316
wait(watval)
1317
local valinc = 0
1318
for i = 0, 99 do
1319
swait()
1320
valinc = valinc + 0.0001
1321
flol = flol + valinc
1322
flil = flil + valinc
1323
txtlb.Rotation = txtlb.Rotation + valinc*20
1324
txtlb2.Rotation = txtlb2.Rotation - valinc*50
1325
txtlb.Position = UDim2.new(0,0,flol,0)
1326
txtlb2.Position = UDim2.new(0,0,flil,0)
1327
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1328
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1329
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1330
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1331
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1332
end
1333
scrg:Destroy()
1334
end))
1335
end))
1336
end
1337
end
1338
1339
function bosschatfunc2(text,color,watval)
1340
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1341
coroutine.resume(coroutine.create(function()
1342
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1343
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1344
end
1345
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1346
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
1347
scrg.Name = "Dialog"
1348
local txtlb = Instance.new("TextLabel",scrg)
1349
txtlb.Text = ""
1350
txtlb.Font = "Bodoni"
1351
txtlb.TextColor3 = Color3.new(0,0,0)
1352
txtlb.TextStrokeTransparency = 0
1353
txtlb.BackgroundTransparency = 0.75
1354
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1355
txtlb.TextStrokeColor3 = color
1356
txtlb.TextScaled = true
1357
txtlb.Size = UDim2.new(1,0,0.25,0)
1358
txtlb.TextXAlignment = "Left"
1359
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
1360
local txtlb2 = Instance.new("TextLabel",scrg)
1361
txtlb2.Text = "JUST AGAIN RANDOM MICHEAL FAN GIRL:"
1362
txtlb2.Font = "Arcade"
1363
txtlb2.TextColor3 = Color3.new(0,0,0)
1364
txtlb2.TextStrokeTransparency = 0
1365
txtlb2.BackgroundTransparency = 1
1366
txtlb2.TextStrokeColor3 = color
1367
txtlb2.TextSize = 40
1368
txtlb2.Size = UDim2.new(1,0,0.25,0)
1369
txtlb2.TextXAlignment = "Left"
1370
txtlb2.Position = UDim2.new(0,0,1,0)
1371
local fvalen = 0.55
1372
local fval = -0.49
1373
coroutine.resume(coroutine.create(function()
1374
while true do
1375
swait()
1376
if chaosmode == true then
1377
txtlb.Rotation = math.random(-1,1)
1378
txtlb2.Rotation = math.random(-1,1)
1379
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1380
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1381
txtlb.TextStrokeColor3 = BrickColor.random().Color
1382
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1383
end
1384
end
1385
end))
1386
coroutine.resume(coroutine.create(function()
1387
while true do
1388
swait()
1389
if scrg.Parent ~= nil then
1390
    fvalen = fvalen - 0.0001
1391
elseif scrg.Parent == nil then
1392
break
1393
end
1394
end
1395
end))
1396
local flol = 1.75
1397
local flil = 1.6
1398
coroutine.resume(coroutine.create(function()
1399
    for i = 0, 9 do
1400
        swait()
1401
        fval = fval + 0.05
1402
        flol = flol - 0.1
1403
        flil = flil - 0.1
1404
        txtlb.Text = ""
1405
        txtlb.Position = UDim2.new(0,0,flol,0)
1406
        txtlb2.Position = UDim2.new(0,0,flil,0)
1407
    end
1408
    txtlb.Text = text
1409
wait(watval)
1410
local valinc = 0
1411
for i = 0, 99 do
1412
swait()
1413
valinc = valinc + 0.0001
1414
flol = flol + valinc
1415
flil = flil + valinc
1416
txtlb.Rotation = txtlb.Rotation + valinc*20
1417
txtlb2.Rotation = txtlb2.Rotation - valinc*50
1418
txtlb.Position = UDim2.new(0,0,flol,0)
1419
txtlb2.Position = UDim2.new(0,0,flil,0)
1420
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1421
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1422
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1423
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1424
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1425
end
1426
scrg:Destroy()
1427
end))
1428
end))
1429
end
1430
end
1431
1432
local Create = LoadLibrary("RbxUtility").Create
1433
1434
CFuncs = {	
1435
	["Part"] = {
1436
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1437
			local Part = Create("Part"){
1438
				Parent = Parent,
1439
				Reflectance = Reflectance,
1440
				Transparency = Transparency,
1441
				CanCollide = false,
1442
				Locked = true,
1443
				BrickColor = BrickColor.new(tostring(BColor)),
1444
				Name = Name,
1445
				Size = Size,
1446
				Material = Material,
1447
			}
1448
			RemoveOutlines(Part)
1449
			return Part
1450
		end;
1451
	};
1452
	
1453
	["Mesh"] = {
1454
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1455
			local Msh = Create(Mesh){
1456
				Parent = Part,
1457
				Offset = OffSet,
1458
				Scale = Scale,
1459
			}
1460
			if Mesh == "SpecialMesh" then
1461
				Msh.MeshType = MeshType
1462
				Msh.MeshId = MeshId
1463
			end
1464
			return Msh
1465
		end;
1466
	};
1467
	
1468
	["Mesh"] = {
1469
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1470
			local Msh = Create(Mesh){
1471
				Parent = Part,
1472
				Offset = OffSet,
1473
				Scale = Scale,
1474
			}
1475
			if Mesh == "SpecialMesh" then
1476
				Msh.MeshType = MeshType
1477
				Msh.MeshId = MeshId
1478
			end
1479
			return Msh
1480
		end;
1481
	};
1482
	
1483
	["Weld"] = {
1484
		Create = function(Parent, Part0, Part1, C0, C1)
1485
			local Weld = Create("Weld"){
1486
				Parent = Parent,
1487
				Part0 = Part0,
1488
				Part1 = Part1,
1489
				C0 = C0,
1490
				C1 = C1,
1491
			}
1492
			return Weld
1493
		end;
1494
	};
1495
1496
	["Sound"] = {
1497
		Create = function(id, par, vol, pit) 
1498
			coroutine.resume(coroutine.create(function()
1499
				local S = Create("Sound"){
1500
					Volume = vol,
1501
                                        Name = "EffectSoundo",
1502
					Pitch = pit or 1,
1503
					SoundId = id,
1504
					Parent = par or workspace,
1505
				}
1506
				wait() 
1507
				S:play() 
1508
				game:GetService("Debris"):AddItem(S, 10)
1509
			end))
1510
		end;
1511
	};
1512
1513
	["TimeSound"] = {
1514
		Create = function(id, par, vol, pit, timepos) 
1515
			coroutine.resume(coroutine.create(function()
1516
				local S = Create("Sound"){
1517
					Volume = vol,
1518
                                        Name = "EffectSoundo",
1519
					Pitch = pit or 1,
1520
					SoundId = id,
1521
                                        TimePosition = timepos,
1522
					Parent = par or workspace,
1523
				}
1524
				wait() 
1525
				S:play() 
1526
				game:GetService("Debris"):AddItem(S, 10)
1527
			end))
1528
		end;
1529
	};
1530
		["EchoSound"] = {
1531
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
1532
			coroutine.resume(coroutine.create(function()
1533
				local Sas = Create("Sound"){
1534
					Volume = vol,
1535
                    Name = "EffectSoundo",
1536
					Pitch = pit or 1,
1537
					SoundId = id,
1538
                    TimePosition = timepos,
1539
					Parent = par or workspace,
1540
				}
1541
				local E = Create("EchoSoundEffect"){
1542
					Delay = echodelay,
1543
                    Name = "Echo",
1544
					Feedback = fedb,
1545
                    DryLevel = dryl,
1546
					Parent = Sas,
1547
				}
1548
				wait() 
1549
				Sas:play() 
1550
				game:GetService("Debris"):AddItem(Sas, delays)
1551
			end))
1552
		end;
1553
	};
1554
1555
["LongSound"] = {
1556
		Create = function(id, par, vol, pit) 
1557
			coroutine.resume(coroutine.create(function()
1558
				local S = Create("Sound"){
1559
					Volume = vol,
1560
					Pitch = pit or 1,
1561
					SoundId = id,
1562
					Parent = par or workspace,
1563
				}
1564
				wait() 
1565
				S:play() 
1566
				game:GetService("Debris"):AddItem(S, 60)
1567
			end))
1568
		end;
1569
	};
1570
	
1571
	["ParticleEmitter"] = {
1572
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1573
			local fp = Create("ParticleEmitter"){
1574
				Parent = Parent,
1575
				Color = ColorSequence.new(Color1, Color2),
1576
				LightEmission = LightEmission,
1577
				Size = Size,
1578
				Texture = Texture,
1579
				Transparency = Transparency,
1580
				ZOffset = ZOffset,
1581
				Acceleration = Accel,
1582
				Drag = Drag,
1583
				LockedToPart = LockedToPart,
1584
				VelocityInheritance = VelocityInheritance,
1585
				EmissionDirection = EmissionDirection,
1586
				Enabled = Enabled,
1587
				Lifetime = LifeTime,
1588
				Rate = Rate,
1589
				Rotation = Rotation,
1590
				RotSpeed = RotSpeed,
1591
				Speed = Speed,
1592
				VelocitySpread = VelocitySpread,
1593
			}
1594
			return fp
1595
		end;
1596
	};
1597
1598
	CreateTemplate = {
1599
	
1600
	};
1601
}
1602
1603
1604
1605
New = function(Object, Parent, Name, Data)
1606
	local Object = Instance.new(Object)
1607
	for Index, Value in pairs(Data or {}) do
1608
		Object[Index] = Value
1609
	end
1610
	Object.Parent = Parent
1611
	Object.Name = Name
1612
	return Object
1613
end
1614
local halocolor = BrickColor.new("Pastel light blue")
1615
local halocolor2 = BrickColor.new("Cool yellow")
1616
local starcolor = BrickColor.new("Bright yellow")
1617
local lunacolor = BrickColor.new("Navy blue")
1618
local lunacolor2 = BrickColor.new("Bright blue")
1619
local wepcolor = BrickColor.new("Really black")
1620
local maincolor = BrickColor.new("Really black")
1621
local m = Instance.new("Model",char)
1622
local m2 = Instance.new("Model",char)
1623
local m3 = Instance.new("Model",char)
1624
local mw1 = Instance.new("Model",char)
1625
local mw2 = Instance.new("Model",char)
1626
1627
1628
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
1629
  local gui = it(GuiType)
1630
  gui.Parent = parent
1631
  gui.Text = text
1632
  gui.BackgroundTransparency = backtrans
1633
  gui.BackgroundColor3 = backcol
1634
  gui.SizeConstraint = "RelativeXY"
1635
  gui.TextXAlignment = "Center"
1636
  gui.TextYAlignment = "Center"
1637
  gui.Position = pos
1638
  gui.Size = size
1639
  gui.Font = "SourceSans"
1640
  gui.FontSize = "Size14"
1641
  gui.TextWrapped = false
1642
  gui.TextStrokeTransparency = 0
1643
  gui.TextColor = BrickColor.new("White")
1644
  return gui
1645
end
1646
--------------------------- GUI STUFF
1647
local basgui = it("GuiMain")
1648
basgui.Parent = plr.PlayerGui
1649
basgui.Name = "VISgui"
1650
local fullscreenz = it("Frame")
1651
fullscreenz.Parent = basgui
1652
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
1653
fullscreenz.BackgroundTransparency = 1
1654
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
1655
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
1656
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
1657
local imgl2 = Instance.new("ImageLabel",fullscreenz)
1658
imgl2.BackgroundTransparency = 1
1659
imgl2.BorderSizePixel = 0
1660
imgl2.ImageTransparency = 0.5
1661
imgl2.Position = UDim2.new(0.70,-200,0.50,-200)
1662
imgl2.Size = UDim2.new(0,1000,0,1000)
1663
imgl2.Image = "rbxassetid://2344830904"
1664
local techc = imgl2:Clone()
1665
techc.Parent = fullscreenz
1666
techc.ImageTransparency = 0
1667
techc.Size = UDim2.new(0,900,0,900)
1668
techc.Position = UDim2.new(0.70,-150,0.50,-150)
1669
techc.Image = "rbxassetid://2092248396"
1670
local circl = imgl2:Clone()
1671
circl.Parent = fullscreenz
1672
circl.ImageTransparency = 0
1673
circl.Size = UDim2.new(0,550,0,550)
1674
circl.Position = UDim2.new(0.70,25,0.50,25)
1675
circl.Image = "rbxassetid://2312119891"
1676
local circl2 = imgl2:Clone()
1677
circl2.Parent = fullscreenz
1678
circl2.ImageTransparency = 0
1679
circl2.Size = UDim2.new(0,700,0,700)
1680
circl2.Position = UDim2.new(0.70,-50,0.50,-50)
1681
circl2.Image = "rbxassetid://2312119891"
1682
local imgl2b = imgl2:Clone()
1683
imgl2b.Parent = fullscreenz
1684
imgl2b.ImageTransparency = 0
1685
imgl2b.Size = UDim2.new(0,800,0,800)
1686
imgl2b.Position = UDim2.new(0.70,-100,0.50,-100)
1687
imgl2b.ImageColor3 = Color3.new(0,0,0)
1688
local ned = Instance.new("TextLabel",fullscreenz)
1689
ned.ZIndex = 2
1690
ned.Font = "Bodoni"
1691
ned.BackgroundTransparency = 1
1692
ned.BorderSizePixel = 0.65
1693
ned.Size = UDim2.new(0.6,0,0.6,0)
1694
ned.Position = UDim2.new(0,0,0,0)
1695
ned.TextScaled = true
1696
ned.TextStrokeTransparency = 0
1697
ned.Text = "Edit by micheal2358"
1698
ned.TextSize = 48
1699
ned.Rotation = 1
1700
ned.TextXAlignment = "Left"
1701
ned.TextYAlignment = "Top"
1702
1703
local extrawingmod1 = Instance.new("Model",char)
1704
local extrawingmod2 = Instance.new("Model",char)
1705
1706
function CreateParta(parent,transparency,reflectance,material,brickcolor)
1707
local p = Instance.new("Part")
1708
p.TopSurface = 0
1709
p.BottomSurface = 0
1710
p.Parent = parent
1711
p.Size = Vector3.new(0.1,0.1,0.1)
1712
p.Transparency = transparency
1713
p.Reflectance = reflectance
1714
p.CanCollide = false
1715
p.Locked = true
1716
p.BrickColor = brickcolor
1717
p.Material = material
1718
return p
1719
end
1720
1721
function CreateMesh(parent,meshtype,x1,y1,z1)
1722
local mesh = Instance.new("SpecialMesh",parent)
1723
mesh.MeshType = meshtype
1724
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
1725
return mesh
1726
end
1727
1728
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
1729
local mesh = Instance.new("SpecialMesh",parent)
1730
mesh.MeshType = "FileMesh"
1731
mesh.MeshId = meshid
1732
mesh.Scale = Vector3.new(x1,y1,z1)
1733
return mesh
1734
end
1735
1736
1737
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
1738
local mesh = Instance.new("SpecialMesh",parent)
1739
mesh.MeshType = "FileMesh"
1740
mesh.MeshId = meshid
1741
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
1742
mesh.Scale = Vector3.new(x1,y1,z1)
1743
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
1744
return mesh
1745
end
1746
1747
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
1748
local weld = Instance.new("Weld")
1749
weld.Parent = parent
1750
weld.Part0 = part0
1751
weld.Part1 = part1
1752
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
1753
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
1754
return weld
1755
end
1756
1757
--------------
1758
--------------
1759
--------------
1760
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1761
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))
1762
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1763
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))
1764
1765
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1766
CreateMesh(handle,"Brick",0,0,0)
1767
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))
1768
local valuaring = 10
1769
for i = 0, 49 do
1770
	valuaring = valuaring + 10
1771
rn = CreateParta(mw2,0,0,"Neon",halocolor)
1772
CreateMesh(rn,"Brick",0.25,0.1,0.1)
1773
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))
1774
end
1775
1776
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1777
CreateMesh(handle,"Brick",0,0,0)
1778
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))
1779
local valuaring = 10
1780
for i = 0, 49 do
1781
	valuaring = valuaring + 10
1782
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1783
CreateMesh(rn,"Brick",0.5,0.2,0.2)
1784
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))
1785
end
1786
1787
1788
local handle = CreateParta(m,1,1,"Neon",maincolor)
1789
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1790
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))
1791
1792
--- Left wing.
1793
1794
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
1795
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1796
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))
1797
1798
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1799
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1800
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))
1801
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1802
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1803
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))
1804
A0 = Instance.new('Attachment',wed)
1805
A0.Position = vt(0,0.25,0.25)
1806
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1807
CreateMesh(wed,"Wedge",0.05,0.5,3)
1808
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))
1809
A1 = Instance.new('Attachment',wed)
1810
A1.Position = vt(0,-0.25,-2)
1811
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1812
CreateMesh(wed,"Wedge",0.05,3,0.5)
1813
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))
1814
1815
tl1 = Instance.new('Trail',wed)
1816
tl1.Attachment0 = A1
1817
tl1.Attachment1 = A0
1818
tl1.Texture = "rbxassetid://2108945559"
1819
tl1.LightEmission = 1
1820
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1821
tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1822
tl1.Lifetime = 0.6
1823
1824
1825
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
1826
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1827
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))
1828
1829
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1830
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1831
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))
1832
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1833
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1834
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))
1835
A0 = Instance.new('Attachment',wed)
1836
A0.Position = vt(0,0.25,0.25)
1837
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1838
CreateMesh(wed,"Wedge",0.05,0.5,3)
1839
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))
1840
A1 = Instance.new('Attachment',wed)
1841
A1.Position = vt(0,-0.25,-2)
1842
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1843
CreateMesh(wed,"Wedge",0.05,3,0.5)
1844
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))
1845
1846
tl2 = Instance.new('Trail',wed)
1847
tl2.Attachment0 = A1
1848
tl2.Attachment1 = A0
1849
tl2.Texture = "rbxassetid://2108945559"
1850
tl2.LightEmission = 1
1851
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1852
tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1853
tl2.Lifetime = 0.6
1854
1855
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
1856
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1857
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))
1858
1859
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1860
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1861
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))
1862
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1863
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1864
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))
1865
A0 = Instance.new('Attachment',wed)
1866
A0.Position = vt(0,0.25,0.25)
1867
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1868
CreateMesh(wed,"Wedge",0.05,0.5,3)
1869
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))
1870
A1 = Instance.new('Attachment',wed)
1871
A1.Position = vt(0,-0.25,-2)
1872
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1873
CreateMesh(wed,"Wedge",0.05,3,0.5)
1874
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))
1875
1876
tl3 = Instance.new('Trail',wed)
1877
tl3.Attachment0 = A1
1878
tl3.Attachment1 = A0
1879
tl3.Texture = "rbxassetid://2108945559"
1880
tl3.LightEmission = 1
1881
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1882
tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1883
tl3.Lifetime = 0.6
1884
1885
tl1.Enabled = false
1886
tl2.Enabled = false
1887
tl3.Enabled = false
1888
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
1889
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1890
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))
1891
1892
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1893
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1894
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))
1895
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1896
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1897
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))
1898
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1899
CreateMesh(wed,"Wedge",0.05,0.5,3)
1900
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))
1901
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1902
CreateMesh(wed,"Wedge",0.05,3,0.5)
1903
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))
1904
1905
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
1906
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1907
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))
1908
1909
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1910
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1911
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))
1912
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1913
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1914
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))
1915
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1916
CreateMesh(wed,"Wedge",0.05,0.5,3)
1917
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))
1918
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1919
CreateMesh(wed,"Wedge",0.05,3,0.5)
1920
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))
1921
1922
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
1923
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1924
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))
1925
1926
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1927
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1928
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))
1929
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1930
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1931
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))
1932
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1933
CreateMesh(wed,"Wedge",0.05,0.5,3)
1934
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))
1935
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1936
CreateMesh(wed,"Wedge",0.05,3,0.5)
1937
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))
1938
1939
-- Right wing.
1940
1941
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
1942
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1943
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))
1944
1945
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1946
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1947
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))
1948
A0 = Instance.new('Attachment',wed)
1949
A0.Position = vt(0,0.25,0.25)
1950
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1951
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1952
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))
1953
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1954
CreateMesh(wed,"Wedge",0.05,0.5,3)
1955
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))
1956
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1957
CreateMesh(wed,"Wedge",0.05,3,0.5)
1958
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))
1959
A1 = Instance.new('Attachment',wed)
1960
A1.Position = vt(0,2,0.25)
1961
1962
tr1 = Instance.new('Trail',wed)
1963
tr1.Attachment0 = A1
1964
tr1.Attachment1 = A0
1965
tr1.Texture = "rbxassetid://2108945559"
1966
tr1.LightEmission = 1
1967
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1968
tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1969
tr1.Lifetime = 0.6
1970
1971
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
1972
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1973
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))
1974
1975
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1976
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1977
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))
1978
A0 = Instance.new('Attachment',wed)
1979
A0.Position = vt(0,0.25,0.25)
1980
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1981
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1982
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))
1983
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1984
CreateMesh(wed,"Wedge",0.05,0.5,3)
1985
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))
1986
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1987
CreateMesh(wed,"Wedge",0.05,3,0.5)
1988
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))
1989
A1 = Instance.new('Attachment',wed)
1990
A1.Position = vt(0,2,0.25)
1991
1992
tr2 = Instance.new('Trail',wed)
1993
tr2.Attachment0 = A1
1994
tr2.Attachment1 = A0
1995
tr2.Texture = "rbxassetid://2108945559"
1996
tr2.LightEmission = 1
1997
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1998
tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1999
tr2.Lifetime = 0.6
2000
2001
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
2002
CreateMesh(handle,"Brick",0.5,0.5,0.5)
2003
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))
2004
2005
wed = CreateParta(mw2,0,0,"Neon",halocolor)
2006
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2007
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))
2008
A0 = Instance.new('Attachment',wed)
2009
A0.Position = vt(0,0.25,0.25)
2010
wed = CreateParta(mw2,0,0,"Neon",halocolor)
2011
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2012
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))
2013
wed = CreateParta(mw2,0,0,"Neon",halocolor)
2014
CreateMesh(wed,"Wedge",0.05,0.5,3)
2015
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))
2016
wed = CreateParta(mw2,0,0,"Neon",halocolor)
2017
CreateMesh(wed,"Wedge",0.05,3,0.5)
2018
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))
2019
A1 = Instance.new('Attachment',wed)
2020
A1.Position = vt(0,2,0.25)
2021
2022
tr3 = Instance.new('Trail',wed)
2023
tr3.Attachment0 = A1
2024
tr3.Attachment1 = A0
2025
tr3.Texture = "rbxassetid://2108945559"
2026
tr3.LightEmission = 1
2027
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
2028
tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
2029
tr3.Lifetime = 0.6
2030
2031
2032
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
2033
CreateMesh(handle,"Brick",0.5,0.5,0.5)
2034
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))
2035
2036
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2037
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2038
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))
2039
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2040
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2041
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))
2042
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2043
CreateMesh(wed,"Wedge",0.05,0.5,3)
2044
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))
2045
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2046
CreateMesh(wed,"Wedge",0.05,3,0.5)
2047
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))
2048
2049
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
2050
CreateMesh(handle,"Brick",0.5,0.5,0.5)
2051
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))
2052
2053
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2054
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2055
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))
2056
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2057
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2058
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))
2059
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2060
CreateMesh(wed,"Wedge",0.05,0.5,3)
2061
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))
2062
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2063
CreateMesh(wed,"Wedge",0.05,3,0.5)
2064
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))
2065
2066
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
2067
CreateMesh(handle,"Brick",0.5,0.5,0.5)
2068
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))
2069
2070
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2071
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2072
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))
2073
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2074
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
2075
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))
2076
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2077
CreateMesh(wed,"Wedge",0.05,0.5,3)
2078
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))
2079
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
2080
CreateMesh(wed,"Wedge",0.05,3,0.5)
2081
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))
2082
2083
---- HERES THE RING
2084
2085
2086
ran = CreateParta(m2,0,0,"Glass",wepcolor)
2087
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
2088
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))
2089
ran = CreateParta(m,0,0,"Glass",wepcolor)
2090
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
2091
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))
2092
ran = CreateParta(m,0,0,"Glass",wepcolor)
2093
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
2094
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))
2095
2096
2097
gan = CreateParta(m,0,0,"Glass",wepcolor)
2098
CreateMesh(gan,"Brick",1.075,0.1,1.075)
2099
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))
2100
2101
gan = CreateParta(m,0,0,"Glass",wepcolor)
2102
CreateMesh(gan,"Brick",1.075,0.1,1.075)
2103
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))
2104
2105
2106
2107
gan = CreateParta(m2,0,0,"Neon",halocolor2)
2108
CreateMesh(gan,"Brick",1.095,0.035,1.095)
2109
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))
2110
2111
gan = CreateParta(m2,0,0,"Neon",halocolor2)
2112
CreateMesh(gan,"Brick",1.095,0.035,1.095)
2113
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))
2114
2115
gane = CreateParta(m3,0,0,"Glass",lunacolor2)
2116
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
2117
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))
2118
2119
star = CreateParta(m,0,0,"Glass",wepcolor)
2120
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
2121
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))
2122
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
2123
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
2124
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))
2125
--- second ring
2126
2127
ran = CreateParta(m2,0,0,"Granite",wepcolor)
2128
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
2129
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))
2130
ran = CreateParta(m,0,0,"Granite",wepcolor)
2131
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
2132
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))
2133
ran = CreateParta(m,0,0,"Granite",wepcolor)
2134
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
2135
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))
2136
2137
gan = CreateParta(m,0,0,"Granite",wepcolor)
2138
CreateMesh(gan,"Brick",1.075,0.1,1.075)
2139
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))
2140
2141
gan = CreateParta(m,0,0,"Granite",wepcolor)
2142
CreateMesh(gan,"Brick",1.075,0.1,1.075)
2143
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))
2144
2145
2146
2147
gan = CreateParta(m2,0,0,"Neon",halocolor2)
2148
CreateMesh(gan,"Brick",1.095,0.035,1.095)
2149
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))
2150
2151
gan = CreateParta(m2,0,0,"Neon",halocolor2)
2152
CreateMesh(gan,"Brick",1.095,0.035,1.095)
2153
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))
2154
2155
gane = CreateParta(m3,0,0,"Granite",lunacolor2)
2156
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
2157
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))
2158
2159
star = CreateParta(m,0,0,"Granite",wepcolor)
2160
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
2161
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))
2162
starl = CreateParta(m3,0,0,"Granite",starcolor)
2163
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
2164
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))
2165
2166
2167
2168
for i, v in pairs(m:GetChildren()) do
2169
if v:IsA("Part") then
2170
v.BrickColor = BrickColor.new("Really black")
2171
v.Material = "Glass"
2172
end
2173
end
2174
for i, v in pairs(m2:GetChildren()) do
2175
if v:IsA("Part") then
2176
v.BrickColor = BrickColor.new("Crimson")
2177
v.Material = "Granite"
2178
end
2179
end
2180
for i, v in pairs(m3:GetChildren()) do
2181
if v:IsA("Part") then
2182
v.BrickColor = BrickColor.new("Really red")
2183
v.Material = "Neon"
2184
end
2185
end
2186
for i, v in pairs(mw2:GetChildren()) do
2187
if v:IsA("Part") then
2188
v.BrickColor = BrickColor.new("Really red")
2189
v.Material = "Neon"
2190
end
2191
end
2192
for i, v in pairs(mw1:GetChildren()) do
2193
if v:IsA("Part") then
2194
v.Transparency = 0
2195
v.BrickColor = BrickColor.new("Really blue")
2196
v.Material = "Neon"
2197
end
2198
end
2199
for i, v in pairs(extrawingmod1:GetChildren()) do
2200
if v:IsA("Part") then
2201
v.Transparency = 0.8
2202
v.BrickColor = BrickColor.new("Toothpaste")
2203
v.Material = "Neon"
2204
end
2205
end
2206
for i, v in pairs(extrawingmod2:GetChildren()) do
2207
if v:IsA("Part") then
2208
v.Transparency = 0.8
2209
v.BrickColor = BrickColor.new("Really blue")
2210
v.Material = "Neon"
2211
end
2212
end
2213
local MAINRUINCOLOR = BrickColor.new("Navy blue")
2214
2215
--clothes
2216
local Hair = Instance.new("Part", char)
2217
Hair.Name = "Hair"
2218
Hair.CanCollide = false
2219
Hair.BrickColor = BrickColor.new("Institutional white")
2220
Hair.Transparency = 0
2221
Hair.Material = "Plastic"
2222
Hair.Size = Vector3.new(1, 1, 2)
2223
Hair.TopSurface = Enum.SurfaceType.Smooth
2224
Hair.BottomSurface = Enum.SurfaceType.Smooth
2225
 
2226
local Weld = Instance.new("Weld", Hair)
2227
Weld.Part0 = hed
2228
Weld.Part1 = Hair
2229
Weld.C1 = CFrame.new(0, -.6, 0)
2230
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
2231
 
2232
local M2 = Instance.new("SpecialMesh")
2233
M2.Parent = Hair
2234
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
2235
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
2236
M2.Scale = Vector3.new(1, 1, 1)
2237
2238
for i,v in pairs(char:children()) do
2239
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
2240
v:Remove()
2241
end
2242
end
2243
shirt = Instance.new("Shirt", Character)
2244
shirt.Name = "Shirt"
2245
pants = Instance.new("Pants", Character)
2246
pants.Name = "Pants"
2247
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
2248
char.Pants.PantsTemplate = "rbxassetid://770508500"
2249
2250
2251
2252
2253
function RemoveOutlines(part)
2254
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
2255
end
2256
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2257
  local Part = Create("Part")({
2258
    Parent = Parent,
2259
    Reflectance = Reflectance,
2260
    Transparency = Transparency,
2261
    CanCollide = false,
2262
    Locked = true,
2263
    BrickColor = BrickColor.new(tostring(BColor)),
2264
    Name = Name,
2265
    Size = Size,
2266
    Material = Material
2267
  })
2268
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
2269
  RemoveOutlines(Part)
2270
  return Part
2271
end
2272
function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2273
  local Msh = Create(Mesh)({
2274
    Parent = Part,
2275
    Offset = OffSet,
2276
    Scale = Scale
2277
  })
2278
  if Mesh == "SpecialMesh" then
2279
    Msh.MeshType = MeshType
2280
    Msh.MeshId = MeshId
2281
  end
2282
  return Msh
2283
end
2284
function CreateWeld(Parent, Part0, Part1, C0, C1)
2285
  local Weld = Create("Weld")({
2286
    Parent = Parent,
2287
    Part0 = Part0,
2288
    Part1 = Part1,
2289
    C0 = C0,
2290
    C1 = C1
2291
  })
2292
  return Weld
2293
end
2294
2295
Character=Player.Character 
2296
PlayerGui=Player.PlayerGui 
2297
Backpack=Player.Backpack 
2298
Torso=Character.Torso 
2299
Head=Character.Head 
2300
Humanoid=Character.Humanoid
2301
m=Instance.new('Model',Character)
2302
LeftArm=Character["Left Arm"] 
2303
LeftLeg=Character["Left Leg"] 
2304
RightArm=Character["Right Arm"] 
2305
RightLeg=Character["Right Leg"] 
2306
LS=Torso["Left Shoulder"] 
2307
LH=Torso["Left Hip"] 
2308
RS=Torso["Right Shoulder"] 
2309
RH=Torso["Right Hip"] 
2310
Face = Head.face
2311
Neck=Torso.Neck
2312
it=Instance.new
2313
attacktype=1
2314
vt=Vector3.new
2315
cf=CFrame.new
2316
euler=CFrame.fromEulerAnglesXYZ
2317
angles=CFrame.Angles
2318
cloaked=false
2319
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2320
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2321
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
2322
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
2323
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
2324
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
2325
RootPart=Character.HumanoidRootPart
2326
RootJoint=RootPart.RootJoint
2327
RootCF=euler(-1.57,0,3.14)
2328
attack = false 
2329
attackdebounce = false 
2330
deb=false
2331
equipped=true
2332
hand=false
2333
combo=0
2334
mana=0
2335
trispeed=.2
2336
attackmode='none'
2337
local idle=0
2338
local Anim="Idle"
2339
local Effects={}
2340
local gun=false
2341
local shoot=false
2342
local sine = 0
2343
local change = 1
2344
2345
function RecolorTextAndRename(name,col1,col2,font)
2346
modet.TextStrokeColor3 = col2
2347
modet.TextColor3 = col1
2348
modet.Font = font
2349
modet.Text = name
2350
techc.ImageColor3 = col2
2351
circl.ImageColor3 = col2
2352
circl2.ImageColor3 = col1
2353
imgl2.ImageColor3 = col1
2354
imgl2b.ImageColor3 = col2
2355
ned.Text = name
2356
ned.TextColor3 = col1
2357
ned.TextStrokeColor3 = col2
2358
end
2359
--save shoulders 
2360
RSH, LSH=nil, nil 
2361
--welds 
2362
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
2363
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
2364
LH=Torso["Left Hip"]
2365
RH=Torso["Right Hip"]
2366
TorsoColor=Torso.BrickColor
2367
function NoOutline(Part)
2368
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
2369
end
2370
ch=Character
2371
RSH=ch.Torso["Right Shoulder"] 
2372
LSH=ch.Torso["Left Shoulder"] 
2373
-- 
2374
RSH.Parent=nil 
2375
LSH.Parent=nil 
2376
-- 
2377
RW.Name="Right Shoulder"
2378
RW.Part0=ch.Torso 
2379
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
2380
RW.C1=cf(0, 0.5, 0) 
2381
RW.Part1=ch["Right Arm"] 
2382
RW.Parent=ch.Torso 
2383
-- 
2384
LW.Name="Left Shoulder"
2385
LW.Part0=ch.Torso 
2386
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
2387
LW.C1=cf(0, 0.5, 0) 
2388
LW.Part1=ch["Left Arm"] 
2389
LW.Parent=ch.Torso 
2390
2391
local Stats=Instance.new("BoolValue")
2392
Stats.Name="Stats"
2393
Stats.Parent=Character
2394
local Atk=Instance.new("NumberValue")
2395
Atk.Name="Damage"
2396
Atk.Parent=Stats
2397
Atk.Value=1
2398
local Def=Instance.new("NumberValue")
2399
Def.Name="Defense"
2400
Def.Parent=Stats
2401
Def.Value=1
2402
local Speed=Instance.new("NumberValue")
2403
Speed.Name="Speed"
2404
Speed.Parent=Stats
2405
Speed.Value=1
2406
local Mvmt=Instance.new("NumberValue")
2407
Mvmt.Name="Movement"
2408
Mvmt.Parent=Stats
2409
Mvmt.Value=1
2410
2411
local donum=0
2412
 
2413
2414
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
2415
local fp=it("Part")
2416
fp.formFactor=formfactor 
2417
fp.Parent=parent
2418
fp.Reflectance=reflectance
2419
fp.Transparency=transparency
2420
fp.CanCollide=false 
2421
fp.Locked=true
2422
fp.BrickColor=brickcolor
2423
fp.Name=name
2424
fp.Size=size
2425
fp.Position=Torso.Position 
2426
NoOutline(fp)
2427
fp.Material="SmoothPlastic"
2428
fp:BreakJoints()
2429
return fp 
2430
end 
2431
 
2432
function mesh(Mesh,part,meshtype,meshid,offset,scale)
2433
local mesh=it(Mesh) 
2434
mesh.Parent=part
2435
if Mesh=="SpecialMesh" then
2436
mesh.MeshType=meshtype
2437
if meshid~="nil" then
2438
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
2439
end
2440
end
2441
mesh.Offset=offset
2442
mesh.Scale=scale
2443
return mesh
2444
end
2445
 
2446
function weld(parent,part0,part1,c0)
2447
local weld=it("Weld") 
2448
weld.Parent=parent
2449
weld.Part0=part0 
2450
weld.Part1=part1 
2451
weld.C0=c0
2452
return weld
2453
end
2454
 
2455
local Color1=Torso.BrickColor
2456
2457
local bodvel=Instance.new("BodyVelocity")
2458
local bg=Instance.new("BodyGyro")
2459
2460
--------- SazEreno's Artificial HB --------------
2461
ArtificialHB = Instance.new("BindableEvent", script)
2462
ArtificialHB.Name = "ArtificialHB"
2463
2464
script:WaitForChild("ArtificialHB")
2465
Frame_Speed = 1 / 60
2466
frame = Frame_Speed
2467
tf = 0
2468
allowframeloss = false
2469
tossremainder = false
2470
lastframe = tick()
2471
script.ArtificialHB:Fire()
2472
2473
game:GetService("RunService").Heartbeat:connect(function(s, p)
2474
	tf = tf + s
2475
	if tf >= frame then
2476
		if allowframeloss then
2477
			script.ArtificialHB:Fire()
2478
			lastframe = tick()
2479
		else
2480
			for i = 1, math.floor(tf / frame) do
2481
				script.ArtificialHB:Fire()
2482
			end
2483
		lastframe = tick()
2484
		end
2485
		if tossremainder then
2486
			tf = 0
2487
		else
2488
			tf = tf - frame * math.floor(tf / frame)
2489
		end
2490
	end
2491
end)
2492
2493
------------------
2494
function swait(num)
2495
function swait(num)
2496
if num==0 or num==nil then
2497
game:service'RunService'.Stepped:wait(0)
2498
else
2499
for i=0,num do
2500
game:service'RunService'.Stepped:wait(0)
2501
end
2502
end
2503
end
2504
end
2505
2506
-------- RAINBOW LEAVE IT TO ME
2507
local r = 255
2508
local g = 0
2509
local b = 0
2510
coroutine.resume(coroutine.create(function()
2511
while wait() do
2512
	for i = 0, 254/5 do
2513
		swait()
2514
		g = g + 5
2515
	end
2516
	for i = 0, 254/5 do
2517
		swait()
2518
		r = r - 5
2519
	end
2520
	for i = 0, 254/5 do
2521
		swait()
2522
		b = b + 5
2523
	end
2524
	for i = 0, 254/5 do
2525
		swait()
2526
		g = g - 5
2527
	end
2528
	for i = 0, 254/5 do
2529
		swait()
2530
		r = r + 5
2531
	end
2532
	for i = 0, 254/5 do
2533
		swait()
2534
		b = b - 5
2535
	end
2536
end
2537
end))
2538
 
2539
 
2540
so = function(id,par,vol,pit) 
2541
coroutine.resume(coroutine.create(function()
2542
local sou = Instance.new("Sound",par or workspace)
2543
sou.Volume=vol
2544
sou.Pitch=pit or 1
2545
sou.SoundId=id
2546
swait() 
2547
sou:play() 
2548
game:GetService("Debris"):AddItem(sou,6)
2549
end))
2550
end
2551
 
2552
function clerp(a,b,t) 
2553
local qa = {QuaternionFromCFrame(a)}
2554
local qb = {QuaternionFromCFrame(b)} 
2555
local ax, ay, az = a.x, a.y, a.z 
2556
local bx, by, bz = b.x, b.y, b.z
2557
local _t = 1-t
2558
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
2559
end 
2560
 
2561
function QuaternionFromCFrame(cf) 
2562
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
2563
local trace = m00 + m11 + m22 
2564
if trace > 0 then 
2565
local s = math.sqrt(1 + trace) 
2566
local recip = 0.5/s 
2567
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
2568
else 
2569
local i = 0 
2570
if m11 > m00 then
2571
i = 1
2572
end
2573
if m22 > (i == 0 and m00 or m11) then 
2574
i = 2 
2575
end 
2576
if i == 0 then 
2577
local s = math.sqrt(m00-m11-m22+1) 
2578
local recip = 0.5/s 
2579
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
2580
elseif i == 1 then 
2581
local s = math.sqrt(m11-m22-m00+1) 
2582
local recip = 0.5/s 
2583
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
2584
elseif i == 2 then 
2585
local s = math.sqrt(m22-m00-m11+1) 
2586
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
2587
end 
2588
end 
2589
end
2590
 
2591
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
2592
local xs, ys, zs = x + x, y + y, z + z 
2593
local wx, wy, wz = w*xs, w*ys, w*zs 
2594
local xx = x*xs 
2595
local xy = x*ys 
2596
local xz = x*zs 
2597
local yy = y*ys 
2598
local yz = y*zs 
2599
local zz = z*zs 
2600
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)) 
2601
end
2602
 
2603
function QuaternionSlerp(a, b, t) 
2604
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
2605
local startInterp, finishInterp; 
2606
if cosTheta >= 0.0001 then 
2607
if (1 - cosTheta) > 0.0001 then 
2608
local theta = math.acos(cosTheta) 
2609
local invSinTheta = 1/math.sin(theta) 
2610
startInterp = math.sin((1-t)*theta)*invSinTheta 
2611
finishInterp = math.sin(t*theta)*invSinTheta  
2612
else 
2613
startInterp = 1-t 
2614
finishInterp = t 
2615
end 
2616
else 
2617
if (1+cosTheta) > 0.0001 then 
2618
local theta = math.acos(-cosTheta) 
2619
local invSinTheta = 1/math.sin(theta) 
2620
startInterp = math.sin((t-1)*theta)*invSinTheta 
2621
finishInterp = math.sin(t*theta)*invSinTheta 
2622
else 
2623
startInterp = t-1 
2624
finishInterp = t 
2625
end 
2626
end 
2627
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 
2628
end
2629
2630
local function CFrameFromTopBack(at, top, back)
2631
local right = top:Cross(back)
2632
return CFrame.new(at.x, at.y, at.z,
2633
right.x, top.x, back.x,
2634
right.y, top.y, back.y,
2635
right.z, top.z, back.z)
2636
end
2637
2638
function Triangle(a, b, c)
2639
local edg1 = (c-a):Dot((b-a).unit)
2640
local edg2 = (a-b):Dot((c-b).unit)
2641
local edg3 = (b-c):Dot((a-c).unit)
2642
if edg1 <= (b-a).magnitude and edg1 >= 0 then
2643
a, b, c = a, b, c
2644
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
2645
a, b, c = b, c, a
2646
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
2647
a, b, c = c, a, b
2648
else
2649
assert(false, "unreachable")
2650
end
2651
 
2652
local len1 = (c-a):Dot((b-a).unit)
2653
local len2 = (b-a).magnitude - len1
2654
local width = (a + (b-a).unit*len1 - c).magnitude
2655
 
2656
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
2657
 
2658
local list = {}
2659
 
2660
if len1 > 0.01 then
2661
local w1 = Instance.new('WedgePart', m)
2662
game:GetService("Debris"):AddItem(w1,5)
2663
w1.Material = "SmoothPlastic"
2664
w1.FormFactor = 'Custom'
2665
w1.BrickColor = BrickColor.new("Really red")
2666
w1.Transparency = 0
2667
w1.Reflectance = 0
2668
w1.Material = "SmoothPlastic"
2669
w1.CanCollide = false
2670
local l1 = Instance.new("PointLight",w1)
2671
l1.Color = Color3.new(170,0,0)
2672
NoOutline(w1)
2673
local sz = Vector3.new(0.2, width, len1)
2674
w1.Size = sz
2675
local sp = Instance.new("SpecialMesh",w1)
2676
sp.MeshType = "Wedge"
2677
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
2678
w1:BreakJoints()
2679
w1.Anchored = true
2680
w1.Parent = workspace
2681
w1.Transparency = 0.7
2682
table.insert(Effects,{w1,"Disappear",.01})
2683
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
2684
table.insert(list,w1)
2685
end
2686
 
2687
if len2 > 0.01 then
2688
local w2 = Instance.new('WedgePart', m)
2689
game:GetService("Debris"):AddItem(w2,5)
2690
w2.Material = "SmoothPlastic"
2691
w2.FormFactor = 'Custom'
2692
w2.BrickColor = BrickColor.new("Really red")
2693
w2.Transparency = 0
2694
w2.Reflectance = 0
2695
w2.Material = "SmoothPlastic"
2696
w2.CanCollide = false
2697
local l2 = Instance.new("PointLight",w2)
2698
l2.Color = Color3.new(170,0,0)
2699
NoOutline(w2)
2700
local sz = Vector3.new(0.2, width, len2)
2701
w2.Size = sz
2702
local sp = Instance.new("SpecialMesh",w2)
2703
sp.MeshType = "Wedge"
2704
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
2705
w2:BreakJoints()
2706
w2.Anchored = true
2707
w2.Parent = workspace
2708
w2.Transparency = 0.7
2709
table.insert(Effects,{w2,"Disappear",.01})
2710
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
2711
table.insert(list,w2)
2712
end
2713
return unpack(list)
2714
end
2715
 
2716
2717
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2718
  if hit.Parent == nil then
2719
    return
2720
  end
2721
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2722
  for _, v in pairs(hit.Parent:children()) do
2723
    if v:IsA("Humanoid") then
2724
      h = v
2725
    end
2726
  end
2727
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
2728
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2729
      return
2730
    end
2731
    local c = Create("ObjectValue")({
2732
      Name = "creator",
2733
      Value = game:GetService("Players").LocalPlayer,
2734
      Parent = h
2735
    })
2736
    game:GetService("Debris"):AddItem(c, 0.5)
2737
    if HitSound ~= nil and HitPitch ~= nil then
2738
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
2739
    end
2740
    local Damage = math.random(minim, maxim)
2741
    local blocked = false
2742
    local block = hit.Parent:findFirstChild("Block")
2743
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2744
      blocked = true
2745
      block.Value = block.Value - 1
2746
      print(block.Value)
2747
    end
2748
    if blocked == false then
2749
      HitHealth = h.Health
2750
      h.MaxHealth = 100
2751
      h.Health = h.Health - Damage
2752
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
2753
        print("gained kill")
2754
        dmg(h.Parent)
2755
      end
2756
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2757
    else
2758
      h.Health = h.Health - Damage / 2
2759
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2760
    end
2761
    if Type == "Knockdown" then
2762
      local hum = hit.Parent.Humanoid
2763
      hum.PlatformStand = true
2764
      coroutine.resume(coroutine.create(function(HHumanoid)
2765
        swait(1)
2766
        HHumanoid.PlatformStand = false
2767
      end), hum)
2768
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2769
      local bodvol = Create("BodyVelocity")({
2770
        velocity = angle * knockback,
2771
        P = 5000,
2772
        maxForce = Vector3.new(8000, 8000, 8000),
2773
        Parent = hit
2774
      })
2775
      local rl = Create("BodyAngularVelocity")({
2776
        P = 3000,
2777
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2778
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2779
        Parent = hit
2780
      })
2781
      game:GetService("Debris"):AddItem(bodvol, 0.5)
2782
      game:GetService("Debris"):AddItem(rl, 0.5)
2783
    elseif Type == "Normal" then
2784
      local vp = Create("BodyVelocity")({
2785
        P = 500,
2786
        maxForce = Vector3.new(math.huge, 0, math.huge),
2787
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2788
      })
2789
      if knockback > 0 then
2790
        vp.Parent = hit.Parent.Head
2791
      end
2792
      game:GetService("Debris"):AddItem(vp, 0.5)
2793
    elseif Type == "Up" then
2794
      local bodyVelocity = Create("BodyVelocity")({
2795
        velocity = Vector3.new(0, 20, 0),
2796
        P = 5000,
2797
        maxForce = Vector3.new(8000, 8000, 8000),
2798
        Parent = hit
2799
      })
2800
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2801
      local bodyVelocity = Create("BodyVelocity")({
2802
        velocity = Vector3.new(0, 20, 0),
2803
        P = 5000,
2804
        maxForce = Vector3.new(8000, 8000, 8000),
2805
        Parent = hit
2806
      })
2807
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2808
    elseif Type == "Leech" then
2809
      local hum = hit.Parent.Humanoid
2810
      if hum ~= nil then
2811
        for i = 0, 2 do
2812
          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)
2813
        end
2814
        Humanoid.Health = Humanoid.Health + 10
2815
      end
2816
    elseif Type == "UpKnock" then
2817
      local hum = hit.Parent.Humanoid
2818
      hum.PlatformStand = true
2819
      if hum ~= nil then
2820
        hitr = true
2821
      end
2822
      coroutine.resume(coroutine.create(function(HHumanoid)
2823
        swait(5)
2824
        HHumanoid.PlatformStand = false
2825
        hitr = false
2826
      end), hum)
2827
      local bodyVelocity = Create("BodyVelocity")({
2828
        velocity = Vector3.new(0, 20, 0),
2829
        P = 5000,
2830
        maxForce = Vector3.new(8000, 8000, 8000),
2831
        Parent = hit
2832
      })
2833
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2834
      local bodyVelocity = Create("BodyVelocity")({
2835
        velocity = Vector3.new(0, 20, 0),
2836
        P = 5000,
2837
        maxForce = Vector3.new(8000, 8000, 8000),
2838
        Parent = hit
2839
      })
2840
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2841
    elseif Type == "Snare" then
2842
      local bp = Create("BodyPosition")({
2843
        P = 2000,
2844
        D = 100,
2845
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2846
        position = hit.Parent.Torso.Position,
2847
        Parent = hit.Parent.Torso
2848
      })
2849
      game:GetService("Debris"):AddItem(bp, 1)
2850
    elseif Type == "Slashnare" then
2851
      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)
2852
      for i = 1, math.random(4, 5) do
2853
        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)
2854
      end
2855
      local bp = Create("BodyPosition")({
2856
        P = 2000,
2857
        D = 100,
2858
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2859
        position = hit.Parent.Torso.Position,
2860
        Parent = hit.Parent.Torso
2861
      })
2862
      game:GetService("Debris"):AddItem(bp, 1)
2863
    elseif Type == "Spike" then
2864
      CreateBigIceSword(hit.Parent.Torso.CFrame)
2865
      local bp = Create("BodyPosition")({
2866
        P = 2000,
2867
        D = 100,
2868
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2869
        position = hit.Parent.Torso.Position,
2870
        Parent = hit.Parent.Torso
2871
      })
2872
      game:GetService("Debris"):AddItem(bp, 1)
2873
    elseif Type == "Freeze" then
2874
      local BodPos = Create("BodyPosition")({
2875
        P = 50000,
2876
        D = 1000,
2877
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2878
        position = hit.Parent.Torso.Position,
2879
        Parent = hit.Parent.Torso
2880
      })
2881
      local BodGy = Create("BodyGyro")({
2882
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
2883
        P = 20000,
2884
        Parent = hit.Parent.Torso,
2885
        cframe = hit.Parent.Torso.CFrame
2886
      })
2887
      hit.Parent.Torso.Anchored = true
2888
      coroutine.resume(coroutine.create(function(Part)
2889
        swait(1.5)
2890
        Part.Anchored = false
2891
      end), hit.Parent.Torso)
2892
      game:GetService("Debris"):AddItem(BodPos, 3)
2893
      game:GetService("Debris"):AddItem(BodGy, 3)
2894
    end
2895
    local debounce = Create("BoolValue")({
2896
      Name = "DebounceHit",
2897
      Parent = hit.Parent,
2898
      Value = true
2899
    })
2900
    game:GetService("Debris"):AddItem(debounce, Delay)
2901
    c = Instance.new("ObjectValue")
2902
    c.Name = "creator"
2903
    c.Value = Player
2904
    c.Parent = h
2905
    game:GetService("Debris"):AddItem(c, 0.5)
2906
  end
2907
end
2908
function ShowDamage(Pos, Text, Time, Color)
2909
  local Rate = 0.03333333333333333
2910
  local Pos = Pos or Vector3.new(0, 0, 0)
2911
  local Text = Text or ""
2912
  local Time = Time or 2
2913
  local Color = Color or Color3.new(1, 0, 1)
2914
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2915
  EffectPart.Anchored = true
2916
  local BillboardGui = Create("BillboardGui")({
2917
    Size = UDim2.new(3, 0, 3, 0),
2918
    Adornee = EffectPart,
2919
    Parent = EffectPart
2920
  })
2921
  local TextLabel = Create("TextLabel")({
2922
    BackgroundTransparency = 1,
2923
    Size = UDim2.new(1, 0, 1, 0),
2924
    Text = Text,
2925
    TextColor3 = Color,
2926
    TextScaled = true,
2927
    Font = Enum.Font.ArialBold,
2928
    Parent = BillboardGui
2929
  })
2930
  game.Debris:AddItem(EffectPart, Time + 0.1)
2931
  EffectPart.Parent = game:GetService("Workspace")
2932
  delay(0, function()
2933
    local Frames = Time / Rate
2934
    for Frame = 1, Frames do
2935
      wait(Rate)
2936
      local Percent = Frame / Frames
2937
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2938
      TextLabel.TextTransparency = Percent
2939
    end
2940
    if EffectPart and EffectPart.Parent then
2941
      EffectPart:Destroy()
2942
    end
2943
  end)
2944
end
2945
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
2946
  for _, c in pairs(workspace:children()) do
2947
    local hum = c:findFirstChildOfClass("Humanoid")
2948
    if hum ~= nil then
2949
      local head = c:findFirstChild("Head")
2950
      if head ~= nil then
2951
        local targ = head.Position - Part.Position
2952
        local mag = targ.magnitude
2953
        if magni >= mag and c.Name ~= Player.Name then
2954
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2955
        end
2956
      end
2957
    end
2958
  end
2959
end
2960
2961
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
2962
  for _, c in pairs(workspace:children()) do
2963
    local hum = c:findFirstChild("Humanoid")
2964
    if hum ~= nil then
2965
      local head = c:findFirstChild("Torso")
2966
      if head ~= nil then
2967
        local targ = head.Position - Part.Position
2968
        local mag = targ.magnitude
2969
        if magni >= mag and c.Name ~= Player.Name then
2970
	MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
2971
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2972
        end
2973
      end
2974
    end
2975
  end
2976
end
2977
2978
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2979
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2980
end 
2981
2982
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2983
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2984
prt.Anchored=true
2985
prt.CFrame=cframe
2986
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2987
--http://www.roblox.com/asset/?id=4770560
2988
game:GetService("Debris"):AddItem(prt,2)
2989
CF=prt.CFrame
2990
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2991
for i=0,1,0.2 do
2992
wait()
2993
Part.CFrame=CF*cf(0,0,-0.4)
2994
end
2995
for i=0,1,delay do
2996
wait()
2997
--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)
2998
Mesh.Scale=Mesh.Scale
2999
end
3000
for i=0,1,0.1 do
3001
wait()
3002
Part.Transparency=i
3003
end
3004
Part.Parent=nil
3005
end),prt,msh,CF)
3006
end
3007
 
3008
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3009
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3010
prt.Anchored=true
3011
prt.Material = "Neon"
3012
prt.CFrame=cframe
3013
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3014
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3015
game:GetService("Debris"):AddItem(prt,5)
3016
coroutine.resume(coroutine.create(function(Part,Mesh) 
3017
for i=0,1,delay do
3018
swait()
3019
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3020
Part.Transparency=i
3021
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3022
end
3023
Part.Parent=nil
3024
end),prt,msh)
3025
end
3026
3027
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
3028
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3029
prt.Anchored=true
3030
prt.Material = "Neon"
3031
prt.CFrame=cframe
3032
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3033
game:GetService("Debris"):AddItem(prt,5)
3034
coroutine.resume(coroutine.create(function(Part,Mesh) 
3035
	local rtype = rottype
3036
for i=0,1,delay do
3037
swait()
3038
if rtype == 1 then
3039
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3040
elseif rtype == 2 then
3041
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3042
end
3043
Part.Transparency=i
3044
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3045
end
3046
Part.Parent=nil
3047
end),prt,msh)
3048
end
3049
3050
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3051
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3052
prt.Anchored=true
3053
prt.CFrame=cframe
3054
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3055
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
3056
game:GetService("Debris"):AddItem(prt,5)
3057
coroutine.resume(coroutine.create(function(Part,Mesh) 
3058
for i=0,1,delay do
3059
wait()
3060
Part.Transparency=i
3061
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3062
end
3063
Part.Parent=nil
3064
end),prt,msh)
3065
end
3066
3067
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
3068
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3069
prt.Anchored=true
3070
prt.Material = "Neon"
3071
prt.CFrame=cframe
3072
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3073
game:GetService("Debris"):AddItem(prt,5)
3074
coroutine.resume(coroutine.create(function(Part,Mesh) 
3075
	local rtype = rottype
3076
for i=0,1,delay do
3077
swait()
3078
if rtype == 1 then
3079
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3080
elseif rtype == 2 then
3081
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3082
end
3083
Part.Transparency=i
3084
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3085
end
3086
Part.Parent=nil
3087
end),prt,msh)
3088
end
3089
3090
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
3091
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
3092
prt.Anchored=true
3093
prt.Material = "Neon"
3094
prt.CFrame=cframe
3095
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
3096
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
3097
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
3098
game:GetService("Debris"):AddItem(prt,5)
3099
coroutine.resume(coroutine.create(function(Part,Mesh) 
3100
	local rtype = rottype
3101
for i=0,1,delay do
3102
swait()
3103
if rtype == 1 then
3104
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3105
elseif rtype == 2 then
3106
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3107
end
3108
dec.Transparency=i
3109
dec2.Transparency=i
3110
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
3111
end
3112
Part.Parent=nil
3113
end),prt,msh)
3114
end
3115
3116
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
3117
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3118
prt.Anchored=true
3119
prt.Material = "Neon"
3120
prt.CFrame=cframe
3121
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
3122
game:GetService("Debris"):AddItem(prt,5)
3123
coroutine.resume(coroutine.create(function(Part,Mesh) 
3124
	local rtype = rottype
3125
for i=0,1,delay do
3126
swait()
3127
if rtype == 1 then
3128
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3129
elseif rtype == 2 then
3130
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3131
end
3132
prt.Transparency=i
3133
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
3134
end
3135
Part.Parent=nil
3136
end),prt,msh)
3137
end
3138
3139
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
3140
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3141
prt.Anchored=true
3142
prt.Material = "Neon"
3143
prt.CFrame=cframe
3144
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
3145
game:GetService("Debris"):AddItem(prt,5)
3146
coroutine.resume(coroutine.create(function(Part,Mesh) 
3147
	local rtype = rottype
3148
for i=0,1,delay do
3149
swait()
3150
if rtype == 1 then
3151
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
3152
elseif rtype == 2 then
3153
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
3154
end
3155
prt.Transparency=i
3156
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
3157
end
3158
Part.Parent=nil
3159
end),prt,msh)
3160
end
3161
3162
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
3163
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3164
prt.Anchored=true
3165
prt.Material = "Neon"
3166
prt.CFrame=cframe
3167
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3168
game:GetService("Debris"):AddItem(prt,5)
3169
coroutine.resume(coroutine.create(function(Part,Mesh) 
3170
	local rtype = rottype
3171
for i=0,1,delay do
3172
swait()
3173
if rtype == 1 then
3174
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3175
elseif rtype == 2 then
3176
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3177
end
3178
prt.Transparency=i
3179
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
3180
end
3181
Part.Parent=nil
3182
end),prt,msh)
3183
end
3184
3185
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
3186
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3187
prt.Anchored=true
3188
prt.Material = "Neon"
3189
prt.CFrame=cframe
3190
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3191
game:GetService("Debris"):AddItem(prt,5)
3192
coroutine.resume(coroutine.create(function(Part,Mesh) 
3193
	local rtype = rottype
3194
for i=0,1,delay do
3195
swait()
3196
if rtype == 1 then
3197
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3198
elseif rtype == 2 then
3199
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3200
end
3201
prt.Transparency=i
3202
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3203
end
3204
Part.Parent=nil
3205
end),prt,msh)
3206
end
3207
 
3208
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
3209
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3210
prt.Anchored=false
3211
prt.CFrame=cframe
3212
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3213
local wld=weld(prt,prt,Parent,cframe)
3214
game:GetService("Debris"):AddItem(prt,5)
3215
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
3216
for i=0,1,delay do
3217
wait()
3218
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
3219
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3220
Part.Transparency=i
3221
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3222
end
3223
Part.Parent=nil
3224
end),prt,msh,wld)
3225
end
3226
 
3227
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
3228
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3229
prt.Anchored=false
3230
prt.CFrame=cframe
3231
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3232
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
3233
game:GetService("Debris"):AddItem(prt,5)
3234
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
3235
for i=0,1,delay do
3236
wait()
3237
Weld.C0=euler(i*20,0,0)
3238
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3239
Part.Transparency=i
3240
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3241
end
3242
Part.Parent=nil
3243
end),prt,msh,wld)
3244
end
3245
 
3246
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3247
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3248
prt.Anchored=true
3249
prt.CFrame=cframe
3250
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3251
game:GetService("Debris"):AddItem(prt,2)
3252
coroutine.resume(coroutine.create(function(Part,Mesh) 
3253
for i=0,1,delay do
3254
wait()
3255
Part.CFrame=Part.CFrame
3256
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3257
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3258
prt2.Anchored=true
3259
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3260
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
3261
game:GetService("Debris"):AddItem(prt2,2)
3262
coroutine.resume(coroutine.create(function(Part,Mesh) 
3263
for i=0,1,0.1 do
3264
wait()
3265
Part.CFrame=Part.CFrame*cf(0,0.5,0)
3266
end
3267
Part.Parent=nil
3268
end),prt2,msh2)
3269
end
3270
for i=0,1,delay*2 do
3271
wait()
3272
Part.CFrame=Part.CFrame
3273
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
3274
end
3275
Part.Parent=nil
3276
end),prt,msh)
3277
end
3278
 
3279
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3280
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3281
prt.Anchored=true
3282
prt.CFrame=cframe
3283
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
3284
game:GetService("Debris"):AddItem(prt,2)
3285
coroutine.resume(coroutine.create(function(Part,Mesh) 
3286
for i=0,1,delay do
3287
wait()
3288
Part.CFrame=Part.CFrame
3289
Part.Transparency=i
3290
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3291
end
3292
Part.Parent=nil
3293
end),prt,msh)
3294
end
3295
 
3296
function BreakEffect(brickcolor,cframe,x1,y1,z1)
3297
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3298
prt.Anchored=true
3299
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3300
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
3301
game:GetService("Debris"):AddItem(prt,2)
3302
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
3303
CF=Part.CFrame
3304
Numbb=0
3305
randnumb=math.random()/10
3306
rand1=math.random()/10
3307
for i=0,1,rand1 do
3308
wait()
3309
CF=CF*cf(0,math.random()/2,0)
3310
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
3311
Part.CFrame=CF*euler(Numbb,0,0)
3312
Part.Transparency=i
3313
Numbb=Numbb+randnumb
3314
end
3315
Part.Parent=nil
3316
end),prt,CF,Numbb,randnumb)
3317
end
3318
 
3319
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3320
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3321
prt.Anchored=true
3322
prt.CFrame=cframe
3323
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
3324
game:GetService("Debris"):AddItem(prt,5)
3325
coroutine.resume(coroutine.create(function(Part,Mesh) 
3326
for i=0,1,delay do
3327
wait()
3328
Part.CFrame=Part.CFrame*euler(0,0.7,0)
3329
Part.Transparency=i
3330
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3331
end
3332
Part.Parent=nil
3333
end),prt,msh)
3334
end
3335
 
3336
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3337
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3338
prt.Anchored=true
3339
prt.CFrame=cframe
3340
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
3341
game:GetService("Debris"):AddItem(prt,2)
3342
coroutine.resume(coroutine.create(function(Part,Mesh) 
3343
for i=0,1,delay do
3344
wait()
3345
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
3346
Part.Transparency=i
3347
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3348
end
3349
Part.Parent=nil
3350
end),prt,msh)
3351
end
3352
 
3353
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
3354
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3355
prt.Anchored=true
3356
prt.CFrame=cframe*cf(x,y,z)
3357
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
3358
game:GetService("Debris"):AddItem(prt,5)
3359
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
3360
local num=math.random()
3361
local num2=math.random(-3,2)+math.random()
3362
local numm=0
3363
for i=0,1,delay*2 do
3364
swait()
3365
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
3366
Part.Transparency=i
3367
numm=numm+0.01
3368
end
3369
Part.Parent=nil
3370
Mesh.Parent=nil
3371
end),prt,msh,x,y,z)
3372
end
3373
3374
function dmgstart(dmg,what)
3375
	hitcon = what.Touched:connect(function(hit)
3376
		local hum = hit.Parent:FindFirstChild("Humanoid")
3377
		if hum and not hum:IsDescendantOf(Character) then
3378
			hum:TakeDamage(dmg)
3379
		end
3380
	end)
3381
end
3382
3383
function dmgstop()
3384
	hitcon:disconnect()
3385
end
3386
3387
function Cloak()
3388
Face.Parent=nil
3389
cloaked=true
3390
        for _,v in pairs(Torso.Parent:children()) do
3391
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
3392
                coroutine.resume(coroutine.create(function() 
3393
                for i=0,1,0.2 do
3394
                wait()
3395
                v.Transparency=i
3396
                end
3397
                v.Transparency=1
3398
                end))
3399
                end
3400
                if v.className=="Hat" then
3401
                hatp=v.Handle
3402
                coroutine.resume(coroutine.create(function(derp) 
3403
                for i=0,1,0.2 do
3404
                wait()
3405
                derp.Transparency=i
3406
                end
3407
                derp.Transparency=1
3408
                end),hatp)
3409
                end
3410
        end
3411
        for _,v in pairs(m:children()) do
3412
                if v.className=="Part" then
3413
                coroutine.resume(coroutine.create(function() 
3414
                for i=0,1,0.2 do
3415
                wait()
3416
                v.Transparency=i
3417
                end
3418
                v.Transparency=1
3419
                end))
3420
                end
3421
        end
3422
end
3423
 
3424
function UnCloak()
3425
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) 
3426
Face.Parent=Head 
3427
cloaked=false
3428
        for _,v in pairs(Torso.Parent:children()) do
3429
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
3430
                coroutine.resume(coroutine.create(function() 
3431
                for i=0,1,0.1 do
3432
                wait()
3433
                v.Transparency=v.Transparency-0.1
3434
                end
3435
                v.Transparency=0
3436
                end))
3437
                end
3438
                if v.className=="Hat" then
3439
                hatp=v.Handle
3440
                coroutine.resume(coroutine.create(function(derp) 
3441
                for i=0,1,0.1 do
3442
                wait()
3443
                derp.Transparency=derp.Transparency-0.1
3444
                end
3445
                derp.Transparency=0
3446
                end),hatp)
3447
                end
3448
        end
3449
        for _,v in pairs(m:children()) do
3450
                if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
3451
                coroutine.resume(coroutine.create(function() 
3452
                for i=0,1,0.1 do
3453
                wait()
3454
                v.Transparency=v.Transparency-0.1
3455
                end
3456
                v.Transparency=0
3457
                end))
3458
                v.Transparency=0
3459
                end
3460
        end
3461
end
3462
3463
local origcolor = BrickColor.new("Pastel light blue")
3464
---- This section of explosions.
3465
3466
----
3467
3468
3469
function ring(type,pos,scale,value)
3470
local type = type
3471
local rng = Instance.new("Part", char)
3472
        rng.Anchored = true
3473
        rng.BrickColor = origcolor
3474
        rng.CanCollide = false
3475
        rng.FormFactor = 3
3476
        rng.Name = "Ring"
3477
        rng.Size = Vector3.new(1, 1, 1)
3478
        rng.Transparency = 0
3479
        rng.TopSurface = 0
3480
        rng.BottomSurface = 0
3481
        rng.CFrame = pos
3482
        local rngm = Instance.new("SpecialMesh", rng)
3483
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3484
rngm.Scale = scale
3485
local scaler2 = 1
3486
if type == "Add" then
3487
scaler2 = 1*value
3488
elseif type == "Divide" then
3489
scaler2 = 1/value
3490
end
3491
coroutine.resume(coroutine.create(function()
3492
for i = 0,10,0.1 do
3493
swait()
3494
if type == "Add" then
3495
scaler2 = scaler2 - 0.01*value
3496
elseif type == "Divide" then
3497
scaler2 = scaler2 - 0.01/value
3498
end
3499
rng.Transparency = rng.Transparency + 0.01
3500
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
3501
end
3502
rng:Destroy()
3503
end))
3504
end
3505
3506
3507
function wave(type,pos,scale,value)
3508
local type = type
3509
local rng = Instance.new("Part", char)
3510
        rng.Anchored = true
3511
        rng.BrickColor = origcolor
3512
        rng.CanCollide = false
3513
        rng.FormFactor = 3
3514
        rng.Name = "Ring"
3515
        rng.Size = Vector3.new(1, 1, 1)
3516
        rng.Transparency = 0
3517
        rng.TopSurface = 0
3518
        rng.BottomSurface = 0
3519
        rng.CFrame = pos
3520
        local rngm = Instance.new("SpecialMesh", rng)
3521
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
3522
rngm.Scale = scale
3523
local scaler2 = 1
3524
if type == "Add" then
3525
scaler2 = 1*value
3526
elseif type == "Divide" then
3527
scaler2 = 1/value
3528
end
3529
coroutine.resume(coroutine.create(function()
3530
for i = 0,10,0.1 do
3531
swait()
3532
if type == "Add" then
3533
scaler2 = scaler2 - 0.01*value
3534
elseif type == "Divide" then
3535
scaler2 = scaler2 - 0.01/value
3536
end
3537
rng.Transparency = rng.Transparency + 0.01
3538
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3539
end
3540
rng:Destroy()
3541
end))
3542
end
3543
3544
function wind(type,pos,scale,value,speed)
3545
local type = type
3546
local rng = Instance.new("Part", char)
3547
        rng.Anchored = true
3548
        rng.BrickColor = origcolor
3549
        rng.CanCollide = false
3550
        rng.FormFactor = 3
3551
        rng.Name = "Ring"
3552
        rng.Size = Vector3.new(1, 1, 1)
3553
        rng.Transparency = 0
3554
        rng.TopSurface = 0
3555
        rng.BottomSurface = 0
3556
        rng.CFrame = pos
3557
        local rngm = Instance.new("SpecialMesh", rng)
3558
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
3559
rngm.Scale = scale
3560
local scaler2 = 1
3561
if type == "Add" then
3562
scaler2 = 1*value
3563
elseif type == "Divide" then
3564
scaler2 = 1/value
3565
end
3566
coroutine.resume(coroutine.create(function()
3567
for i = 0,10,0.1 do
3568
swait()
3569
if type == "Add" then
3570
scaler2 = scaler2 - 0.01*value
3571
elseif type == "Divide" then
3572
scaler2 = scaler2 - 0.01/value
3573
end
3574
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
3575
rng.Transparency = rng.Transparency + 0.01
3576
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3577
end
3578
rng:Destroy()
3579
end))
3580
end
3581
3582
function groundwind(type,pos,scale,value,speed)
3583
local type = type
3584
local rng = Instance.new("Part", char)
3585
        rng.Anchored = true
3586
        rng.BrickColor = origcolor
3587
        rng.CanCollide = false
3588
        rng.FormFactor = 3
3589
        rng.Name = "Ring"
3590
        rng.Size = Vector3.new(1, 1, 1)
3591
        rng.Transparency = 0
3592
        rng.TopSurface = 0
3593
        rng.BottomSurface = 0
3594
        rng.CFrame = pos
3595
        local rngm = Instance.new("SpecialMesh", rng)
3596
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
3597
rngm.Scale = scale
3598
local scaler2 = 1
3599
if type == "Add" then
3600
scaler2 = 1*value
3601
elseif type == "Divide" then
3602
scaler2 = 1/value
3603
end
3604
coroutine.resume(coroutine.create(function()
3605
for i = 0,10,0.1 do
3606
swait()
3607
if type == "Add" then
3608
scaler2 = scaler2 - 0.01*value
3609
elseif type == "Divide" then
3610
scaler2 = scaler2 - 0.01/value
3611
end
3612
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
3613
rng.Transparency = rng.Transparency + 0.01
3614
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
3615
end
3616
rng:Destroy()
3617
end))
3618
end
3619
3620
function CameraManager()
3621
  if TwoD and not CamInterrupt then
3622
    if Humanoid.Health > 0 then
3623
      Camera.CameraSubject = Humanoid
3624
      Camera.CameraType = "Scriptable"
3625
      Humanoid.AutoRotate = false
3626
      if Booleans.GyroUse then
3627
        Directer.MaxTorque = Vec3(0, huge, 0)
3628
      else
3629
        Directer.MaxTorque = Vec3(0, 0, 0)
3630
      end
3631
      if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
3632
        if Booleans.CamFollow then
3633
          CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
3634
          Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
3635
        else
3636
          CPart.Position = RootPart.Position
3637
        end
3638
      else
3639
        local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
3640
        CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
3641
      end
3642
      Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
3643
    else
3644
      Camera.CameraSubject = Humanoid
3645
      Camera.CameraType = "Custom"
3646
      Controller.Disabled = false
3647
    end
3648
  end
3649
end
3650
3651
function ring(type,pos,scale,value)
3652
local type = type
3653
local rng = Instance.new("Part", char)
3654
        rng.Anchored = true
3655
        rng.BrickColor = origcolor
3656
        rng.CanCollide = false
3657
        rng.FormFactor = 3
3658
        rng.Name = "Ring"
3659
        rng.Size = Vector3.new(1, 1, 1)
3660
        rng.Transparency = 0
3661
        rng.TopSurface = 0
3662
        rng.BottomSurface = 0
3663
        rng.CFrame = pos
3664
        local rngm = Instance.new("SpecialMesh", rng)
3665
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3666
rngm.Scale = scale
3667
local scaler2 = 1
3668
if type == "Add" then
3669
scaler2 = 1*value
3670
elseif type == "Divide" then
3671
scaler2 = 1/value
3672
end
3673
coroutine.resume(coroutine.create(function()
3674
for i = 0,10,0.1 do
3675
swait()
3676
if type == "Add" then
3677
scaler2 = scaler2 - 0.01*value
3678
elseif type == "Divide" then
3679
scaler2 = scaler2 - 0.01/value
3680
end
3681
rng.Transparency = rng.Transparency + 0.01
3682
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
3683
end
3684
rng:Destroy()
3685
end))
3686
end
3687
3688
3689
function wave(type,pos,scale,value)
3690
local type = type
3691
local rng = Instance.new("Part", char)
3692
        rng.Anchored = true
3693
        rng.BrickColor = origcolor
3694
        rng.CanCollide = false
3695
        rng.FormFactor = 3
3696
        rng.Name = "Ring"
3697
        rng.Size = Vector3.new(1, 1, 1)
3698
        rng.Transparency = 0
3699
        rng.TopSurface = 0
3700
        rng.BottomSurface = 0
3701
        rng.CFrame = pos
3702
        local rngm = Instance.new("SpecialMesh", rng)
3703
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
3704
rngm.Scale = scale
3705
local scaler2 = 1
3706
if type == "Add" then
3707
scaler2 = 1*value
3708
elseif type == "Divide" then
3709
scaler2 = 1/value
3710
end
3711
coroutine.resume(coroutine.create(function()
3712
for i = 0,10,0.1 do
3713
swait()
3714
if type == "Add" then
3715
scaler2 = scaler2 - 0.01*value
3716
elseif type == "Divide" then
3717
scaler2 = scaler2 - 0.01/value
3718
end
3719
rng.Transparency = rng.Transparency + 0.01
3720
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3721
end
3722
rng:Destroy()
3723
end))
3724
end
3725
3726
function sphere(bonuspeed,type,pos,scale,value,color)
3727
local type = type
3728
local rng = Instance.new("Part", char)
3729
        rng.Anchored = true
3730
if ModeOfGlitch ~= 9 then
3731
        rng.BrickColor = color
3732
elseif ModeOfGlitch == 9 then
3733
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3734
end
3735
        rng.CanCollide = false
3736
        rng.FormFactor = 3
3737
        rng.Name = "Ring"
3738
        rng.Material = "Neon"
3739
        rng.Size = Vector3.new(1, 1, 1)
3740
        rng.Transparency = 0
3741
        rng.TopSurface = 0
3742
        rng.BottomSurface = 0
3743
        rng.CFrame = pos
3744
        local rngm = Instance.new("SpecialMesh", rng)
3745
        rngm.MeshType = "Sphere"
3746
rngm.Scale = scale
3747
if rainbowmode == true then
3748
rng.Color = Color3.new(r/255,g/255,b/255)
3749
end
3750
if ModeOfGlitch == 9 then
3751
coroutine.resume(coroutine.create(function()
3752
while true do
3753
swait()
3754
if rng.Parent ~= nil then
3755
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3756
else
3757
break
3758
end
3759
end
3760
end))
3761
end
3762
local scaler2 = 1
3763
if type == "Add" then
3764
scaler2 = 1*value
3765
elseif type == "Divide" then
3766
scaler2 = 1/value
3767
end
3768
coroutine.resume(coroutine.create(function()
3769
for i = 0,10/bonuspeed,0.1 do
3770
swait()
3771
if rainbowmode == true then
3772
rng.Color = Color3.new(r/255,g/255,b/255)
3773
end
3774
if type == "Add" then
3775
scaler2 = scaler2 - 0.01*value/bonuspeed
3776
elseif type == "Divide" then
3777
scaler2 = scaler2 - 0.01/value*bonuspeed
3778
end
3779
if chaosmode == true then
3780
rng.BrickColor = BrickColor.random()
3781
end
3782
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3783
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3784
end
3785
rng:Destroy()
3786
end))
3787
end
3788
3789
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
3790
local type = type
3791
local rng = Instance.new("Part", char)
3792
        rng.Anchored = true
3793
if ModeOfGlitch ~= 9 then
3794
        rng.BrickColor = color
3795
elseif ModeOfGlitch == 9 then
3796
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3797
end
3798
        rng.CanCollide = false
3799
        rng.FormFactor = 3
3800
        rng.Name = "Ring"
3801
        rng.Material = "Neon"
3802
        rng.Size = Vector3.new(1, 1, 1)
3803
        rng.Transparency = 0
3804
        rng.TopSurface = 0
3805
        rng.BottomSurface = 0
3806
        rng.CFrame = pos
3807
        local rngm = Instance.new("SpecialMesh", rng)
3808
        rngm.MeshType = "Sphere"
3809
rngm.Scale = scale
3810
local scaler2 = 1
3811
local scaler2b = 1
3812
local scaler2c = 1
3813
if type == "Add" then
3814
scaler2 = 1*value
3815
scaler2b = 1*value2
3816
scaler2c = 1*value3
3817
elseif type == "Divide" then
3818
scaler2 = 1/value
3819
scaler2b = 1/value2
3820
scaler2c = 1/value3
3821
end
3822
if ModeOfGlitch == 9 then
3823
coroutine.resume(coroutine.create(function()
3824
while true do
3825
swait()
3826
if rng.Parent ~= nil then
3827
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3828
else
3829
break
3830
end
3831
end
3832
end))
3833
end
3834
coroutine.resume(coroutine.create(function()
3835
for i = 0,10/bonuspeed,0.1 do
3836
swait()
3837
if type == "Add" then
3838
scaler2 = scaler2 - 0.01*value/bonuspeed
3839
scaler2b = scaler2b - 0.01*value/bonuspeed
3840
scaler2c = scaler2c - 0.01*value/bonuspeed
3841
elseif type == "Divide" then
3842
scaler2 = scaler2 - 0.01/value*bonuspeed
3843
scaler2b = scaler2b - 0.01/value*bonuspeed
3844
scaler2c = scaler2c - 0.01/value*bonuspeed
3845
end
3846
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3847
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3848
end
3849
rng:Destroy()
3850
end))
3851
end
3852
3853
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
3854
local type = type
3855
local rotenable = rotatingop
3856
local rng = Instance.new("Part", char)
3857
        rng.Anchored = true
3858
        rng.BrickColor = color
3859
        rng.CanCollide = false
3860
        rng.FormFactor = 3
3861
        rng.Name = "Ring"
3862
        rng.Material = "Neon"
3863
        rng.Size = Vector3.new(1, 1, 1)
3864
        rng.Transparency = 0
3865
if typeoftrans == "In" then
3866
rng.Transparency = 1
3867
end
3868
        rng.TopSurface = 0
3869
        rng.BottomSurface = 0
3870
        rng.CFrame = pos
3871
        local rngm = Instance.new("SpecialMesh", rng)
3872
        rngm.MeshType = "FileMesh"
3873
if typeofshape == "Normal" then
3874
rngm.MeshId = "rbxassetid://662586858"
3875
elseif typeofshape == "Round" then
3876
rngm.MeshId = "rbxassetid://662585058"
3877
end
3878
rngm.Scale = scale
3879
local scaler2 = 1/10
3880
if type == "Add" then
3881
scaler2 = 1*value/10
3882
elseif type == "Divide" then
3883
scaler2 = 1/value/10
3884
end
3885
local randomrot = math.random(1,2)
3886
coroutine.resume(coroutine.create(function()
3887
for i = 0,10/bonuspeed,0.1 do
3888
swait()
3889
if type == "Add" then
3890
scaler2 = scaler2 - 0.01*value/bonuspeed/10
3891
elseif type == "Divide" then
3892
scaler2 = scaler2 - 0.01/value*bonuspeed/10
3893
end
3894
if rotenable == true then
3895
if randomrot == 1 then
3896
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
3897
elseif randomrot == 2 then
3898
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
3899
end
3900
end
3901
if typeoftrans == "Out" then
3902
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3903
elseif typeoftrans == "In" then
3904
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3905
end
3906
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
3907
end
3908
rng:Destroy()
3909
end))
3910
end
3911
3912
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3913
local type = type
3914
local rng = Instance.new("Part", char)
3915
        rng.Anchored = true
3916
        rng.BrickColor = color
3917
        rng.CanCollide = false
3918
        rng.FormFactor = 3
3919
        rng.Name = "Ring"
3920
        rng.Material = "Neon"
3921
        rng.Size = Vector3.new(1, 1, 1)
3922
        rng.Transparency = 0
3923
        rng.TopSurface = 0
3924
        rng.BottomSurface = 0
3925
        rng.CFrame = pos
3926
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3927
        local rngm = Instance.new("SpecialMesh", rng)
3928
        rngm.MeshType = "Brick"
3929
rngm.Scale = vt(x1,y1,z1)
3930
if rainbowmode == true then
3931
rng.Color = Color3.new(r/255,g/255,b/255)
3932
end
3933
local scaler2 = 1
3934
local speeder = FastSpeed/10
3935
if type == "Add" then
3936
scaler2 = 1*value
3937
elseif type == "Divide" then
3938
scaler2 = 1/value
3939
end
3940
coroutine.resume(coroutine.create(function()
3941
for i = 0,10/bonuspeed,0.1 do
3942
swait()
3943
if rainbowmode == true then
3944
rng.Color = Color3.new(r/255,g/255,b/255)
3945
end
3946
if type == "Add" then
3947
scaler2 = scaler2 - 0.01*value/bonuspeed
3948
elseif type == "Divide" then
3949
scaler2 = scaler2 - 0.01/value*bonuspeed
3950
end
3951
if chaosmode == true then
3952
rng.BrickColor = BrickColor.random()
3953
end
3954
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3955
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3956
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3957
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3958
end
3959
rng:Destroy()
3960
end))
3961
end
3962
3963
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3964
local type = type
3965
local rng = Instance.new("Part", char)
3966
        rng.Anchored = true
3967
        rng.BrickColor = color
3968
        rng.CanCollide = false
3969
        rng.FormFactor = 3
3970
        rng.Name = "Ring"
3971
        rng.Material = "Neon"
3972
        rng.Size = Vector3.new(1, 1, 1)
3973
        rng.Transparency = 0
3974
        rng.TopSurface = 0
3975
        rng.BottomSurface = 0
3976
        rng.CFrame = pos
3977
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3978
        local rngm = Instance.new("SpecialMesh", rng)
3979
        rngm.MeshType = "Brick"
3980
rngm.Scale = vt(x1,y1,z1)
3981
if rainbowmode == true then
3982
rng.Color = Color3.new(r/255,g/255,b/255)
3983
end
3984
local scaler2 = 1
3985
local speeder = FastSpeed/10
3986
if type == "Add" then
3987
scaler2 = 1*value
3988
elseif type == "Divide" then
3989
scaler2 = 1/value
3990
end
3991
coroutine.resume(coroutine.create(function()
3992
for i = 0,10/bonuspeed,0.1 do
3993
swait()
3994
if rainbowmode == true then
3995
rng.Color = Color3.new(r/255,g/255,b/255)
3996
end
3997
if type == "Add" then
3998
scaler2 = scaler2 - 0.01*value/bonuspeed
3999
elseif type == "Divide" then
4000
scaler2 = scaler2 - 0.01/value*bonuspeed
4001
end
4002
if chaosmode == true then
4003
rng.BrickColor = BrickColor.random()
4004
end
4005
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
4006
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4007
rng.Transparency = rng.Transparency + 0.01*bonuspeed
4008
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
4009
end
4010
rng:Destroy()
4011
end))
4012
end
4013
4014
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4015
local type = type
4016
local rng = Instance.new("Part", char)
4017
        rng.Anchored = true
4018
        rng.BrickColor = color
4019
        rng.CanCollide = false
4020
        rng.FormFactor = 3
4021
        rng.Name = "Ring"
4022
        rng.Material = "Neon"
4023
        rng.Size = Vector3.new(1, 1, 1)
4024
        rng.Transparency = 0
4025
        rng.TopSurface = 0
4026
        rng.BottomSurface = 0
4027
        rng.CFrame = pos
4028
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
4029
        local rngm = Instance.new("SpecialMesh", rng)
4030
        rngm.MeshType = "Brick"
4031
rngm.Scale = vt(x1,y1,z1)
4032
if rainbowmode == true then
4033
rng.Color = Color3.new(r/255,g/255,b/255)
4034
end
4035
local scaler2 = 0
4036
local speeder = FastSpeed/10
4037
if type == "Add" then
4038
scaler2 = 1*value
4039
elseif type == "Divide" then
4040
scaler2 = 1/value
4041
end
4042
coroutine.resume(coroutine.create(function()
4043
for i = 0,10/bonuspeed,0.1 do
4044
swait()
4045
if rainbowmode == true then
4046
rng.Color = Color3.new(r/255,g/255,b/255)
4047
end
4048
if type == "Add" then
4049
scaler2 = scaler2 - 0.01*value/bonuspeed
4050
elseif type == "Divide" then
4051
scaler2 = scaler2 - 0.01/value*bonuspeed
4052
end
4053
if chaosmode == true then
4054
rng.BrickColor = BrickColor.random()
4055
end
4056
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
4057
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4058
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
4059
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
4060
end
4061
rng:Destroy()
4062
end))
4063
end
4064
4065
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
4066
local type = type
4067
local rng = Instance.new("Part", char)
4068
        rng.Anchored = true
4069
        rng.BrickColor = color
4070
        rng.Color = color3
4071
        rng.CanCollide = false
4072
        rng.FormFactor = 3
4073
        rng.Name = "Ring"
4074
        rng.Material = "Neon"
4075
        rng.Size = Vector3.new(1, 1, 1)
4076
        rng.Transparency = 0
4077
        rng.TopSurface = 0
4078
        rng.BottomSurface = 0
4079
        rng.CFrame = pos
4080
        local rngm = Instance.new("SpecialMesh", rng)
4081
        rngm.MeshType = "Brick"
4082
rngm.Scale = scale
4083
local scaler2 = 1
4084
local scaler2b = 1
4085
local scaler2c = 1
4086
if type == "Add" then
4087
scaler2 = 1*value
4088
scaler2b = 1*value2
4089
scaler2c = 1*value3
4090
elseif type == "Divide" then
4091
scaler2 = 1/value
4092
scaler2b = 1/value2
4093
scaler2c = 1/value3
4094
end
4095
coroutine.resume(coroutine.create(function()
4096
for i = 0,10/bonuspeed,0.1 do
4097
swait()
4098
if type == "Add" then
4099
scaler2 = scaler2 - 0.01*value/bonuspeed
4100
scaler2b = scaler2b - 0.01*value/bonuspeed
4101
scaler2c = scaler2c - 0.01*value/bonuspeed
4102
elseif type == "Divide" then
4103
scaler2 = scaler2 - 0.01/value*bonuspeed
4104
scaler2b = scaler2b - 0.01/value*bonuspeed
4105
scaler2c = scaler2c - 0.01/value*bonuspeed
4106
end
4107
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
4108
rng.Transparency = rng.Transparency + 0.01*bonuspeed
4109
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
4110
end
4111
rng:Destroy()
4112
end))
4113
end
4114
4115
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4116
local type = type
4117
local rng = Instance.new("Part", char)
4118
        rng.Anchored = true
4119
if ModeOfGlitch ~= 9 then
4120
        rng.BrickColor = color
4121
elseif ModeOfGlitch == 9 then
4122
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4123
end
4124
        rng.CanCollide = false
4125
        rng.FormFactor = 3
4126
        rng.Name = "Ring"
4127
        rng.Material = "Neon"
4128
        rng.Size = Vector3.new(1, 1, 1)
4129
        rng.Transparency = 0
4130
        rng.TopSurface = 0
4131
        rng.BottomSurface = 0
4132
        rng.CFrame = pos
4133
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
4134
        local rngm = Instance.new("SpecialMesh", rng)
4135
        rngm.MeshType = "Sphere"
4136
rngm.Scale = vt(x1,y1,z1)
4137
if rainbowmode == true then
4138
rng.Color = Color3.new(r/255,g/255,b/255)
4139
end
4140
if ModeOfGlitch == 9 then
4141
coroutine.resume(coroutine.create(function()
4142
while true do
4143
swait()
4144
if rng.Parent ~= nil then
4145
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4146
else
4147
break
4148
end
4149
end
4150
end))
4151
end
4152
local scaler2 = 1
4153
local speeder = FastSpeed
4154
if type == "Add" then
4155
scaler2 = 1*value
4156
elseif type == "Divide" then
4157
scaler2 = 1/value
4158
end
4159
coroutine.resume(coroutine.create(function()
4160
for i = 0,10/bonuspeed,0.1 do
4161
swait()
4162
if rainbowmode == true then
4163
rng.Color = Color3.new(r/255,g/255,b/255)
4164
end
4165
if type == "Add" then
4166
scaler2 = scaler2 - 0.01*value/bonuspeed
4167
elseif type == "Divide" then
4168
scaler2 = scaler2 - 0.01/value*bonuspeed
4169
end
4170
if chaosmode == true then
4171
rng.BrickColor = BrickColor.random()
4172
end
4173
speeder = speeder - 0.01*FastSpeed*bonuspeed
4174
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4175
rng.Transparency = rng.Transparency + 0.01*bonuspeed
4176
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
4177
end
4178
rng:Destroy()
4179
end))
4180
end
4181
4182
4183
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4184
local type = type
4185
local rng = Instance.new("Part", char)
4186
        rng.Anchored = true
4187
if ModeOfGlitch ~= 9 then
4188
        rng.BrickColor = color
4189
elseif ModeOfGlitch == 9 then
4190
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4191
end
4192
        rng.CanCollide = false
4193
        rng.FormFactor = 3
4194
        rng.Name = "Ring"
4195
        rng.Material = "Neon"
4196
        rng.Size = Vector3.new(1, 1, 1)
4197
        rng.Transparency = 1
4198
        rng.TopSurface = 0
4199
        rng.BottomSurface = 0
4200
        rng.CFrame = pos
4201
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
4202
        local rngm = Instance.new("SpecialMesh", rng)
4203
        rngm.MeshType = "Sphere"
4204
rngm.Scale = vt(x1,y1,z1)
4205
if rainbowmode == true then
4206
rng.Color = Color3.new(r/255,g/255,b/255)
4207
end
4208
if ModeOfGlitch == 9 then
4209
coroutine.resume(coroutine.create(function()
4210
while true do
4211
swait()
4212
if rng.Parent ~= nil then
4213
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4214
else
4215
break
4216
end
4217
end
4218
end))
4219
end
4220
local scaler2 = 1
4221
local speeder = FastSpeed
4222
if type == "Add" then
4223
scaler2 = 1*value
4224
elseif type == "Divide" then
4225
scaler2 = 1/value
4226
end
4227
coroutine.resume(coroutine.create(function()
4228
for i = 0,10/bonuspeed,0.1 do
4229
swait()
4230
if rainbowmode == true then
4231
rng.Color = Color3.new(r/255,g/255,b/255)
4232
end
4233
if type == "Add" then
4234
scaler2 = scaler2 - 0.01*value/bonuspeed
4235
elseif type == "Divide" then
4236
scaler2 = scaler2 - 0.01/value*bonuspeed
4237
end
4238
if chaosmode == true then
4239
rng.BrickColor = BrickColor.random()
4240
end
4241
speeder = speeder - 0.01*FastSpeed*bonuspeed
4242
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4243
rng.Transparency = rng.Transparency - 0.01*bonuspeed
4244
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
4245
end
4246
rng:Destroy()
4247
end))
4248
end
4249
4250
function dmg(dude)
4251
if dude.Name ~= Character then
4252
local keptcolor = MAINRUINCOLOR
4253
local bgf = Instance.new("BodyGyro",dude.Head)
4254
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
4255
--[[local val = Instance.new("BoolValue",dude)
4256
val.Name = "IsHit"]]--
4257
local ds = coroutine.wrap(function()
4258
dude:WaitForChild("Head"):BreakJoints()
4259
for i, v in pairs(dude:GetChildren()) do
4260
if v:IsA("Part") or v:IsA("MeshPart") then
4261
v.Name = "DEMINISHED"
4262
end
4263
end
4264
wait(0.5)
4265
targetted = nil
4266
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
4267
coroutine.resume(coroutine.create(function()
4268
for i, v in pairs(dude:GetChildren()) do
4269
if v:IsA("Accessory") then
4270
v:Destroy()
4271
end
4272
if v:IsA("Humanoid") then
4273
v:Destroy()
4274
end
4275
if v:IsA("CharacterMesh") then
4276
v:Destroy()
4277
end
4278
if v:IsA("Model") then
4279
v:Destroy()
4280
end
4281
if v:IsA("Part") or v:IsA("MeshPart") then
4282
for x, o in pairs(v:GetChildren()) do
4283
if o:IsA("Decal") then
4284
o:Destroy()
4285
end
4286
end
4287
coroutine.resume(coroutine.create(function()
4288
v.Material = "Neon"
4289
v.CanCollide = false
4290
v.Anchored = false
4291
local bld = Instance.new("ParticleEmitter",v)
4292
bld.LightEmission = 0.75
4293
bld.Texture = "rbxassetid://363275192" ---284205403
4294
bld.Color = ColorSequence.new(keptcolor.Color)
4295
bld.Rate = 500
4296
bld.Lifetime = NumberRange.new(1)
4297
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
4298
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
4299
bld.Speed = NumberRange.new(2,5)
4300
bld.VelocitySpread = 50000
4301
bld.Rotation = NumberRange.new(-500,500)
4302
bld.RotSpeed = NumberRange.new(-500,500)
4303
        local sbs = Instance.new("BodyPosition", v)
4304
        sbs.P = 3000
4305
        sbs.D = 1000
4306
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
4307
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
4308
v.Color = keptcolor.Color
4309
coroutine.resume(coroutine.create(function()
4310
for i = 0, 49 do
4311
swait(1)
4312
v:BreakJoints()
4313
v.Transparency = v.Transparency + 0.02
4314
end
4315
v:BreakJoints()
4316
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
4317
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
4318
bld.Speed = NumberRange.new(10,25)
4319
bld.Drag = 5
4320
bld.Acceleration = vt(0,2,0)
4321
wait(0.5)
4322
bld.Enabled = false
4323
wait(8)
4324
v:Destroy()
4325
dude:Destroy()
4326
end))
4327
end))
4328
end
4329
end
4330
end))
4331
end)
4332
ds()
4333
end
4334
end
4335
4336
4337
function FindNearestHead(Position, Distance, SinglePlayer)
4338
	if SinglePlayer then
4339
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
4340
	end
4341
	local List = {}
4342
	for i, v in pairs(workspace:GetChildren()) do
4343
		if v:IsA("Model") then
4344
			if v:findFirstChild("Head") then
4345
				if v ~= Character then
4346
					if (v.Head.Position - Position).magnitude <= Distance then
4347
						table.insert(List, v)
4348
					end 
4349
				end 
4350
			end 
4351
		end 
4352
	end
4353
	return List
4354
end
4355
4356
function FaceMouse()
4357
  Cam = workspace.CurrentCamera
4358
  return {
4359
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
4360
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
4361
  }
4362
end
4363
4364
function FaceMouse2()
4365
  Cam = workspace.CurrentCamera
4366
  return {
4367
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
4368
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
4369
  }
4370
end
4371
4372
local ModeOfGlitch = 1
4373
-- Functions are ready.
4374
local storehumanoidWS = 16
4375
4376
function BinaryBLINK()
4377
for i = 0, 9 do
4378
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)
4379
end
4380
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4381
coroutine.resume(coroutine.create(function()
4382
local eff = Instance.new("ParticleEmitter",root)
4383
eff.Texture = "rbxassetid://1175838406"
4384
eff.LightEmission = 0.95
4385
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4386
eff.Rate = 10000
4387
eff.Lifetime = NumberRange.new(1)
4388
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
4389
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4390
eff.Speed = NumberRange.new(30,160)
4391
eff.Drag = 5
4392
eff.Rotation = NumberRange.new(-500,500)
4393
eff.VelocitySpread = 100000
4394
wait(0.25)
4395
eff.Enabled = false
4396
wait(4)
4397
eff:Destroy()
4398
end))
4399
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
4400
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
4401
CameraEnshaking(2,11)
4402
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
4403
if v:FindFirstChild('Head') then
4404
dmg(v)
4405
end
4406
end
4407
for i = 0, 9 do
4408
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)
4409
end
4410
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4411
end
4412
4413
function Fireball()
4414
attack = true
4415
hum.WalkSpeed = 0
4416
local keptcolor = MAINRUINCOLOR
4417
    for i = 0,2,0.1 do
4418
        swait()
4419
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
4420
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
4421
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
4422
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
4423
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.3)
4424
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
4425
    end
4426
local orb = Instance.new("Part", char)
4427
        orb.BrickColor = keptcolor
4428
        orb.CanCollide = false
4429
        orb.FormFactor = 3
4430
        orb.Name = "Ring"
4431
        orb.Material = "Neon"
4432
        orb.Size = Vector3.new(1, 1, 1)
4433
        orb.Transparency = 0
4434
        orb.TopSurface = 0
4435
        orb.BottomSurface = 0
4436
        local orbm = Instance.new("SpecialMesh", orb)
4437
        orbm.MeshType = "Sphere"
4438
orbm.Name = "SizeMesh"
4439
orbm.Scale = vt(4,4,4)
4440
orb.CFrame = root.CFrame + root.CFrame.lookVector*3
4441
local eff = Instance.new("ParticleEmitter",orb)
4442
eff.Texture = "rbxassetid://296874871"
4443
eff.LightEmission = 0.95
4444
eff.Color = ColorSequence.new(orb.BrickColor.Color)
4445
eff.Rate = 10000
4446
eff.Lifetime = NumberRange.new(1.5)
4447
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
4448
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4449
eff.Speed = NumberRange.new(25)
4450
eff.Drag = 5
4451
eff.Rotation = NumberRange.new(-500,500)
4452
eff.VelocitySpread = 9000
4453
eff.RotSpeed = NumberRange.new(-500,500)
4454
    local a = Instance.new("Part",workspace)
4455
    a.Name = "Direction"   
4456
    a.Anchored = true
4457
    a.BrickColor = bc("Bright red")
4458
a.Material = "Neon"
4459
a.Transparency = 1
4460
    a.CanCollide = false
4461
    local ray = Ray.new(
4462
        orb.CFrame.p,                           -- origin
4463
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4464
    )
4465
    local ignore = orb
4466
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4467
    a.BottomSurface = 10
4468
    a.TopSurface = 10
4469
    local distance = (orb.CFrame.p - position).magnitude
4470
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4471
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4472
orb.CFrame = a.CFrame
4473
a:Destroy()
4474
CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
4475
local bv = Instance.new("BodyVelocity")
4476
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4477
bv.velocity = orb.CFrame.lookVector*75
4478
bv.Parent = orb
4479
game:GetService("Debris"):AddItem(orb, 10)
4480
local hitted = false
4481
coroutine.resume(coroutine.create(function()
4482
while true do
4483
swait()
4484
if orb.Parent ~= nil and hitted == false then
4485
sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
4486
elseif orb.Parent == nil and hitted == true then
4487
break
4488
end
4489
end
4490
end))
4491
local hit =orb.Touched:connect(function(hit)
4492
    if hitted == false and hit.Parent ~= char then
4493
    hitted = true
4494
    eff.Enabled = false
4495
CameraEnshaking(2,11)
4496
CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
4497
CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
4498
    MagniDamage(orb, 25, 20,30, 0, "Normal")
4499
sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4500
sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4501
sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4502
for i = 0, 9 do
4503
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
4504
end
4505
for i = 0, 49 do
4506
local rsiz = math.random(10,30)
4507
sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
4508
end
4509
local eff = Instance.new("ParticleEmitter",orb)
4510
eff.Texture = "rbxassetid://296874871"
4511
eff.LightEmission = 0.95
4512
eff.Color = ColorSequence.new(orb.BrickColor.Color)
4513
eff.Rate = 10000
4514
eff.Lifetime = NumberRange.new(1.5)
4515
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
4516
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4517
eff.Speed = NumberRange.new(150)
4518
eff.Drag = 5
4519
eff.Rotation = NumberRange.new(-500,500)
4520
eff.VelocitySpread = 9000
4521
eff.RotSpeed = NumberRange.new(-500,500)
4522
coroutine.resume(coroutine.create(function()
4523
    wait(0.25)
4524
    eff.Enabled = false
4525
end))
4526
local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
4527
orb.Anchored = true
4528
orb.Transparency = 1
4529
coroutine.resume(coroutine.create(function()
4530
if hfr ~= nil then
4531
orb.Size = vt(50,1,50)
4532
orb.Orientation = vt(0,0,0)
4533
orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
4534
orbm:Destroy()
4535
local firef = eff:Clone()
4536
firef.Parent = orb
4537
firef.VelocitySpread = 50
4538
firef.Rate = 500
4539
firef.Drag = 3
4540
firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4541
firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
4542
firef.Speed = NumberRange.new(10,30)
4543
for i = 0, 24 do
4544
wait(0.25)
4545
MagniDamage(orb, 25, 3,6, 0, "Normal")
4546
end
4547
firef.Enabled = false
4548
end
4549
end))
4550
wait(10)
4551
orb:Destroy()
4552
end
4553
end)
4554
    for i = 0,1,0.1 do
4555
        swait()
4556
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
4557
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
4558
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
4559
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
4560
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
4561
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)
4562
    end
4563
hum.WalkSpeed = storehumanoidWS
4564
attack = false
4565
end
4566
4567
function smiter()
4568
local targetted = nil
4569
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
4570
targetted = mouse.Target.Parent
4571
end
4572
if targetted ~= nil then
4573
RootPart.CFrame = FaceMouse()[1]
4574
attack = true
4575
hum.WalkSpeed = 0
4576
coroutine.resume(coroutine.create(function()
4577
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
4578
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
4579
local vel = Instance.new("BodyPosition", targetted.Head)
4580
vel.P = 12500
4581
vel.D = 1000
4582
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
4583
vel.position = targetted.Head.CFrame.p
4584
end))
4585
CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
4586
    for i = 0,4,0.1 do
4587
        swait()
4588
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)
4589
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
4590
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
4591
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)
4592
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
4593
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
4594
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
4595
    end
4596
coroutine.resume(coroutine.create(function()
4597
CameraEnshaking(6,5)
4598
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
4599
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
4600
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
4601
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
4602
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
4603
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
4604
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
4605
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
4606
coroutine.resume(coroutine.create(function()
4607
local eff = Instance.new("ParticleEmitter",targetted.Head)
4608
eff.Texture = "rbxassetid://363275192"
4609
eff.LightEmission = 0.95
4610
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4611
eff.Rate = 10000
4612
eff.Lifetime = NumberRange.new(1.5)
4613
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
4614
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4615
eff.Speed = NumberRange.new(25,150)
4616
eff.Drag = 5
4617
eff.Rotation = NumberRange.new(-500,500)
4618
eff.VelocitySpread = 9000
4619
eff.RotSpeed = NumberRange.new(-50,50)
4620
local eff2 = eff:Clone()
4621
eff2.Parent = targetted.Head
4622
eff2.Texture = "rbxassetid://284205403"
4623
eff2.Rate = 10000
4624
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4625
eff2.Drag = 5
4626
eff2.Rotation = NumberRange.new(-500,500)
4627
eff2.VelocitySpread = 9000
4628
wait(0.5)
4629
eff2.Enabled = false
4630
eff.Enabled = false
4631
end))
4632
for i = 0, 9 do
4633
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)
4634
end
4635
for i = 0, 49 do
4636
local rsiz = math.random(10,50)
4637
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)
4638
end
4639
game:GetService("Debris"):AddItem(vel,1)
4640
dmg(targetted)
4641
end))
4642
    for i = 0,1,0.1 do
4643
        swait()
4644
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
4645
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
4646
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
4647
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
4648
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
4649
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
4650
    end
4651
attack = false
4652
hum.WalkSpeed = storehumanoidWS
4653
end
4654
end
4655
4656
function BinaryE()
4657
local posit = -2
4658
attack = true
4659
hum.WalkSpeed = 5
4660
CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
4661
    for i = 0,2,0.1 do
4662
        swait()
4663
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)
4664
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
4665
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
4666
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
4667
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
4668
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)
4669
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)
4670
    end
4671
for i = 0, 2 do
4672
CameraEnshaking(2,11)
4673
local hite = Instance.new("Part", char)
4674
        hite.Anchored = true
4675
        hite.CanCollide = false
4676
        hite.FormFactor = 3
4677
        hite.Name = "Ring"
4678
        hite.Material = "Neon"
4679
        hite.Size = Vector3.new(1, 1, 1)
4680
        hite.Transparency = 1
4681
        hite.TopSurface = 0
4682
        hite.BottomSurface = 0
4683
hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
4684
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
4685
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
4686
coroutine.resume(coroutine.create(function()
4687
local eff = Instance.new("ParticleEmitter",hite)
4688
eff.Texture = "rbxassetid://1175838406"
4689
eff.LightEmission = 0.95
4690
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4691
eff.Rate = 1000
4692
eff.Lifetime = NumberRange.new(1)
4693
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
4694
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4695
eff.Speed = NumberRange.new(10,50)
4696
eff.Drag = 5
4697
eff.Rotation = NumberRange.new(-500,500)
4698
eff.VelocitySpread = 100000
4699
wait(0.25)
4700
eff.Enabled = false
4701
end))
4702
coroutine.resume(coroutine.create(function()
4703
for i = 0, 1 do
4704
    swait()
4705
        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)
4706
        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)
4707
end
4708
end))
4709
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)
4710
MagniDamage(hite, 3, 30,40, 0, "Normal")
4711
game:GetService("Debris"):AddItem(hite, 5)
4712
posit = posit + 2
4713
end
4714
    for i = 0,1,0.1 do
4715
        swait()
4716
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)
4717
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
4718
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
4719
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
4720
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
4721
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)
4722
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)
4723
    end
4724
    for i = 0,1,0.1 do
4725
        swait()
4726
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)
4727
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
4728
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
4729
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
4730
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
4731
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)
4732
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)
4733
    end
4734
    posit = -6
4735
    for i = 0, 6 do
4736
CameraEnshaking(2,11)
4737
local hite = Instance.new("Part", char)
4738
        hite.Anchored = true
4739
        hite.CanCollide = false
4740
        hite.FormFactor = 3
4741
        hite.Name = "Ring"
4742
        hite.Material = "Neon"
4743
        hite.Size = Vector3.new(1, 1, 1)
4744
        hite.Transparency = 1
4745
        hite.TopSurface = 0
4746
        hite.BottomSurface = 0
4747
hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
4748
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
4749
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
4750
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)
4751
coroutine.resume(coroutine.create(function()
4752
local eff = Instance.new("ParticleEmitter",hite)
4753
eff.Texture = "rbxassetid://1175838406"
4754
eff.LightEmission = 0.95
4755
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4756
eff.Rate = 1000
4757
eff.Lifetime = NumberRange.new(1)
4758
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
4759
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4760
eff.Speed = NumberRange.new(20,70)
4761
eff.Drag = 5
4762
eff.Rotation = NumberRange.new(-500,500)
4763
eff.VelocitySpread = 100000
4764
wait(0.25)
4765
eff.Enabled = false
4766
end))
4767
coroutine.resume(coroutine.create(function()
4768
for i = 0, 2 do
4769
    swait()
4770
        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)
4771
        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)
4772
        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)
4773
end
4774
end))
4775
MagniDamage(hite, 5, 40,70, 0, "Normal")
4776
game:GetService("Debris"):AddItem(hite, 5)
4777
posit = posit + 2
4778
    end
4779
    for i = 0,1,0.1 do
4780
        swait()
4781
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)
4782
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
4783
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
4784
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
4785
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
4786
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)
4787
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)
4788
    end
4789
    hum.WalkSpeed = storehumanoidWS
4790
attack = false
4791
end
4792
4793
function CorruptBlink()
4794
for i = 0, 14 do
4795
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)
4796
end
4797
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4798
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
4799
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
4800
CameraEnshaking(2,10)
4801
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
4802
if v:FindFirstChild('Head') then
4803
dmg(v)
4804
end
4805
end
4806
for i = 0, 14 do
4807
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)
4808
end
4809
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4810
end
4811
function PureBomb()
4812
attack = true
4813
hum.WalkSpeed = 0
4814
local orb = Instance.new("Part", char)
4815
        orb.Anchored = true
4816
        orb.BrickColor = BrickColor.new("Toothpaste")
4817
        orb.CanCollide = false
4818
        orb.FormFactor = 3
4819
        orb.Name = "Ring"
4820
        orb.Material = "Neon"
4821
        orb.Size = Vector3.new(1, 1, 1)
4822
        orb.Transparency = 0
4823
        orb.TopSurface = 0
4824
        orb.BottomSurface = 0
4825
        local orbm = Instance.new("SpecialMesh", orb)
4826
        orbm.MeshType = "Sphere"
4827
orbm.Name = "SizeMesh"
4828
orbm.Scale = vt(0,0,0)
4829
local scaled = 0.1
4830
local posid = 0
4831
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
4832
for i = 0, 5, 0.1 do
4833
swait()
4834
scaled = scaled - 0.001
4835
posid = posid - scaled
4836
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4837
local scaled = 0.1
4838
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4839
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)
4840
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)
4841
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)
4842
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)
4843
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)
4844
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4845
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4846
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)
4847
end
4848
for i = 0, 2, 0.1 do
4849
swait()
4850
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4851
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)
4852
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)
4853
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)
4854
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
4855
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
4856
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)
4857
end
4858
coroutine.resume(coroutine.create(function()
4859
orb.Anchored = false
4860
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
4861
    local a = Instance.new("Part",workspace)
4862
    a.Name = "Direction"   
4863
    a.Anchored = true
4864
    a.BrickColor = bc("Bright red")
4865
a.Material = "Neon"
4866
a.Transparency = 1
4867
    a.CanCollide = false
4868
    local ray = Ray.new(
4869
        orb.CFrame.p,                           -- origin
4870
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4871
    )
4872
    local ignore = orb
4873
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4874
    a.BottomSurface = 10
4875
    a.TopSurface = 10
4876
    local distance = (orb.CFrame.p - position).magnitude
4877
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4878
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4879
orb.CFrame = a.CFrame
4880
a:Destroy()
4881
local bv = Instance.new("BodyVelocity")
4882
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4883
bv.velocity = orb.CFrame.lookVector*125
4884
bv.Parent = orb
4885
local hitted = false
4886
game:GetService("Debris"):AddItem(orb, 15)
4887
wait()
4888
local hit =orb.Touched:connect(function(hit)
4889
    if hitted == false then
4890
    hitted = true
4891
CameraEnshaking(10,2.5)
4892
CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
4893
    MagniDamage(orb, 65, 65,90, 0, "Normal")
4894
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
4895
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
4896
for i = 0, 49 do
4897
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)
4898
end
4899
for i = 0, 9 do
4900
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)
4901
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)
4902
end
4903
orb.Anchored = true
4904
orb.Transparency = 1
4905
wait(8)
4906
orb:Destroy()
4907
end
4908
end)
4909
end))
4910
for i = 0, 1, 0.1 do
4911
swait()
4912
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)
4913
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)
4914
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)
4915
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
4916
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
4917
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)
4918
end
4919
hum.WalkSpeed = storehumanoidWS
4920
attack = false
4921
end
4922
4923
function BanishingOrb()
4924
attack = true
4925
hum.WalkSpeed = 0
4926
local orb = Instance.new("Part", char)
4927
        orb.Anchored = true
4928
        orb.BrickColor = BrickColor.new("Black")
4929
        orb.CanCollide = false
4930
        orb.FormFactor = 3
4931
        orb.Name = "Ring"
4932
        orb.Material = "Neon"
4933
        orb.Size = Vector3.new(1, 1, 1)
4934
        orb.Transparency = 0
4935
        orb.TopSurface = 0
4936
        orb.BottomSurface = 0
4937
        local orbm = Instance.new("SpecialMesh", orb)
4938
        orbm.MeshType = "Sphere"
4939
orbm.Name = "SizeMesh"
4940
orbm.Scale = vt(0,0,0)
4941
local scaled = 0.1
4942
local posid = 0
4943
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
4944
for i = 0, 5, 0.1 do
4945
swait()
4946
scaled = scaled - 0.001
4947
posid = posid - scaled
4948
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4949
local scaled = 0.1
4950
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4951
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("Black"),10)
4952
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)
4953
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)
4954
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)
4955
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4956
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4957
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)
4958
end
4959
for i = 0, 2, 0.1 do
4960
swait()
4961
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4962
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)
4963
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)
4964
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)
4965
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
4966
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
4967
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)
4968
end
4969
coroutine.resume(coroutine.create(function()
4970
orb.Anchored = false
4971
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
4972
	local a = Instance.new("Part",workspace)
4973
	a.Name = "Direction"	
4974
	a.Anchored = true
4975
	a.BrickColor = bc("Bright red")
4976
a.Material = "Neon"
4977
a.Transparency = 1
4978
	a.CanCollide = false
4979
	local ray = Ray.new(
4980
	    orb.CFrame.p,                           -- origin
4981
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4982
	) 
4983
	local ignore = orb
4984
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4985
	a.BottomSurface = 10
4986
	a.TopSurface = 10
4987
	local distance = (orb.CFrame.p - position).magnitude
4988
	a.Size = Vector3.new(0.1, 0.1, 0.1)
4989
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4990
orb.CFrame = a.CFrame
4991
a:Destroy()
4992
local bv = Instance.new("BodyVelocity")
4993
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4994
bv.velocity = orb.CFrame.lookVector*0
4995
bv.Parent = orb
4996
local hitted = false
4997
local rate = 0
4998
coroutine.resume(coroutine.create(function()
4999
for i = 0, 24 do
5000
wait(0.1)
5001
rate = rate + 0.25
5002
bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
5003
for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
5004
if v:FindFirstChild('Head') then
5005
dmg(v)
5006
end
5007
end
5008
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
5009
sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5010
sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
5011
end
5012
orb.Anchored = true
5013
orb.Transparency = 1
5014
for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
5015
if v:FindFirstChild('Head') then
5016
dmg(v)
5017
end
5018
end
5019
local eff = Instance.new("ParticleEmitter",orb)
5020
eff.Texture = "rbxassetid://296874871"
5021
eff.LightEmission = 0.95
5022
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5023
eff.Rate = 1000000000
5024
eff.Lifetime = NumberRange.new(3)
5025
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)})
5026
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
5027
eff.Speed = NumberRange.new(30)
5028
eff.Acceleration = vt(0,-15,0)
5029
eff.Rotation = NumberRange.new(-500,500)
5030
eff.VelocitySpread = 100000
5031
eff.RotSpeed = NumberRange.new(-500,500)
5032
coroutine.resume(coroutine.create(function()
5033
	wait(0.6)
5034
	eff.Enabled = false
5035
end))
5036
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
5037
CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
5038
sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
5039
sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5040
sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
5041
game:GetService("Debris"):AddItem(orb, 15)
5042
end))
5043
end))
5044
for i = 0, 1, 0.1 do
5045
swait()
5046
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)
5047
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)
5048
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)
5049
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
5050
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
5051
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)
5052
end
5053
hum.WalkSpeed = storehumanoidWS
5054
attack = false
5055
end
5056
5057
5058
function ChaosGroundStrike()
5059
attack = true
5060
for i = 0, 2, 0.1 do
5061
swait()
5062
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)
5063
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)
5064
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5065
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5066
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
5067
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
5068
end
5069
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
5070
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
5071
CameraEnshaking(100,100)
5072
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
5073
if v:FindFirstChild('Head') then
5074
dmg(v)
5075
end
5076
end
5077
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
5078
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
5079
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
5080
for i = 0, 2, 0.1 do
5081
swait()
5082
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)
5083
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)
5084
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)
5085
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)
5086
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
5087
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
5088
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
5089
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
5090
end
5091
attack = false
5092
end
5093
5094
5095
5096
function Starfall()
5097
attack = true
5098
hum.WalkSpeed = 0
5099
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
5100
for i = 0, 5, 0.1 do
5101
swait()
5102
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)
5103
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)
5104
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)
5105
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)
5106
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)
5107
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
5108
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)
5109
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)
5110
end
5111
local Overed = false
5112
CameraEnshaking(2,20)
5113
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5114
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5115
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
5116
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
5117
local orb = Instance.new("Part", char)
5118
        orb.Anchored = true
5119
        orb.BrickColor = BrickColor.new("Toothpaste")
5120
        orb.CanCollide = false
5121
        orb.FormFactor = 3
5122
        orb.Name = "Remenant"
5123
        orb.Material = "Neon"
5124
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
5125
        orb.Size = Vector3.new(1, 1, 1)
5126
        orb.Transparency = 1
5127
        orb.TopSurface = 0
5128
        orb.BottomSurface = 0
5129
hum.WalkSpeed = storehumanoidWS
5130
coroutine.resume(coroutine.create(function()
5131
for i = 0, 9 do
5132
swait(10)
5133
				 local lb = Instance.new("Part")
5134
    lb.Color = MAINRUINCOLOR.Color
5135
     lb.CanCollide = false
5136
lb.Material = "Neon"
5137
     lb.Anchored = true
5138
lb.TopSurface = 0
5139
        lb.BottomSurface = 0
5140
     lb.Transparency = 0
5141
     lb.Size = vt(1,1,1)
5142
     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)))
5143
lb.Anchored = false
5144
  lb.Parent = char
5145
local thingery = Instance.new("SpecialMesh",lb)
5146
     thingery.MeshType = "Sphere"
5147
thingery.Scale = vt(20,20,20)
5148
game:GetService("Debris"):AddItem(lb, 10)
5149
  local bv = Instance.new("BodyVelocity")
5150
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5151
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
5152
  bv.Parent = lb
5153
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
5154
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
5155
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
5156
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
5157
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
5158
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
5159
local hitted = false
5160
coroutine.resume(coroutine.create(function()
5161
while true do
5162
swait(1)
5163
if lb.Parent ~= nil and hitted == false then
5164
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)
5165
elseif lb.Parent == nil then
5166
break
5167
end
5168
end
5169
end))
5170
5171
game:GetService("Debris"):AddItem(a, 0.1)
5172
5173
coroutine.resume(coroutine.create(function()
5174
swait(1)
5175
lb.Touched:connect(function(hit)
5176
if hitted == false then
5177
hitted = true
5178
lb.Transparency = 1
5179
lb.Anchored = true
5180
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
5181
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
5182
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
5183
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
5184
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
5185
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
5186
MagniDamage(lb, 45, 45,85, 0, "Normal")
5187
CameraEnshaking(1,5)
5188
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
5189
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
5190
for i = 0, 9 do
5191
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)
5192
end
5193
for i = 0, 49 do
5194
swait()
5195
MagniDamage(lb, 30, 2,4, 0, "Normal")
5196
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)
5197
end
5198
end
5199
end)
5200
end))
5201
end
5202
Overed = true
5203
orb:Destroy()
5204
end))
5205
5206
attack = false
5207
end
5208
5209
function StarfallEX()
5210
attack = true
5211
hum.WalkSpeed = 0
5212
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
5213
for i = 0, 10, 0.1 do
5214
swait()
5215
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)
5216
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)
5217
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)
5218
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)
5219
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)
5220
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
5221
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)
5222
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)
5223
end
5224
local Overed = false
5225
CameraEnshaking(2,20)
5226
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5227
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5228
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
5229
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
5230
local orb = Instance.new("Part", char)
5231
        orb.Anchored = true
5232
        orb.BrickColor = BrickColor.new("Toothpaste")
5233
        orb.CanCollide = false
5234
        orb.FormFactor = 3
5235
        orb.Name = "Remenant"
5236
        orb.Material = "Neon"
5237
orb.CFrame = root.CFrame*CFrame.new(0,250,0)
5238
        orb.Size = Vector3.new(1, 1, 1)
5239
        orb.Transparency = 1
5240
        orb.TopSurface = 0
5241
        orb.BottomSurface = 0
5242
hum.WalkSpeed = storehumanoidWS
5243
coroutine.resume(coroutine.create(function()
5244
for i = 0, 4 do
5245
swait(15)
5246
				 local lb = Instance.new("Part")
5247
    lb.Color = MAINRUINCOLOR.Color
5248
     lb.CanCollide = false
5249
lb.Material = "Neon"
5250
     lb.Anchored = true
5251
lb.TopSurface = 0
5252
        lb.BottomSurface = 0
5253
     lb.Transparency = 0
5254
     lb.Size = vt(1,1,1)
5255
     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)))
5256
lb.Anchored = false
5257
  lb.Parent = char
5258
local thingery = Instance.new("SpecialMesh",lb)
5259
     thingery.MeshType = "Sphere"
5260
thingery.Scale = vt(50,50,50)
5261
game:GetService("Debris"):AddItem(lb, 10)
5262
  local bv = Instance.new("BodyVelocity")
5263
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5264
  bv.velocity = lb.CFrame.lookVector*math.random(50,420)
5265
  bv.Parent = lb
5266
sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
5267
sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
5268
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
5269
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
5270
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
5271
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
5272
local hitted = false
5273
coroutine.resume(coroutine.create(function()
5274
while true do
5275
swait(1)
5276
if lb.Parent ~= nil and hitted == false then
5277
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)
5278
elseif lb.Parent == nil then
5279
break
5280
end
5281
end
5282
end))
5283
5284
game:GetService("Debris"):AddItem(a, 0.1)
5285
5286
coroutine.resume(coroutine.create(function()
5287
swait(1)
5288
lb.Touched:connect(function(hit)
5289
if hitted == false then
5290
hitted = true
5291
lb.Transparency = 1
5292
lb.Anchored = true
5293
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
5294
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
5295
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
5296
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
5297
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
5298
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
5299
MagniDamage(lb, 50, 60,99, 0, "Normal")
5300
CameraEnshaking(1,5)
5301
sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
5302
sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
5303
for i = 0, 9 do
5304
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)
5305
end
5306
for i = 0, 99 do
5307
swait()
5308
MagniDamage(lb, 30, 6,18, 0, "Normal")
5309
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)
5310
end
5311
end
5312
end)
5313
end))
5314
end
5315
Overed = true
5316
orb:Destroy()
5317
end))
5318
5319
attack = false
5320
end
5321
5322
function DivineBlast()
5323
attack = true
5324
hum.WalkSpeed = 0
5325
local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
5326
elocacenter.Anchored = true
5327
elocacenter.CFrame = sorb.CFrame
5328
local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5329
eloca1.Anchored = true
5330
eloca1.CFrame = elocacenter.CFrame
5331
local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5332
eloca2.Anchored = true
5333
eloca2.CFrame = elocacenter.CFrame
5334
local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5335
eloca3.Anchored = true
5336
eloca3.CFrame = elocacenter.CFrame
5337
local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5338
eloca4.Anchored = true
5339
eloca4.CFrame = elocacenter.CFrame
5340
local lookavec = 0 
5341
local speeds = 0
5342
CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
5343
for i = 0, 3, 0.1 do
5344
swait()
5345
---
5346
lookavec = lookavec + 0.1
5347
speeds = speeds + 10
5348
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5349
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5350
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)
5351
5352
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5353
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)
5354
5355
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5356
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)
5357
5358
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5359
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)
5360
---
5361
root.CFrame = FaceMouse()[1]
5362
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)
5363
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)
5364
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)
5365
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)
5366
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5367
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)
5368
end
5369
for i = 0, 3, 0.1 do
5370
swait()
5371
---
5372
speeds = speeds + 10
5373
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5374
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5375
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)
5376
5377
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5378
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)
5379
5380
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5381
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)
5382
5383
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5384
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)
5385
---
5386
root.CFrame = FaceMouse()[1]
5387
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)
5388
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)
5389
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)
5390
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)
5391
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5392
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)
5393
end
5394
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
5395
for i = 0, 3, 0.1 do
5396
swait()
5397
---
5398
speeds = speeds + 10
5399
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5400
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5401
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)
5402
5403
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5404
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)
5405
5406
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5407
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)
5408
5409
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5410
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)
5411
---
5412
root.CFrame = FaceMouse()[1]
5413
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)
5414
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)
5415
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(40)),.1)
5416
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)
5417
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
5418
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)
5419
end
5420
coroutine.resume(coroutine.create(function()
5421
local a = Instance.new("Part",Character)
5422
	a.Name = "Direction"	
5423
	a.Anchored = true
5424
	a.BrickColor = bc("White")
5425
a.Material = "Neon"
5426
a.Transparency = 0
5427
a.Shape = "Cylinder"
5428
	a.CanCollide = false
5429
local a2 = Instance.new("Part",Character)
5430
	a2.Name = "Direction"	
5431
	a2.Anchored = true
5432
	a2.BrickColor = bc("Bright yellow")
5433
a2.Material = "Neon"
5434
a2.Transparency = 0
5435
a2.Shape = "Cylinder"
5436
	a2.CanCollide = false
5437
local b = Instance.new("Part",Character)
5438
	b.Name = "HitDirect"	
5439
	b.Anchored = true
5440
	b.BrickColor = bc("Cool yellow")
5441
b.Material = "Neon"
5442
b.Transparency = 1
5443
	b.CanCollide = false
5444
	local ray = Ray.new(
5445
	    elocacenter.CFrame.p,                           -- origin
5446
	    (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
5447
	) 
5448
	local ignore = Character
5449
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5450
	a.BottomSurface = 10
5451
	a.TopSurface = 10
5452
	a2.BottomSurface = 10
5453
	a2.TopSurface = 10
5454
	local distance = (elocacenter.CFrame.p - position).magnitude
5455
	a.Size = Vector3.new(distance, 1, 1)
5456
	a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5457
	a2.Size = Vector3.new(distance, 1, 1)
5458
	a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5459
b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
5460
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5461
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
5462
game:GetService("Debris"):AddItem(a, 10)
5463
game:GetService("Debris"):AddItem(a2, 10)
5464
game:GetService("Debris"):AddItem(b, 10)
5465
local msh = Instance.new("SpecialMesh",a)
5466
msh.MeshType = "Cylinder"
5467
msh.Scale = vt(1,2,2)
5468
local msh2 = Instance.new("SpecialMesh",a2)
5469
msh2.MeshType = "Cylinder"
5470
msh2.Scale = vt(1,2.5,2.5)
5471
CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
5472
coroutine.resume(coroutine.create(function()
5473
for i = 0,10,0.1 do
5474
swait()
5475
msh.Scale = msh.Scale + vt(0,0.05,0.05)
5476
a.Transparency = a.Transparency + 0.025
5477
msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
5478
a2.Transparency = a2.Transparency + 0.05
5479
end
5480
a:Destroy()
5481
a2:Destroy()
5482
end))
5483
CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
5484
CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
5485
CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
5486
CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
5487
CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
5488
CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
5489
MagniDamage(b, 25, 40,65, 0, "Normal")
5490
for i = 0, 49 do
5491
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)
5492
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)
5493
end
5494
sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
5495
sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
5496
sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5497
sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5498
sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5499
sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5500
end))
5501
game:GetService("Debris"):AddItem(elocacenter, 5)
5502
hum.WalkSpeed = storehumanoidWS
5503
attack = false
5504
end
5505
5506
function StarDivision()
5507
attack = true
5508
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
5509
for i = 0, 2, 0.1 do
5510
swait()
5511
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)
5512
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)
5513
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)
5514
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)
5515
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
5516
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)
5517
end
5518
local orb = Instance.new("Part", char)
5519
        orb.BrickColor = MAINRUINCOLOR
5520
        orb.CanCollide = false
5521
        orb.FormFactor = 3
5522
        orb.Name = "Ring"
5523
        orb.Material = "Neon"
5524
        orb.Size = Vector3.new(1, 1, 1)
5525
        orb.Transparency = 0
5526
        orb.TopSurface = 0
5527
        orb.BottomSurface = 0
5528
        local orbm = Instance.new("SpecialMesh", orb)
5529
        orbm.MeshType = "Sphere"
5530
orbm.Name = "SizeMesh"
5531
orbm.Scale = vt(2,2,2)
5532
local a = Instance.new("Part",workspace)
5533
	a.Name = "Direction"	
5534
	a.Anchored = true
5535
	a.BrickColor = bc("Bright red")
5536
a.Material = "Neon"
5537
a.Transparency = 1
5538
	a.CanCollide = false
5539
	local ray = Ray.new(
5540
	    sorb.CFrame.p,                           -- origin
5541
	    (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
5542
	) 
5543
	local ignore = sorb
5544
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5545
	a.BottomSurface = 10
5546
	a.TopSurface = 10
5547
	local distance = (sorb.CFrame.p - position).magnitude
5548
	a.Size = Vector3.new(0.1, 0.1, 0.1)
5549
	a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
5550
orb.CFrame = a.CFrame
5551
a:Destroy()
5552
local bv = Instance.new("BodyVelocity")
5553
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5554
bv.velocity = orb.CFrame.lookVector*100
5555
bv.Parent = orb
5556
local hitted = false
5557
game:GetService("Debris"):AddItem(orb, 10)
5558
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
5559
CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
5560
CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
5561
CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
5562
CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
5563
coroutine.resume(coroutine.create(function()
5564
while true do
5565
swait(1)
5566
if orb.Parent ~= nil and hitted == false then
5567
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)
5568
elseif orb.Parent == nil then
5569
break
5570
end
5571
end
5572
end))
5573
coroutine.resume(coroutine.create(function()
5574
swait(1)
5575
orb.Touched:connect(function(hit)
5576
if hitted == false then
5577
hitted = true
5578
game:GetService("Debris"):AddItem(orb, 5)
5579
orb.Transparency = 1
5580
orb.Anchored = true
5581
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5582
elocacenter.Anchored = true
5583
elocacenter.CFrame = orb.CFrame
5584
elocacenter.Orientation = vt(0,0,0)
5585
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5586
eloca1.Anchored = true
5587
eloca1.CFrame = elocacenter.CFrame
5588
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5589
eloca2.Anchored = true
5590
eloca2.CFrame = elocacenter.CFrame
5591
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5592
eloca3.Anchored = true
5593
eloca3.CFrame = elocacenter.CFrame
5594
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5595
eloca4.Anchored = true
5596
eloca4.CFrame = elocacenter.CFrame
5597
local lookavec = 0 
5598
local speeds = 0
5599
CameraEnshaking(1,1)
5600
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
5601
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5602
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5603
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5604
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5605
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5606
for i = 0, 99 do
5607
swait()
5608
lookavec = lookavec + 1
5609
speeds = speeds + 0.1
5610
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5611
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5612
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)
5613
5614
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5615
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)
5616
5617
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5618
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)
5619
5620
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5621
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)
5622
end
5623
5624
for i = 0, 149 do
5625
swait()
5626
speeds = speeds + 0.1
5627
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5628
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5629
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)
5630
5631
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5632
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)
5633
5634
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5635
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)
5636
5637
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5638
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)
5639
end
5640
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
5641
if v:FindFirstChild('Head') then
5642
dmg(v)
5643
end
5644
end
5645
CameraEnshaking(7,30)
5646
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
5647
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
5648
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
5649
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
5650
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
5651
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
5652
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
5653
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5654
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5655
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5656
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5657
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5658
for i = 0, 24 do
5659
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)
5660
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)
5661
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)
5662
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)
5663
end
5664
coroutine.resume(coroutine.create(function()
5665
for i = 0, 499 do
5666
swait(1)
5667
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
5668
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)
5669
end
5670
elocacenter:Destroy()
5671
eloca1:Destroy()
5672
eloca2:Destroy()
5673
eloca3:Destroy()
5674
eloca4:Destroy()
5675
end))
5676
end
5677
end)
5678
end))
5679
attack = false
5680
end
5681
5682
5683
function THE_TRUE_POWER_OF_VIOLENCE()
5684
attack = true
5685
hum.WalkSpeed = 0
5686
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
5687
for i = 0, 10, 0.1 do
5688
swait()
5689
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)
5690
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)
5691
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)),.4)
5692
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(40)),.4)
5693
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
5694
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5695
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)
5696
end
5697
local orb = Instance.new("Part", char)
5698
        orb.BrickColor = MAINRUINCOLOR
5699
        orb.CanCollide = false
5700
        orb.FormFactor = 3
5701
        orb.Name = "Ring"
5702
        orb.Material = "Neon"
5703
        orb.Size = Vector3.new(1, 1, 1)
5704
        orb.Transparency = 0
5705
        orb.TopSurface = 0
5706
        orb.BottomSurface = 0
5707
orb.CFrame = sorb.CFrame
5708
        local orbm = Instance.new("SpecialMesh", orb)
5709
        orbm.MeshType = "Sphere"
5710
orbm.Name = "SizeMesh"
5711
orbm.Scale = vt(0,0,0)
5712
        local sbs = Instance.new("BodyPosition", orb)
5713
        sbs.P = 3000
5714
        sbs.D = 1000
5715
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5716
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
5717
CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
5718
sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5719
sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5720
sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5721
sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5722
sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5723
for i = 0, 10, 0.1 do
5724
swait()
5725
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)
5726
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)
5727
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)
5728
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(60)),.6)
5729
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5730
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5731
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)
5732
end
5733
orb.Anchored = true
5734
local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5735
elocacenter.Anchored = true
5736
elocacenter.CFrame = orb.CFrame
5737
elocacenter.Orientation = vt(0,0,0)
5738
local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5739
eloca1.Anchored = true
5740
eloca1.CFrame = elocacenter.CFrame
5741
local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5742
eloca2.Anchored = true
5743
eloca2.CFrame = elocacenter.CFrame
5744
local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5745
eloca3.Anchored = true
5746
eloca3.CFrame = elocacenter.CFrame
5747
local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5748
eloca4.Anchored = true
5749
eloca4.CFrame = elocacenter.CFrame
5750
local lookavec = 0 
5751
local speeds = 0
5752
CameraEnshaking(1,1)
5753
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
5754
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
5755
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
5756
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
5757
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5758
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5759
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5760
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5761
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5762
for i = 0, 99 do
5763
swait()
5764
lookavec = lookavec + 2.5
5765
speeds = speeds + 0.25
5766
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5767
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5768
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)
5769
5770
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5771
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)
5772
5773
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5774
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)
5775
5776
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5777
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)
5778
end
5779
5780
for i = 0, 149 do
5781
swait()
5782
speeds = speeds + 0.25
5783
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5784
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5785
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)
5786
5787
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5788
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)
5789
5790
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5791
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)
5792
5793
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5794
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)
5795
end
5796
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
5797
for i = 0, 99 do
5798
swait()
5799
lookavec = lookavec - 2.5
5800
speeds = speeds + 0.25
5801
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5802
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5803
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)
5804
5805
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5806
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)
5807
5808
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5809
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)
5810
5811
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5812
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)
5813
end
5814
local scaled = 0.1*75
5815
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
5816
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
5817
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
5818
CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
5819
CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
5820
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
5821
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5822
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5823
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5824
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5825
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5826
for i = 0, 10, 0.1 do
5827
swait()
5828
scaled = scaled - 0.001*75
5829
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
5830
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)
5831
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)
5832
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)
5833
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(60)),.6)
5834
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5835
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5836
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)
5837
end
5838
for x = 0, 4 do
5839
for i = 0, 9 do
5840
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)
5841
end
5842
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
5843
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
5844
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5845
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5846
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5847
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5848
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5849
for i = 0, 5, 0.1 do
5850
swait()
5851
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)
5852
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)
5853
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)
5854
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)),.1)
5855
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)
5856
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
5857
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
5858
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
5859
end
5860
end
5861
local speedearn = 0
5862
CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
5863
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
5864
CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
5865
for i = 0, 30, 0.1 do
5866
swait()
5867
scaled = scaled - 0.001*75/10
5868
speedearn = speedearn + 0.5
5869
for i = 0, 4 do 
5870
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)
5871
end
5872
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)
5873
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
5874
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)
5875
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)
5876
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)
5877
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)
5878
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)),.6)
5879
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
5880
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
5881
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
5882
end
5883
orb.Transparency = 1
5884
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
5885
if v:FindFirstChild('Head') then
5886
dmg(v)
5887
end
5888
end
5889
CameraEnshaking(7,30)
5890
MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
5891
CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
5892
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
5893
CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
5894
CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
5895
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5896
CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
5897
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
5898
CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
5899
CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
5900
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
5901
CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
5902
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
5903
CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
5904
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5905
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5906
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5907
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5908
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5909
for i = 0, 99 do
5910
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)
5911
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)
5912
end
5913
for i = 0, 24 do
5914
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)
5915
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)
5916
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)
5917
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)
5918
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)
5919
end
5920
game:GetService("Debris"):AddItem(orb, 10)
5921
hum.WalkSpeed = storehumanoidWS
5922
attack = false
5923
end
5924
5925
5926
function ViolentRing()
5927
attack = true
5928
CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
5929
for i = 0, 2, 0.1 do
5930
swait()
5931
local snap = math.random(1,10)
5932
if snap == 1 then
5933
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)
5934
end
5935
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)
5936
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)
5937
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)
5938
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)
5939
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)
5940
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)
5941
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
5942
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
5943
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)
5944
RootPart.CFrame = FaceMouse()[1]
5945
end
5946
local orb = Instance.new("Part", char)
5947
        orb.BrickColor = MAINRUINCOLOR
5948
        orb.CanCollide = false
5949
        orb.FormFactor = 3
5950
        orb.Name = "Ring"
5951
        orb.Material = "Neon"
5952
        orb.Size = Vector3.new(1, 1, 1)
5953
        orb.Transparency = 0
5954
        orb.TopSurface = 0
5955
        orb.BottomSurface = 0
5956
        local orbm = Instance.new("SpecialMesh", orb)
5957
        orbm.MeshType = "Sphere"
5958
orbm.Name = "SizeMesh"
5959
orbm.Scale = vt(2,2,2)
5960
orb.CFrame = mouse.Hit
5961
local bv = Instance.new("BodyVelocity")
5962
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5963
bv.velocity = orb.CFrame.lookVector*100
5964
bv.Parent = orb
5965
local hitted = false
5966
coroutine.resume(coroutine.create(function()
5967
game:GetService("Debris"):AddItem(orb, 5)
5968
orb.Transparency = 1
5969
orb.Anchored = true
5970
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5971
elocacenter.Anchored = true
5972
elocacenter.CFrame = orb.CFrame
5973
elocacenter.Orientation = vt(0,0,0)
5974
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5975
eloca1.Anchored = true
5976
eloca1.CFrame = elocacenter.CFrame
5977
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5978
eloca2.Anchored = true
5979
eloca2.CFrame = elocacenter.CFrame
5980
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5981
eloca3.Anchored = true
5982
eloca3.CFrame = elocacenter.CFrame
5983
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5984
eloca4.Anchored = true
5985
eloca4.CFrame = elocacenter.CFrame
5986
local lookavec = 0 
5987
local speeds = 0
5988
CameraEnshaking(1,1)
5989
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
5990
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5991
sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5992
sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5993
sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5994
sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5995
for i = 0, 24 do
5996
swait()
5997
lookavec = lookavec + 3.5
5998
speeds = speeds + 1
5999
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
6000
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
6001
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)
6002
6003
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
6004
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)
6005
6006
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
6007
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)
6008
6009
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
6010
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)
6011
end
6012
6013
local risen = 0
6014
for i = 0, 49 do
6015
swait()
6016
risen = risen + 0.05
6017
speeds = speeds + 0.1
6018
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
6019
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
6020
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)
6021
6022
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
6023
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)
6024
6025
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
6026
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)
6027
6028
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
6029
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)
6030
end
6031
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
6032
if v:FindFirstChild('Head') then
6033
dmg(v)
6034
end
6035
end
6036
CameraEnshaking(4,10)
6037
MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
6038
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
6039
CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
6040
CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
6041
CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
6042
CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
6043
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
6044
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
6045
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6046
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6047
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6048
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6049
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6050
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
6051
for i = 0, 24 do
6052
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)
6053
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)
6054
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)
6055
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)
6056
end
6057
coroutine.resume(coroutine.create(function()
6058
wait(10)
6059
elocacenter:Destroy()
6060
eloca1:Destroy()
6061
eloca2:Destroy()
6062
eloca3:Destroy()
6063
eloca4:Destroy()
6064
end))
6065
end))
6066
attack = false
6067
end
6068
6069
function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
6070
    attack = true
6071
    hum.WalkSpeed = 0
6072
    storehumanoidWS = 75
6073
    hum.JumpPower = 0
6074
    newThemeCust("rbxassetid://1420353940",0,1,1)
6075
    kan.TimePosition = 0
6076
    ModeOfGlitch = 103
6077
    repeat swait() until kan.IsLoaded
6078
    bosschatfunc("Riddle me this..",MAINRUINCOLOR.Color,1)
6079
    for i = 0, 14, .1 do
6080
        swait()
6081
        RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6082
        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)
6083
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
6084
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
6085
        RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6086
        LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6087
    end
6088
    bosschatfunc("Riddle me that..",MAINRUINCOLOR.Color,1)
6089
    for i = 0, 12, .1 do
6090
        swait()
6091
        RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6092
        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)
6093
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
6094
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
6095
        RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6096
        LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6097
    end
6098
    bosschatfunc("Who's afraid of Big black - X",MAINRUINCOLOR.Color,1)
6099
    for i = 0, 16, .1 do
6100
        swait()
6101
        RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6102
        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)
6103
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
6104
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
6105
        RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6106
        LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6107
    end
6108
    CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
6109
    CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
6110
    CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
6111
    CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
6112
    RecolorTextAndRename("Big Black - X",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
6113
    CameraEnshaking(5,2.5)
6114
    MAINRUINCOLOR = BrickColor.new("Really black")
6115
    sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6116
tl1.Enabled = true
6117
tl2.Enabled = true
6118
tl3.Enabled = true
6119
    for i, v in pairs(mw2:GetChildren()) do
6120
    if v:IsA("Part") then
6121
    v.BrickColor = BrickColor.new("Really black")
6122
    v.Material = "Glass"
6123
    end
6124
    end
6125
    for i, v in pairs(mw1:GetChildren()) do
6126
    if v:IsA("Part") then
6127
    v.Transparency = 0
6128
    v.BrickColor = BrickColor.new("Really black")
6129
    v.Material = "Glass"
6130
    end
6131
    end
6132
    for i, v in pairs(m:GetChildren()) do
6133
    if v:IsA("Part") then
6134
    v.BrickColor = BrickColor.new("Really black")
6135
    v.Material = "Glass"
6136
    end
6137
    end
6138
    for i, v in pairs(m2:GetChildren()) do
6139
    if v:IsA("Part") then
6140
    v.BrickColor = BrickColor.new("Dark stone grey")
6141
    v.Material = "Granite"
6142
    end
6143
    end
6144
    for i, v in pairs(m3:GetChildren()) do
6145
    if v:IsA("Part") then
6146
    v.BrickColor = BrickColor.new("Really black")
6147
    v.Material = "Glass"
6148
    end
6149
    end
6150
    for i, v in pairs(extrawingmod1:GetChildren()) do
6151
    if v:IsA("Part") then
6152
    v.Transparency = 0
6153
    v.BrickColor = BrickColor.new("Dark stone grey")
6154
    v.Material = "Glass"
6155
    end
6156
    end
6157
    for i, v in pairs(extrawingmod2:GetChildren()) do
6158
    if v:IsA("Part") then
6159
    v.Transparency = 0
6160
    v.BrickColor = BrickColor.new("Dark stone grey")
6161
    v.Material = "Glass"
6162
    end
6163
    end
6164
    for i = 0,2,0.1 do
6165
    swait()
6166
    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)
6167
    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)
6168
    RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
6169
    Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
6170
    RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
6171
    LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
6172
    end
6173
    hum.JumpPower = 50
6174
    hum.WalkSpeed = storehumanoidWS
6175
    attack = false
6176
end
6177
6178
function UniversalCollapse()
6179
attack = true
6180
local speedearn = 0
6181
hum.WalkSpeed = 0
6182
        local sbs = Instance.new("BodyPosition", root)
6183
        sbs.P = 3000
6184
        sbs.D = 1000
6185
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
6186
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
6187
CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
6188
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
6189
for i = 0, 110, 0.1 do
6190
swait()
6191
speedearn = speedearn + 0.1
6192
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)
6193
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)
6194
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)
6195
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)
6196
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)
6197
sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
6198
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)
6199
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)
6200
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)
6201
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6202
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)
6203
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)
6204
end
6205
CameraEnshaking(5,50)
6206
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
6207
for i = 0, 2 do 
6208
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
6209
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
6210
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
6211
CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
6212
end
6213
for i = 0, 49 do
6214
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)
6215
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)
6216
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)
6217
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)
6218
end
6219
sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6220
sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6221
sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6222
sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6223
sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6224
sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6225
sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6226
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6227
sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6228
sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6229
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6230
sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6231
for i = 0, 99 do
6232
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)
6233
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)
6234
end
6235
for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
6236
if v:FindFirstChild('Head') then
6237
dmg(v)
6238
end
6239
end
6240
MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
6241
sbs:Destroy()
6242
hum.WalkSpeed = storehumanoidWS
6243
attack = false
6244
end
6245
6246
function ITSNOTOVER()
6247
attack = true
6248
newThemeCust("rbxassetid://1180273873",0,1,1.25)
6249
kan.TimePosition = 44
6250
repeat swait() until kan.IsLoaded
6251
wait(8)
6252
bosschatfunc("We dont care what they say",MAINRUINCOLOR.Color,1)
6253
	for i = 0, 16, .1 do
6254
		swait()
6255
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6256
		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)
6257
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
6258
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
6259
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6260
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6261
		end
6262
bosschatfunc("We be here all day",MAINRUINCOLOR.Color,1)
6263
	for i = 0, 16, .1 do
6264
		swait()
6265
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6266
		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)
6267
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
6268
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
6269
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6270
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6271
		end
6272
bosschatfunc("We stay till its over",MAINRUINCOLOR.Color,1)
6273
	for i = 0, 14, .1 do
6274
		swait()
6275
RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6276
		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)
6277
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)	
6278
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
6279
		RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6280
		LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6281
	end
6282
	wait(1)
6283
bosschatfunc("Till world out sight",MAINRUINCOLOR.Color,1)
6284
	for i = 0, 16, .1 do
6285
		swait()
6286
		RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6287
        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)
6288
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
6289
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
6290
		LW.C0 = aclerp(LW.C0,CFrame.new(-1.25402236, 0.431008309, 0.117451549, 0.884577334, 0.388638854, 0.257842481, 0.312682211, -0.0839776248, -0.946138322, -0.346053123, 0.917555273, -0.195805177),Alpha)
6291
		RW.C0 = aclerp(RW.C0,CFrame.new(1.22954941, 0.384757012, 0.168471783, 0.915931404, 0.401068091, 0.0146304797, -0.379809946, 0.85445267, 0.354478538, 0.129668966, -0.330234885, 0.934949815),Alpha)
6292
		end
6293
bosschatfunc("We will stand,we will fight...",MAINRUINCOLOR.Color,1)
6294
	for i = 0, 16, .1 do
6295
		swait()
6296
		 RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6297
        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)
6298
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
6299
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0),.1)
6300
		LW.C0 = aclerp(LW.C0,CFrame.new(-1.15619826, 0.410764694, 0.308931053, 0.862226903, -0.506325424, 0.0141164251, 0.451236814, 0.780479908, 0.432708263, -0.230108798, -0.366722882, 0.901423633),Alpha)
6301
		RW.C0 = aclerp(RW.C0,CFrame.new(1.48984146, 0.433965802, -0.137121022, 0.754978359, -0.655723989, -0.00581999123, -0.244246826, -0.272958666, -0.930503726, 0.608564973, 0.703931689, -0.366236359),Alpha)
6302
		end
6303
bosschatfunc("TILL ITS NOT OVER...",Color3.new(0.5,0,0),1)
6304
	for i = 0, 16, .1 do
6305
		swait()
6306
		  RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6307
        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)
6308
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
6309
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
6310
		LW.C0 = aclerp(LW.C0,CFrame.new(-1.32246351, 0.253595859, 0.199904889, 0.862232804, -0.506315708, 0.0141151678, 0.451225579, 0.780480325, 0.432719588, -0.230109304, -0.366735876, 0.90141809),Alpha)
6311
		RW.C0 = aclerp(RW.C0,CFrame.new(1.33073413, 0.290129036, 0.183640629, 0.915928423, 0.401075214, 0.0146333817, -0.379820168, 0.854456067, 0.354459614, 0.129661351, -0.330217659, 0.934956849),Alpha)
6312
	end
6313
	wait(1)
6314
 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)
6315
    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)
6316
    RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
6317
    Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
6318
    RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
6319
    LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
6320
sphere(1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(1,100000,1),0.6,BrickColor.new("Maroon"))
6321
sphere(1,"Add",root.CFrame,vt(1,1,1),0.8,BrickColor.new("Really red"))
6322
for i = 0, 49 do
6323
PixelBlockX(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))),8,8,8,0.16,BrickColor.new("Maroon"),0)
6324
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,BrickColor.new("Really red"),0)
6325
slash(math.random(10,20)/10,5,true,"Round","Add","Out",Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-30, 30)), math.rad(math.random(-30, 30)), math.rad(math.random(-40, 40))),vt(0.05,0.01,0.05),math.random(50,60)/250,BrickColor.new("Really red"))
6326
end
6327
CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
6328
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
6329
CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
6330
attack = false
6331
               ModeOfGlitch = 999999999
6332
storehumanoidWS = 100
6333
hum.WalkSpeed = 100
6334
rainbowmode = false
6335
chaosmode = false
6336
RecolorTextAndRename("DETERMINED MICHEAL",Color3.new(0.5,0,0),BrickColor.new("Really red").Color,"Arcade")
6337
MAINRUINCOLOR = BrickColor.new("Really red")
6338
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
6339
end
6340
6341
function hugg()
6342
attack = true
6343
hum.WalkSpeed = 5
6344
local rsiz = math.random(5,15)
6345
for i = 0, 2, 0.1 do
6346
swait()
6347
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)
6348
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)
6349
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(0)),.3)
6350
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)
6351
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
6352
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
6353
end
6354
CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
6355
	local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6356
	hb.Anchored = true
6357
	hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6358
local huggedperson = nil
6359
local act = false
6360
local alreadydid = false
6361
for i = 0, 3, 0.1 do
6362
swait()
6363
if act == false then
6364
for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
6365
if v:FindFirstChild('Head') then
6366
if alreadydid == false then
6367
huggedperson = v
6368
hum.WalkSpeed = 0
6369
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6370
CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
6371
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
6372
CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
6373
local radm = math.random(1,3)
6374
if radm == 1 then
6375
bosschatfunc2("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
6376
elseif radm == 2 then
6377
bosschatfunc2("I..I'm interested in you..",MAINRUINCOLOR.Color,1)
6378
elseif radm == 3 then
6379
bosschatfunc2("Don't worry.. I'm with you..",MAINRUINCOLOR.Color,1)
6380
end
6381
root.Anchored = true
6382
coroutine.resume(coroutine.create(function()
6383
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
6384
huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
6385
end))
6386
chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
6387
alreadydid = true
6388
act = true
6389
print(huggedperson.Name)
6390
end
6391
end
6392
end
6393
hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6394
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)
6395
elseif act == true then
6396
coroutine.resume(coroutine.create(function()
6397
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6398
end))
6399
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)
6400
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6401
end
6402
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)
6403
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)
6404
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(0)),.3)
6405
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6406
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6407
end
6408
hb:Destroy()
6409
if act == true then
6410
for x = 0, 2 do
6411
for i = 0, 2, 0.1 do
6412
swait()
6413
coroutine.resume(coroutine.create(function()
6414
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6415
end))
6416
rsiz = math.random(5,15)
6417
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)
6418
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6419
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)
6420
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)
6421
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(0)),.3)
6422
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6423
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6424
end
6425
for i = 0, 2, 0.1 do
6426
swait()
6427
coroutine.resume(coroutine.create(function()
6428
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6429
end))
6430
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)
6431
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6432
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)
6433
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)
6434
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(0)),.3)
6435
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6436
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6437
end
6438
end
6439
end
6440
hum.WalkSpeed = storehumanoidWS
6441
root.Anchored = false
6442
if act == true then
6443
coroutine.resume(coroutine.create(function()
6444
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
6445
huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
6446
end))
6447
end
6448
hum.WalkSpeed = storehumanoidWS
6449
attack = false
6450
end
6451
6452
function lovesqueal()
6453
attack = true
6454
hum.WalkSpeed = 0
6455
CFuncs["Sound"].Create("rbxassetid://2500548008", root, 1, 1)
6456
local blush = Instance.new("Decal",hed)
6457
blush.Texture = "rbxassetid://898404027"
6458
blush.Face = "Front"
6459
for i = 0, 11, 0.1 do
6460
	swait()
6461
	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),math.rad(20 - 2 * math.cos(sine / 32))),.1)
6462
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(6),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 32))),.1)
6463
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6464
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
6465
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
6466
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
6467
end
6468
for x = 0, 1 do
6469
for i = 0, 1, 0.2 do
6470
	swait()
6471
	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),math.rad(-5 - 2 * math.cos(sine / 32))),.3)
6472
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(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3)
6473
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3)
6474
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
6475
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
6476
LW.C0=clerp(LW.C0,cf(-1,0.75 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3)
6477
end
6478
for i = 0, 1, 0.2 do
6479
	swait()
6480
	RH.C0=clerp(RH.C0,cf(1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 32))),.3)
6481
LH.C0=clerp(LH.C0,cf(-1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3)
6482
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0.025 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3)
6483
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
6484
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
6485
LW.C0=clerp(LW.C0,cf(-1,0.8 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3)
6486
end
6487
end
6488
coroutine.resume(coroutine.create(function()
6489
for i = 0, 49 do
6490
swait()
6491
blush.Transparency = blush.Transparency + 0.02
6492
end
6493
blush:Destroy()
6494
end))
6495
attack = false
6496
hum.WalkSpeed = storehumanoidWS	
6497
end
6498
6499
function cutesigh()
6500
attack = true
6501
hum.WalkSpeed = 0
6502
hum.JumpPower = 0
6503
bosschatfunc2("sigh~~",MAINRUINCOLOR.Color,1)
6504
local blush = Instance.new("Decal",hed)
6505
blush.Texture = "rbxassetid://898404027"
6506
blush.Face = "Front"
6507
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6508
for i = 0, 9, 0.1 do
6509
swait()
6510
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(25 + 1 * math.cos(sine / 34))),.2)
6511
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(-35 + 1 * math.cos(sine / 34))),.2)
6512
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.35,-0.175 + 0.05 * math.cos(sine / 28))*angles(math.rad(35),math.rad(0),math.rad(0)),.2)
6513
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 - 2.5 * math.cos(sine / 28)),math.rad(10 + 2.5 * math.cos(sine / 75)),math.rad(0)),.2)
6514
RW.C0=clerp(RW.C0,cf(1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(-1)),.2)
6515
LW.C0=clerp(LW.C0,cf(-1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(3)),.2)
6516
end
6517
coroutine.resume(coroutine.create(function()
6518
for i = 0, 49 do
6519
swait()
6520
blush.Transparency = blush.Transparency + 0.02
6521
end
6522
blush:Destroy()
6523
end))
6524
hum.WalkSpeed = storehumanoidWS
6525
hum.JumpPower = 50
6526
attack = false
6527
end
6528
6529
6530
function Wip()
6531
    attack = true
6532
    local rngb = Instance.new("Part", char)
6533
    rngb.Anchored = true
6534
    rngb.BrickColor = origcolor
6535
    rngb.CanCollide = false
6536
    rngb.FormFactor = 3
6537
    rngb.Name = "Ring"
6538
    rngb.Material = "Neon"
6539
    rngb.Size = Vector3.new(1, 0.05, 1)
6540
    rngb.Transparency = 1
6541
    rngb.TopSurface = 0
6542
    rngb.BottomSurface = 0
6543
    local rngmb = Instance.new("SpecialMesh", rngb)
6544
    rngmb.MeshType = "Brick"
6545
    rngmb.Name = "SizeMesh"
6546
    rngmb.Scale = vt(0, 1, 0)
6547
    local orb = rngb:Clone()
6548
    orb.Parent = char
6549
    orb.Transparency = 0
6550
    orb.BrickColor = BrickColor.new("White")
6551
    orb.Size = vt(1, 1, 1)
6552
    local orbmish = orb.SizeMesh
6553
    orbmish.Scale = vt(0, 0, 0)
6554
    orbmish.MeshType = "Sphere"
6555
    local orbe = rngb:Clone()
6556
    orbe.Parent = char
6557
    orbe.Transparency = 0.5
6558
    orbe.BrickColor = BrickColor.new("New Yeller")
6559
    orbe.Size = vt(1, 1, 1)
6560
    local orbmish2 = orbe.SizeMesh
6561
    orbmish2.Scale = vt(0, 0, 0)
6562
    orbmish2.MeshType = "Sphere"
6563
    orbe.Color = Color3.new(r / 255, g / 255, b / 255)
6564
    rngb:Destroy()
6565
    for i = 0, 5, 0.1 do
6566
        swait()
6567
        if rainbowmode == true then
6568
            orbe.Color = Color3.new(r / 255, g / 255, b / 255)
6569
        end
6570
        orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
6571
        orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
6572
        RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
6573
        Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
6574
        RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
6575
        LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
6576
        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)), 0.3)
6577
        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)), 0.3)
6578
        RootPart.CFrame = FaceMouse()[1]
6579
    end
6580
    orbe.Transparency = 1
6581
    orb.Transparency = 1
6582
    orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
6583
    CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
6584
    local a = Instance.new("Part", Character)
6585
    a.Name = "Direction"
6586
    a.Anchored = true
6587
    a.BrickColor = bc("White")
6588
    a.Material = "Neon"
6589
    a.Transparency = 0
6590
    a.Shape = "Cylinder"
6591
    a.CanCollide = false
6592
    local a2 = Instance.new("Part", Character)
6593
    a2.Name = "Direction"
6594
    a2.Anchored = true
6595
    a2.BrickColor = bc("New Yeller")
6596
    a2.Color = Color3.new(r / 255, g / 255, b / 255)
6597
    a2.Material = "Neon"
6598
    a2.Transparency = 0.5
6599
    a2.Shape = "Cylinder"
6600
    a2.CanCollide = false
6601
    local ba = Instance.new("Part", Character)
6602
    ba.Name = "HitDirect"
6603
    ba.Anchored = true
6604
    ba.BrickColor = bc("Really black")
6605
    ba.Material = "Neon"
6606
    ba.Transparency = 1
6607
    ba.CanCollide = false
6608
    local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
6609
    local ignore = Character
6610
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
6611
    a.BottomSurface = 10
6612
    a.TopSurface = 10
6613
    a2.BottomSurface = 10
6614
    a2.TopSurface = 10
6615
    local distance = (orb.CFrame.p - position).magnitude
6616
    a.Size = Vector3.new(distance, 1, 1)
6617
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
6618
    a2.Size = Vector3.new(distance, 1, 1)
6619
    a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
6620
    ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
6621
    a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
6622
    a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
6623
    game:GetService("Debris"):AddItem(a, 20)
6624
    game:GetService("Debris"):AddItem(a2, 20)
6625
    game:GetService("Debris"):AddItem(ba, 20)
6626
    local msh = Instance.new("SpecialMesh", a)
6627
    msh.MeshType = "Cylinder"
6628
    msh.Scale = vt(1, 25, 25)
6629
    local msh2 = Instance.new("SpecialMesh", a2)
6630
    msh2.MeshType = "Cylinder"
6631
    msh2.Scale = vt(1, 30, 30)
6632
    for i = 0, 10, 0.1 do
6633
        swait()
6634
        CameraEnshaking(1, 5)
6635
        a2.Color = Color3.new(r / 255, g / 255, b / 255)
6636
        orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
6637
        orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
6638
        ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
6639
        hit, position, normal = workspace:FindPartOnRay(ray, ignore)
6640
        distance = (orb.CFrame.p - position).magnitude
6641
        if typrot == 1 then
6642
            rotation = rotation + 2.5
6643
        elseif typrot == 2 then
6644
            rotation = rotation - 2.5
6645
        end
6646
        RootPart.CFrame = FaceMouse()[1]
6647
        a.Size = Vector3.new(distance, 1, 1)
6648
        a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
6649
        a2.Size = Vector3.new(distance, 1, 1)
6650
        a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
6651
        ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
6652
        a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
6653
        a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
6654
        msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
6655
        msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
6656
        sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
6657
        sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
6658
        MagniDamage(ba, 30, 500, 60000, 0, "Normal")
6659
    end
6660
    a:Destroy()
6661
    a2:Destroy()
6662
    ba:Destroy()
6663
    orb:Destroy()
6664
    orbe:Destroy()
6665
    attack = false
6666
end
6667
6668
function ChaosEND()
6669
attack = true
6670
local speedearn = 0
6671
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
6672
for i = 0, 15, 0.1 do
6673
swait()
6674
speedearn = speedearn + 0.25
6675
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)
6676
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)
6677
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)
6678
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)
6679
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)
6680
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)
6681
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)
6682
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
6683
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
6684
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
6685
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
6686
end
6687
CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
6688
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
6689
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
6690
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
6691
CameraEnshaking(5,25)
6692
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
6693
if v:FindFirstChild('Head') then
6694
dmg(v)
6695
end
6696
end
6697
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
6698
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
6699
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
6700
for i = 0, 3, 0.1 do
6701
swait()
6702
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)
6703
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)
6704
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)
6705
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)
6706
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)
6707
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)
6708
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
6709
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
6710
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
6711
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
6712
end
6713
attack = false
6714
end
6715
6716
function createBGCircle(size,parent,color)
6717
local bgui = Instance.new("BillboardGui",parent)
6718
bgui.Size = UDim2.new(size, 0, size, 0)
6719
local imgc = Instance.new("ImageLabel",bgui)
6720
imgc.BackgroundTransparency = 1
6721
imgc.ImageTransparency = 0
6722
imgc.Size = UDim2.new(1,0,1,0)
6723
imgc.Image = "rbxassetid://997291547" --997291547,521073910
6724
imgc.ImageColor3 = color
6725
return bgui,imgc
6726
end
6727
6728
6729
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
6730
local bgui,imgc = createBGCircle(size,guipar,color)
6731
bgui.AlwaysOnTop = true
6732
imgc.Image = "rbxassetid://" ..img
6733
local rrot = math.random(1,2)
6734
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
6735
coroutine.resume(coroutine.create(function()
6736
for i = 0, 24*delay do
6737
swait()
6738
if rotationenabled == true then
6739
if rrot == 1 then
6740
imgc.Rotation = imgc.Rotation + rotsp
6741
elseif rrot == 2 then
6742
imgc.Rotation = imgc.Rotation - rotsp
6743
end
6744
end
6745
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
6746
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
6747
end
6748
bgui:Destroy()
6749
end))
6750
end
6751
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
6752
for i, v in pairs(mw2:GetChildren()) do
6753
if v:IsA("Part") then
6754
v.BrickColor = one
6755
v.Material = "Neon"
6756
end
6757
end
6758
CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
6759
symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
6760
symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
6761
tr1.Color = ColorSequence.new(one.Color)
6762
tr2.Color = ColorSequence.new(one.Color)
6763
tr3.Color = ColorSequence.new(one.Color)
6764
for i, v in pairs(mw1:GetChildren()) do
6765
if v:IsA("Part") then
6766
if secondaryenabled == false then
6767
v.Transparency = 1
6768
elseif secondaryenabled == true then
6769
v.Transparency = 0
6770
end
6771
v.BrickColor = two
6772
v.Material = "Neon"
6773
end
6774
end
6775
if secondaryenabled == false then
6776
tl1.Enabled = false
6777
tl2.Enabled = false
6778
tl3.Enabled = false
6779
elseif secondaryenabled == true then
6780
tl1.Enabled = true
6781
tl2.Enabled = true
6782
tl3.Enabled = true
6783
end
6784
tl1.Color = ColorSequence.new(two.Color)
6785
tl2.Color = ColorSequence.new(two.Color)
6786
tl3.Color = ColorSequence.new(two.Color)
6787
for i, v in pairs(m:GetChildren()) do
6788
if v:IsA("Part") then
6789
v.BrickColor = three
6790
v.Material = "Ice"
6791
end
6792
end
6793
for i, v in pairs(m2:GetChildren()) do
6794
if v:IsA("Part") then
6795
v.BrickColor = four
6796
v.Material = "Ice"
6797
end
6798
end
6799
for i, v in pairs(m3:GetChildren()) do
6800
if v:IsA("Part") then
6801
v.BrickColor = five
6802
v.Material = "Neon"
6803
end
6804
end
6805
for i, v in pairs(extrawingmod1:GetChildren()) do
6806
if v:IsA("Part") then
6807
v.Transparency = exonetran
6808
v.BrickColor = exone
6809
v.Material = "Neon"
6810
end
6811
end
6812
for i, v in pairs(extrawingmod2:GetChildren()) do
6813
if v:IsA("Part") then
6814
v.Transparency = extwotran
6815
v.BrickColor = extwo
6816
v.Material = "Neon"
6817
end
6818
end
6819
end
6820
6821
6822
function normalmog()
6823
attack = true
6824
hum.WalkSpeed = 0
6825
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
6826
for i = 0,6,0.1 do
6827
swait()
6828
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)
6829
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)
6830
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)
6831
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)
6832
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
6833
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)
6834
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
6835
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
6836
end
6837
CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
6838
CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
6839
CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
6840
CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
6841
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
6842
CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
6843
CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
6844
rainbowmode = false
6845
chaosmode = false
6846
ModeOfGlitch = 1
6847
storehumanoidWS = 16
6848
newTheme("rbxassetid://614032233",48.6,1,1.25)
6849
RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
6850
CameraEnshaking(5,2.5)
6851
MAINRUINCOLOR = BrickColor.new("Really red")
6852
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6853
for i = 0, 49 do
6854
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)
6855
end
6856
for i = 0, 24 do
6857
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)
6858
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"))
6859
end
6860
for i = 0,3,0.1 do
6861
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)
6862
end
6863
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
6864
for i = 0,2,0.1 do
6865
swait()
6866
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)
6867
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)
6868
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
6869
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)
6870
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)
6871
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)
6872
end
6873
hum.WalkSpeed = storehumanoidWS
6874
attack = false
6875
end
6876
6877
function attackone()
6878
	attack = true
6879
	for i = 0,1,0.1 do
6880
		swait()
6881
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
6882
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
6883
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6884
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6885
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
6886
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
6887
	end
6888
	CFuncs["Sound"].Create("rbxassetid://1448033299", root, 1, 1)
6889
6890
local hitb = Instance.new("Part", char)
6891
        hitb.Anchored = true
6892
        hitb.CanCollide = false
6893
        hitb.FormFactor = 3
6894
        hitb.Name = "Ring"
6895
        hitb.Material = "Neon"
6896
        hitb.Size = Vector3.new(1, 1, 1)
6897
        hitb.Transparency = 1
6898
        hitb.TopSurface = 0
6899
        hitb.BottomSurface = 0
6900
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6901
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6902
hitb:Destroy()
6903
	for i = 0,1,0.1 do
6904
		swait()
6905
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
6906
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
6907
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
6908
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
6909
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
6910
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
6911
	end
6912
6913
	attack = false
6914
end
6915
6916
function attacktwo()
6917
	attack = true
6918
	for i = 0,1,0.1 do
6919
		swait()
6920
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
6921
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
6922
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
6923
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
6924
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
6925
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
6926
	end
6927
	CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
6928
local hitb = Instance.new("Part", char)
6929
        hitb.Anchored = true
6930
        hitb.CanCollide = false
6931
        hitb.FormFactor = 3
6932
        hitb.Name = "Ring"
6933
        hitb.Material = "Neon"
6934
        hitb.Size = Vector3.new(1, 1, 1)
6935
        hitb.Transparency = 1
6936
        hitb.TopSurface = 0
6937
        hitb.BottomSurface = 0
6938
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6939
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6940
hitb:Destroy()
6941
	for i = 0,1,0.1 do
6942
		swait()
6943
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
6944
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
6945
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
6946
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
6947
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
6948
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
6949
	end
6950
	attack = false
6951
end
6952
6953
function attackthree()
6954
	attack = true
6955
	for i = 0,1,0.1 do
6956
		swait()
6957
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
6958
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
6959
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6960
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6961
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.2)
6962
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(10)),.2)
6963
	end
6964
	CFuncs["Sound"].Create("rbxassetid://1690476035", root, 1, 1)
6965
6966
local hitb = Instance.new("Part", char)
6967
        hitb.Anchored = true
6968
        hitb.CanCollide = false
6969
        hitb.FormFactor = 3
6970
        hitb.Name = "Ring"
6971
        hitb.Material = "Neon"
6972
        hitb.Size = Vector3.new(1, 1, 1)
6973
        hitb.Transparency = 1
6974
        hitb.TopSurface = 0
6975
        hitb.BottomSurface = 0
6976
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6977
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6978
hitb:Destroy()
6979
	for i = 0,1,0.1 do
6980
		swait()
6981
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
6982
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
6983
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
6984
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
6985
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-40)),.4)
6986
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-10)),.4)
6987
	end
6988
	attack = false
6989
end
6990
----------------------------------- Abilities
6991
6992
function JusticeBeam()
6993
attack = true
6994
bosschatfunc("TIME TO BE DEAD RIGHT.....",MAINRUINCOLOR.Color,1)
6995
CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
6996
CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 7, 1,0,10,0.15,0.5,1)
6997
local rngb = Instance.new("Part", char)
6998
        rngb.Anchored = true
6999
        rngb.BrickColor = origcolor
7000
        rngb.CanCollide = false
7001
        rngb.FormFactor = 3
7002
        rngb.Name = "Ring"
7003
        rngb.Material = "Neon"
7004
        rngb.Size = Vector3.new(1, 0.05, 1)
7005
        rngb.Transparency = 1
7006
        rngb.TopSurface = 0
7007
        rngb.BottomSurface = 0
7008
        local rngmb = Instance.new("SpecialMesh", rngb)
7009
        rngmb.MeshType = "Brick"
7010
rngmb.Name = "SizeMesh"
7011
rngmb.Scale = vt(0,1,0)
7012
 
7013
local orb = rngb:Clone()
7014
orb.Parent = char
7015
orb.Transparency = 0
7016
orb.BrickColor = BrickColor.new("White")
7017
orb.Size = vt(1,1,1)
7018
local orbmish = orb.SizeMesh
7019
orbmish.Scale = vt(0,0,0)
7020
orbmish.MeshType = "Sphere"
7021
 
7022
local orbe = rngb:Clone()
7023
orbe.Parent = char
7024
orbe.Transparency = 0.5
7025
orbe.BrickColor = BrickColor.new("New Yeller")
7026
orbe.Size = vt(1,1,1)
7027
local orbmish2 = orbe.SizeMesh
7028
orbmish2.Scale = vt(0,0,0)
7029
orbmish2.MeshType = "Sphere"
7030
orbe.Color = Color3.new(1,1,1)
7031
 
7032
rngb:Destroy()
7033
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
7034
bosschatfunc("NOW!",MAINRUINCOLOR.Color,1)
7035
local scaled = 1
7036
for i = 0,5,0.1 do
7037
swait()
7038
scaled = scaled - 0.02
7039
if rainbowmode == true then
7040
orbe.Color = Color3.new(r/255,g/255,b/255)
7041
end
7042
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
7043
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
7044
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
7045
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
7046
sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
7047
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
7048
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
7049
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
7050
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
7051
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)
7052
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)
7053
RootPart.CFrame = FaceMouse()[1]
7054
end]]--
7055
for i = 0,5,0.1 do
7056
swait()
7057
if rainbowmode == true then
7058
orbe.Color = Color3.new(r/255,g/255,b/255)
7059
end
7060
        if glitching then
7061
            local val = math.random(1,255)
7062
            local color = Color3.fromRGB(val,val,val)
7063
            orbe.Color = color
7064
        end
7065
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
7066
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
7067
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(-25),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
7068
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
7069
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 28))*angles(math.rad(-25 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
7070
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
7071
RW.C0=clerp(RW.C0,cf(1.2,0.5,-0.3)*angles(math.rad(90),0,math.rad(-30 + 5.5 * math.cos(sine / 28))),.1)
7072
LW.C0=clerp(LW.C0,cf(-1.2,0.5,-0.3)*angles(math.rad(90),0,math.rad(30 - 5.5 * math.cos(sine / 28))),.1)
7073
end
7074
orbe.Transparency = 1
7075
orb.Transparency = 1
7076
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
7077
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
7078
local a2 = Instance.new("Part",Character)
7079
    a2.Name = "Direction"  
7080
    a2.Anchored = true
7081
    a2.BrickColor = bc("New Yeller")
7082
a2.Color = Color3.new(1,1,1)
7083
a2.Material = "Neon"
7084
a2.Transparency = 0.5
7085
a2.Shape = "Cylinder"
7086
    a2.CanCollide = false
7087
local ba = Instance.new("Part",Character)
7088
    ba.Name = "HitDirect"  
7089
    ba.Anchored = true
7090
    ba.BrickColor = bc("Cool yellow")
7091
ba.Material = "Neon"
7092
ba.Transparency = 1
7093
    ba.CanCollide = false
7094
    local ray = Ray.new(
7095
        orb.CFrame.p,                           -- origin
7096
        root.CFrame.lookVector.unit * 1000 -- direction
7097
    )
7098
    local ignore = Character
7099
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7100
    a2.Transparency = .75
7101
    a2.BottomSurface = 10
7102
    a2.TopSurface = 10
7103
    local distance = (orb.CFrame.p - position).magnitude
7104
    a2.Size = Vector3.new(distance, 1, 1)
7105
    a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
7106
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
7107
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
7108
game:GetService("Debris"):AddItem(a2, 20)
7109
game:GetService("Debris"):AddItem(ba, 20)
7110
local msh2 = Instance.new("SpecialMesh",a2)
7111
msh2.MeshType = "Cylinder"
7112
msh2.Scale = vt(1,6*5,6*5)
7113
 
7114
local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
7115
for i = 1, 80*2 do
7116
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)
7117
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)
7118
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
7119
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
7120
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
7121
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
7122
swait()
7123
CameraEnshaking(1,5)
7124
a2.Color = Color3.new(1,1,1)
7125
a2.Transparency = .25
7126
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
7127
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
7128
    ray = Ray.new(
7129
        orb.CFrame.p,                           -- origin
7130
        root.CFrame.lookVector.unit * 1000 -- direction
7131
    )
7132
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7133
distance = (orb.CFrame.p - position).magnitude
7134
if typrot == 1 then
7135
rotation = rotation + 2.5
7136
elseif typrot == 2 then
7137
rotation = rotation - 2.5
7138
end
7139
a2.Size = Vector3.new(distance, 1, 1)
7140
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
7141
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
7142
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
7143
msh2.Scale = msh2.Scale - vt(0,.19,.19)
7144
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
7145
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
7146
MagniDamage(ba, 30, 5,25, 0, "Normal")
7147
end
7148
a2:Destroy()
7149
ba:Destroy()
7150
orb:Destroy()
7151
orbe:Destroy()
7152
attack = false
7153
end
7154
7155
function ExtinctiveHeartbreak()
7156
local targetted = nil
7157
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
7158
targetted = mouse.Target.Parent
7159
end
7160
if targetted ~= nil then
7161
attack = true
7162
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
7163
for i = 0, 9 do
7164
--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)
7165
end
7166
for i = 0, 24 do
7167
--
7168
end
7169
--sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
7170
local originalpos = root.CFrame
7171
RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
7172
for i = 0, 9 do
7173
--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)
7174
end
7175
for i = 0, 24 do
7176
end
7177
hum.WalkSpeed = 0
7178
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
7179
local radm = math.random(1,3)
7180
if radm == 1 then
7181
bosschatfunc("👎□ ⍓□◆ ⧫♒♓■& ⍓□◆ ♍♋■ ♏⬧♍♋◻♏✍",MAINRUINCOLOR.Color,2)
7182
elseif radm == 2 then
7183
BigBlack("GOTCHA!",MAINRUINCOLOR.Color,2)
7184
elseif radm == 3 then
7185
bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
7186
end
7187
for i = 0,2,0.1 do
7188
swait()
7189
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)
7190
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)
7191
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)
7192
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
7193
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)
7194
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)
7195
end
7196
CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
7197
CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
7198
for i = 0,2,0.1 do
7199
swait()
7200
coroutine.resume(coroutine.create(function()
7201
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
7202
for i,v in pairs(targetted:GetChildren()) do
7203
if v:IsA("Part") or v:IsA("MeshPart") then
7204
v.Velocity = vt(0,0,0)
7205
end
7206
end
7207
end))
7208
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)
7209
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)
7210
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)
7211
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
7212
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)
7213
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)
7214
end
7215
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
7216
CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
7217
for i = 0, 1 do
7218
CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
7219
end
7220
CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
7221
chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
7222
for i = 0,4,0.1 do
7223
swait()
7224
coroutine.resume(coroutine.create(function()
7225
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7226
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)))
7227
local at1 = Instance.new("Attachment",dis)
7228
at1.Position = vt(-25000,0,0)
7229
local at2 = Instance.new("Attachment",dis)
7230
at2.Position = vt(25000,0,0)
7231
local trl = Instance.new('Trail',dis)
7232
trl.Attachment0 = at1
7233
trl.FaceCamera = true
7234
trl.Attachment1 = at2
7235
trl.Texture = "rbxassetid://1049219073"
7236
trl.LightEmission = 1
7237
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7238
trl.Color = ColorSequence.new(Color3.new(1,0,0))
7239
trl.Lifetime = 5
7240
local bv = Instance.new("BodyVelocity")
7241
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7242
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
7243
bv.Parent = dis
7244
game:GetService("Debris"):AddItem(dis, 5)
7245
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
7246
CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
7247
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
7248
CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
7249
CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
7250
CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
7251
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)
7252
targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
7253
for i = 0, 2 do
7254
--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"))
7255
end
7256
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)
7257
for i,v in pairs(targetted:GetChildren()) do
7258
if v:IsA("Part") or v:IsA("MeshPart") then
7259
v.Velocity = vt(0,0,0)
7260
end
7261
end
7262
end))
7263
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
7264
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)
7265
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)
7266
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)
7267
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
7268
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)
7269
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)
7270
end
7271
hum.CameraOffset = vt(0,0,0)
7272
for i = 0, 49 do
7273
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7274
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)))
7275
local at1 = Instance.new("Attachment",dis)
7276
at1.Position = vt(-50000,0,0)
7277
local at2 = Instance.new("Attachment",dis)
7278
at2.Position = vt(50000,0,0)
7279
local trl = Instance.new('Trail',dis)
7280
trl.Attachment0 = at1
7281
trl.FaceCamera = true
7282
trl.Attachment1 = at2
7283
trl.Texture = "rbxassetid://1049219073"
7284
trl.LightEmission = 1
7285
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7286
trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
7287
trl.Lifetime = 5
7288
local bv = Instance.new("BodyVelocity")
7289
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7290
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
7291
bv.Parent = dis
7292
game:GetService("Debris"):AddItem(dis, 5)
7293
end
7294
for i = 0, 49 do
7295
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)
7296
--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"))
7297
end
7298
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
7299
for i = 0, 1 do
7300
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
7301
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
7302
end
7303
for i = 0, 4 do
7304
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
7305
end
7306
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
7307
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
7308
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
7309
dmg(targetted)
7310
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
7311
for i = 0, 9 do
7312
--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)
7313
end
7314
for i = 0, 24 do
7315
end
7316
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
7317
root.CFrame = originalpos
7318
for i = 0, 9 do
7319
--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)
7320
end
7321
for i = 0, 24 do
7322
end
7323
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
7324
attack = false
7325
hum.WalkSpeed = storehumanoidWS
7326
end
7327
end
7328
7329
7330
function CorruptionEvent()
7331
attack = true
7332
hum.WalkSpeed = 0
7333
CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
7334
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
7335
local keptcolor = MAINRUINCOLOR
7336
for i = 0,4,0.1 do
7337
swait()
7338
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7339
block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7340
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)
7341
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)
7342
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
7343
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
7344
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
7345
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
7346
end
7347
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
7348
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
7349
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
7350
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
7351
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
7352
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
7353
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
7354
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
7355
hum.CameraOffset = vt(0,0,0)
7356
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7357
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7358
for i = 0, 24 do
7359
--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"))
7360
end
7361
local rrot = 0
7362
coroutine.resume(coroutine.create(function()
7363
for i = 0, 4 do
7364
rrot = rrot + 45
7365
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7366
xa.Anchored = true
7367
local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7368
xb.Anchored = true
7369
local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7370
xc.Anchored = true
7371
local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7372
xd.Anchored = true
7373
CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
7374
CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
7375
CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
7376
CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
7377
CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
7378
CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
7379
CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
7380
CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
7381
CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
7382
CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
7383
CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
7384
CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
7385
xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
7386
xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
7387
xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
7388
xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
7389
MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
7390
MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
7391
MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
7392
MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
7393
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
7394
block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
7395
block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
7396
block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
7397
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)
7398
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)
7399
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)
7400
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)
7401
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))
7402
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))
7403
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))
7404
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))
7405
game:GetService("Debris"):AddItem(xa, 5)
7406
game:GetService("Debris"):AddItem(xb, 5)
7407
game:GetService("Debris"):AddItem(xc, 5)
7408
game:GetService("Debris"):AddItem(xd, 5)
7409
coroutine.resume(coroutine.create(function()
7410
for i = 0, 19 do
7411
swait()
7412
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7413
end
7414
hum.CameraOffset = vt(0,0,0)
7415
end))
7416
swait(9)
7417
end
7418
end))
7419
for i = 0,2,0.1 do
7420
swait()
7421
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)
7422
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)
7423
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
7424
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
7425
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
7426
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7427
end
7428
attack = false
7429
hum.WalkSpeed = storehumanoidWS
7430
end
7431
7432
function WarpedDash()
7433
attack = true
7434
hum.WalkSpeed = 0
7435
hum.JumpPower = 0
7436
CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
7437
local poste = 3
7438
local rotation = 0
7439
local rate = 0
7440
for i = 0, 124 do
7441
swait()
7442
rotation = rotation + rate
7443
poste = poste + 0.1
7444
rate = rate + 0.1
7445
sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
7446
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)
7447
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)
7448
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)
7449
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)
7450
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)
7451
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)
7452
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)
7453
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
7454
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
7455
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
7456
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
7457
end
7458
CameraEnshaking(3,7)
7459
local loc = Instance.new("Part", char)
7460
loc.BrickColor = MAINRUINCOLOR
7461
loc.CanCollide = false
7462
loc.FormFactor = 3
7463
loc.Name = "Ring"
7464
loc.Material = "Neon"
7465
loc.Size = Vector3.new(1, 1, 1)
7466
loc.Transparency = 1
7467
loc.TopSurface = 0
7468
loc.BottomSurface = 0
7469
loc.Anchored = true
7470
loc.CFrame = root.CFrame + root.CFrame.lookVector*100
7471
CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
7472
CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
7473
MagniDamage(loc, 95, 500,6000, 0, "Normal")
7474
sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
7475
sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
7476
sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
7477
sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
7478
coroutine.resume(coroutine.create(function()
7479
local eff = Instance.new("ParticleEmitter",loc)
7480
eff.Texture = "rbxassetid://363275192"
7481
eff.LightEmission = 0.95
7482
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7483
eff.Rate = 10000
7484
eff.Lifetime = NumberRange.new(1)
7485
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
7486
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
7487
eff.Speed = NumberRange.new(100,500)
7488
eff.Drag = 5
7489
eff.Rotation = NumberRange.new(-500,500)
7490
eff.VelocitySpread = 9000
7491
eff.RotSpeed = NumberRange.new(-50,50)
7492
wait(0.5)
7493
eff.Enabled = false
7494
end))
7495
for i = 0, 49 do
7496
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)
7497
end
7498
for i = 0, 9 do
7499
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)
7500
end
7501
game:GetService("Debris"):AddItem(loc, 5)
7502
root.CFrame = root.CFrame + root.CFrame.lookVector*200
7503
hum.WalkSpeed = storehumanoidWS
7504
hum.JumpPower = 50
7505
attack = false
7506
end
7507
7508
function EndGROUND()
7509
	attack = true
7510
hum.WalkSpeed = 0
7511
bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
7512
--CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
7513
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
7514
CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
7515
CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
7516
local keptcolor = MAINRUINCOLOR
7517
for i = 0,4,0.1 do
7518
swait()
7519
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7520
block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7521
--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"))
7522
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)
7523
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)
7524
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
7525
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
7526
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
7527
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
7528
end
7529
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
7530
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
7531
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
7532
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
7533
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
7534
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
7535
coroutine.resume(coroutine.create(function()
7536
	local shval = 10
7537
	for i = 0, 99 do
7538
		swait()
7539
		shval = shval - 0.1
7540
		hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
7541
	end
7542
	hum.CameraOffset = vt(0,0,0)
7543
end))
7544
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7545
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7546
for i = 0, 24 do
7547
--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"))
7548
end
7549
local rrot = 0
7550
local xam = 1
7551
coroutine.resume(coroutine.create(function()
7552
for i = 0, 14 do
7553
--swait()
7554
rrot = rrot + 40*xam
7555
xam = xam + 0.25
7556
local bonus = xam
7557
local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
7558
xa.Anchored = true
7559
xa.Color = Color3.new(0,0,0)
7560
xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
7561
CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
7562
local xc = 0
7563
coroutine.resume(coroutine.create(function()
7564
for i = 0, 99 do
7565
	swait()
7566
	xc = xc + 0.01
7567
	xa.Color = Color3.new(xc,0,0)
7568
end
7569
xa.Transparency = 1
7570
CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
7571
MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
7572
for i = 0, 9 do
7573
--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"))
7574
end
7575
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)
7576
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)
7577
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))
7578
game:GetService("Debris"):AddItem(xa, 5)
7579
coroutine.resume(coroutine.create(function()
7580
for i = 0, 19 do
7581
swait()
7582
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7583
end
7584
hum.CameraOffset = vt(0,0,0)
7585
end))
7586
end))
7587
end
7588
end))
7589
for i = 0,2,0.1 do
7590
swait()
7591
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)
7592
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)
7593
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
7594
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
7595
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
7596
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7597
end
7598
attack = false
7599
hum.WalkSpeed = storehumanoidWS
7600
end
7601
7602
function HeavenlyDisk()
7603
attack = true
7604
hum.WalkSpeed = 2
7605
local keptcolor = MAINRUINCOLOR
7606
local radm = math.random(1,3)
7607
if radm == 1 then
7608
bosschatfunc("DONT COME TO ME CLOSER!",MAINRUINCOLOR.Color,1)
7609
elseif radm == 2 then
7610
bosschatfunc("LEAVE ME ALONE!",MAINRUINCOLOR.Color,1)
7611
elseif radm == 3 then
7612
bosschatfunc("WHY YOU REDUSE?!",MAINRUINCOLOR.Color,1)
7613
end
7614
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
7615
CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
7616
for i = 0, 14 do
7617
--
7618
end
7619
for i = 0,2,0.1 do
7620
swait()
7621
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)
7622
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)
7623
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)
7624
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7625
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
7626
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
7627
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
7628
end
7629
CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
7630
for i = 0,1,0.6 do
7631
swait()
7632
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)
7633
--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"))
7634
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)
7635
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)
7636
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
7637
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7638
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7639
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7640
end
7641
for i = 0,1,0.6 do
7642
swait()
7643
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)
7644
--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"))
7645
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)
7646
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)
7647
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
7648
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7649
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7650
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7651
end
7652
for i = 0,1,0.6 do
7653
swait()
7654
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)
7655
--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"))
7656
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)
7657
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)
7658
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
7659
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7660
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7661
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7662
end
7663
for i = 0,1,0.6 do
7664
swait()
7665
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)
7666
--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"))
7667
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)
7668
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)
7669
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
7670
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7671
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7672
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7673
end
7674
local rot = 15
7675
for i = 0, 2 do
7676
local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Really black"))
7677
CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
7678
dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
7679
CreateMesh(dis,"Sphere",10,1,10)
7680
local at1 = Instance.new("Attachment",dis)
7681
at1.Position = vt(-5,0,0)
7682
local at2 = Instance.new("Attachment",dis)
7683
at2.Position = vt(5,0,0)
7684
local trl = Instance.new('Trail',wed)
7685
trl.Attachment0 = at1
7686
trl.Attachment1 = at2
7687
trl.Texture = "rbxassetid://1049219073"
7688
trl.LightEmission = 1
7689
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7690
trl.Color = ColorSequence.new(dis.Color)
7691
trl.Lifetime = 0.6
7692
local a = Instance.new("Part",workspace)
7693
	a.Name = "Direction"	
7694
	a.Anchored = true
7695
	a.BrickColor = bc("Bright red")
7696
a.Material = "Neon"
7697
a.Transparency = 1
7698
	a.CanCollide = false
7699
	local ray = Ray.new(
7700
	    dis.CFrame.p,                           -- origin
7701
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
7702
	) 
7703
	local ignore = dis
7704
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7705
	a.BottomSurface = 10
7706
	a.TopSurface = 10
7707
	local distance = (dis.CFrame.p - position).magnitude
7708
	a.Size = Vector3.new(0.1, 0.1, 0.1)
7709
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
7710
dis.CFrame = a.CFrame
7711
dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
7712
a:Destroy()
7713
local bv = Instance.new("BodyVelocity")
7714
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7715
bv.velocity = dis.CFrame.lookVector*250
7716
bv.Parent = dis
7717
game:GetService("Debris"):AddItem(dis, 5)
7718
local hitted = false
7719
coroutine.resume(coroutine.create(function()
7720
dis.Touched:connect(function(hit) 
7721
	if hitted == false and hit.Parent ~= char then
7722
	hitted = true
7723
	CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
7724
	MagniDamage(dis, 30, 82,34575, 0, "Normal")
7725
	--sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
7726
	--sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
7727
	--sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
7728
	coroutine.resume(coroutine.create(function()
7729
		for i = 0, 9 do
7730
local disr = CreateParta(char,1,1,"Neon",keptcolor)
7731
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
7732
local at1 = Instance.new("Attachment",disr)
7733
at1.Position = vt(-2,0,0)
7734
local at2 = Instance.new("Attachment",disr)
7735
at2.Position = vt(2,0,0)
7736
local trl = Instance.new('Trail',disr)
7737
trl.Attachment0 = at1
7738
trl.FaceCamera = true
7739
trl.Attachment1 = at2
7740
trl.Texture = "rbxassetid://2342682798"
7741
trl.LightEmission = 1
7742
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7743
trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
7744
trl.Lifetime = 0.5
7745
local bv = Instance.new("BodyVelocity")
7746
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7747
bv.velocity = disr.CFrame.lookVector*math.random(50,200)
7748
bv.Parent = disr
7749
local val = 0
7750
coroutine.resume(coroutine.create(function()
7751
	swait(30)
7752
	for i = 0, 9 do
7753
		swait()
7754
		val = val + 0.1
7755
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
7756
	end
7757
game:GetService("Debris"):AddItem(disr, 3)
7758
end))
7759
end
7760
local eff = Instance.new("ParticleEmitter",dis)
7761
eff.Texture = "rbxassetid://2273224484"
7762
eff.LightEmission = 1
7763
eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
7764
eff.Rate = 500000
7765
eff.Lifetime = NumberRange.new(0.5,2)
7766
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)})
7767
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)})
7768
eff.Speed = NumberRange.new(20,250)
7769
eff.Drag = 5
7770
eff.Rotation = NumberRange.new(-500,500)
7771
eff.VelocitySpread = 9000
7772
eff.RotSpeed = NumberRange.new(-50,50)
7773
wait(0.25)
7774
eff.Enabled = false
7775
end))
7776
	for i = 0, 9 do
7777
		--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"))
7778
	end
7779
for i = 0, 19 do
7780
--
7781
end
7782
coroutine.resume(coroutine.create(function()
7783
for i = 0, 19 do
7784
swait()
7785
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
7786
end
7787
hum.CameraOffset = vt(0,0,0)
7788
end))
7789
dis.Anchored = true
7790
dis.Transparency = 1
7791
wait(8)
7792
dis:Destroy()
7793
end
7794
end)
7795
end))
7796
rot = rot - 15
7797
end
7798
for i = 0,2,0.1 do
7799
swait()
7800
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)
7801
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)
7802
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
7803
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
7804
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
7805
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
7806
end
7807
attack = false
7808
hum.WalkSpeed = storehumanoidWS
7809
end
7810
7811
function RapidBurst()
7812
attack = true
7813
hum.WalkSpeed = 0
7814
CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
7815
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
7816
CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
7817
bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
7818
local keptcolor = MAINRUINCOLOR
7819
for i = 0,8,0.1 do
7820
swait()
7821
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7822
--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())
7823
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)
7824
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)
7825
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)
7826
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)
7827
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)
7828
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)
7829
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)
7830
end
7831
for i = 0, 99 do
7832
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7833
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)))
7834
local at1 = Instance.new("Attachment",dis)
7835
at1.Position = vt(-25000,0,0)
7836
local at2 = Instance.new("Attachment",dis)
7837
at2.Position = vt(25000,0,0)
7838
local trl = Instance.new('Trail',dis)
7839
trl.Attachment0 = at1
7840
trl.FaceCamera = true
7841
trl.Attachment1 = at2
7842
trl.Texture = "rbxassetid://1049219073"
7843
trl.LightEmission = 1
7844
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7845
trl.Color = ColorSequence.new(BrickColor.random().Color)
7846
trl.Lifetime = 5
7847
local bv = Instance.new("BodyVelocity")
7848
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7849
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
7850
bv.Parent = dis
7851
game:GetService("Debris"):AddItem(dis, 5)
7852
end
7853
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
7854
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
7855
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
7856
sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
7857
sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
7858
sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
7859
sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
7860
CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
7861
CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
7862
CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
7863
hum.CameraOffset = vt(0,0,0)
7864
for i = 0, 24 do
7865
--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())
7866
end
7867
local distam = 0
7868
coroutine.resume(coroutine.create(function()
7869
for i = 0, 99 do
7870
	wait()
7871
distam = distam + 1
7872
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7873
xa.Anchored = true
7874
xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
7875
game:GetService("Debris"):AddItem(xa, 5)
7876
for i = 0, 4 do
7877
--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())
7878
end
7879
coroutine.resume(coroutine.create(function()
7880
local eff = Instance.new("ParticleEmitter",xa)
7881
eff.Texture = "rbxassetid://2273224484"
7882
eff.LightEmission = 1
7883
eff.Color = ColorSequence.new(BrickColor.random().Color)
7884
eff.Rate = 500000
7885
eff.Lifetime = NumberRange.new(1,3)
7886
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)})
7887
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)})
7888
eff.Speed = NumberRange.new(50,500)
7889
eff.Drag = 5
7890
eff.Rotation = NumberRange.new(-500,500)
7891
eff.VelocitySpread = 9000
7892
eff.RotSpeed = NumberRange.new(-50,50)
7893
wait(0.25)
7894
eff.Enabled = false
7895
end))
7896
coroutine.resume(coroutine.create(function()
7897
for i = 0, 19 do
7898
swait()
7899
hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
7900
end
7901
hum.CameraOffset = vt(0,0,0)
7902
end))
7903
CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
7904
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
7905
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
7906
MagniDamage(xa, 60, 9999,99999, 0, "Normal")
7907
end
7908
end))
7909
attack = false
7910
hum.WalkSpeed = storehumanoidWS
7911
end
7912
7913
function FallenOrbs()
7914
attack = true
7915
hum.WalkSpeed = 2
7916
local keptcolor = MAINRUINCOLOR
7917
CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
7918
CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
7919
local radm = math.random(1,3)
7920
if radm == 1 then
7921
bosschatfunc("IM DESTORY YOU!",MAINRUINCOLOR.Color,1)
7922
elseif radm == 2 then
7923
bosschatfunc("🕈♒♋⧫ ⍓□◆ ♎□ ♋⧫ ❍⍓ ⬧♓⬧⧫♏❒✍",MAINRUINCOLOR.Color,1)
7924
elseif radm == 3 then
7925
bosschatfunc("RAAAAAGGGGGGHHHHHH!!!!!",MAINRUINCOLOR.Color,1)
7926
end
7927
coroutine.resume(coroutine.create(function()
7928
for i = 0, 29 do
7929
swait(2)
7930
local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
7931
dis.Anchored = true
7932
CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
7933
dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
7934
CreateMesh(dis,"Sphere",2,2,2)
7935
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
7936
--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"))
7937
coroutine.resume(coroutine.create(function()
7938
wait(0.5)
7939
dis.Anchored = false
7940
CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
7941
local at1 = Instance.new("Attachment",dis)
7942
at1.Position = vt(-1,0,0)
7943
local at2 = Instance.new("Attachment",dis)
7944
at2.Position = vt(1,0,0)
7945
local trl = Instance.new('Trail',dis)
7946
trl.Attachment0 = at1
7947
trl.FaceCamera = true
7948
trl.Attachment1 = at2
7949
trl.Texture = "rbxassetid://1049219073"
7950
trl.LightEmission = 1
7951
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7952
trl.Color = ColorSequence.new(dis.Color)
7953
trl.Lifetime = 0.6
7954
local a = Instance.new("Part",workspace)
7955
	a.Name = "Direction"	
7956
	a.Anchored = true
7957
	a.BrickColor = bc("Bright red")
7958
a.Material = "Neon"
7959
a.Transparency = 1
7960
	a.CanCollide = false
7961
	local ray = Ray.new(
7962
	    dis.CFrame.p,                           -- origin
7963
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
7964
	) 
7965
	local ignore = dis
7966
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7967
	a.BottomSurface = 10
7968
	a.TopSurface = 10
7969
	local distance = (dis.CFrame.p - position).magnitude
7970
	a.Size = Vector3.new(0.1, 0.1, 0.1)
7971
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
7972
dis.CFrame = a.CFrame
7973
a:Destroy()
7974
local bv = Instance.new("BodyVelocity")
7975
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7976
bv.velocity = dis.CFrame.lookVector*500
7977
bv.Parent = dis
7978
game:GetService("Debris"):AddItem(dis, 5)
7979
local hitted = false
7980
coroutine.resume(coroutine.create(function()
7981
dis.Touched:connect(function(hit) 
7982
	if hitted == false and hit.Parent ~= char then
7983
	hitted = true
7984
	CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
7985
	MagniDamage(dis, 60, 25456,124672, 0, "Normal")
7986
	--sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
7987
	--sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
7988
	coroutine.resume(coroutine.create(function()
7989
for i = 0, 4 do
7990
local disr = CreateParta(char,1,1,"Neon",keptcolor)
7991
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
7992
local at1 = Instance.new("Attachment",disr)
7993
at1.Position = vt(-10,0,0)
7994
local at2 = Instance.new("Attachment",disr)
7995
at2.Position = vt(10,0,0)
7996
local trl = Instance.new('Trail',disr)
7997
trl.Attachment0 = at1
7998
trl.FaceCamera = true
7999
trl.Attachment1 = at2
8000
trl.Texture = "rbxassetid://2342682798"
8001
trl.LightEmission = 1
8002
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
8003
trl.Color = ColorSequence.new(disr.Color)
8004
trl.Lifetime = 0.5
8005
local bv = Instance.new("BodyVelocity")
8006
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
8007
bv.velocity = disr.CFrame.lookVector*math.random(125,250)
8008
bv.Parent = disr
8009
local val = 0
8010
coroutine.resume(coroutine.create(function()
8011
	swait(30)
8012
	for i = 0, 9 do
8013
		swait()
8014
		val = val + 0.1
8015
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
8016
	end
8017
game:GetService("Debris"):AddItem(disr, 3)
8018
end))
8019
end
8020
local eff = Instance.new("ParticleEmitter",dis)
8021
eff.Texture = "rbxassetid://2273224484"
8022
eff.LightEmission = 1
8023
eff.Color = ColorSequence.new(dis.Color)
8024
eff.Rate = 500000
8025
eff.Lifetime = NumberRange.new(0.5,2)
8026
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)})
8027
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)})
8028
eff.Speed = NumberRange.new(20,250)
8029
eff.Drag = 5
8030
eff.Rotation = NumberRange.new(-500,500)
8031
eff.VelocitySpread = 9000
8032
eff.RotSpeed = NumberRange.new(-50,50)
8033
wait(0.5)
8034
eff.Enabled = false
8035
end))
8036
	for i = 0, 4 do
8037
		--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"))
8038
	end
8039
coroutine.resume(coroutine.create(function()
8040
for i = 0, 19 do
8041
swait()
8042
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
8043
end
8044
hum.CameraOffset = vt(0,0,0)
8045
end))
8046
dis.Anchored = true
8047
dis.Transparency = 1
8048
wait(8)
8049
dis:Destroy()
8050
end
8051
end)
8052
end))
8053
end))
8054
end
8055
end))
8056
for i = 0,9,0.1 do
8057
swait()
8058
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)
8059
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)
8060
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)
8061
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)
8062
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)
8063
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)
8064
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)
8065
end
8066
attack = false
8067
hum.WalkSpeed = storehumanoidWS
8068
end
8069
8070
function EquinoxOrbs()
8071
hum.WalkSpeed = 0
8072
attack = true
8073
for i = 0,1,0.1 do
8074
swait()
8075
	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)
8076
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)
8077
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
8078
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
8079
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
8080
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
8081
end
8082
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
8083
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
8084
for i = 0, 24 do
8085
		--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"))
8086
end
8087
CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
8088
CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
8089
CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
8090
CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
8091
for i = 0,4,0.1 do
8092
swait()
8093
root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
8094
local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
8095
CreateMesh(dis,"Sphere",1,1,1)
8096
dis.Anchored = true
8097
dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
8098
local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
8099
CreateMesh(dis2,"Sphere",1,1,1)
8100
dis2.Anchored = true
8101
dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
8102
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
8103
--sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
8104
coroutine.resume(coroutine.create(function()
8105
	swait(60)
8106
	dis.Transparency = 1
8107
	dis2.Transparency = 1
8108
coroutine.resume(coroutine.create(function()
8109
for i = 0, 19 do
8110
swait()
8111
hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
8112
end
8113
hum.CameraOffset = vt(0,0,0)
8114
end))
8115
coroutine.resume(coroutine.create(function()
8116
local eff = Instance.new("ParticleEmitter",dis)
8117
eff.Texture = "rbxassetid://2273224484"
8118
eff.LightEmission = 1
8119
eff.Color = ColorSequence.new(dis.Color)
8120
eff.Rate = 500000
8121
eff.Lifetime = NumberRange.new(0.5,2)
8122
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)})
8123
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)})
8124
eff.Speed = NumberRange.new(50,450)
8125
eff.Drag = 5
8126
eff.Rotation = NumberRange.new(-500,500)
8127
eff.VelocitySpread = 9000
8128
eff.RotSpeed = NumberRange.new(-50,50)
8129
local eff2 = eff:Clone()
8130
eff2.Parent = dis2
8131
eff2.LightEmission = 0
8132
eff2.Color = ColorSequence.new(dis2.Color)
8133
wait(0.25)
8134
eff.Enabled = false
8135
eff2.Enabled = false
8136
end))
8137
MagniDamage(dis, 55, 89,219788936, 0, "Normal")
8138
MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
8139
	CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
8140
	CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
8141
	CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
8142
	CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
8143
	CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
8144
	CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
8145
	sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
8146
	sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
8147
end))
8148
game:GetService("Debris"):AddItem(dis, 5)
8149
game:GetService("Debris"):AddItem(dis2, 5)
8150
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)
8151
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)
8152
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
8153
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
8154
RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
8155
LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
8156
end
8157
attack = false
8158
hum.WalkSpeed = storehumanoidWS
8159
end
8160
function FallenDEMISE()
8161
attack = true
8162
hum.WalkSpeed = 0
8163
local keptcolor = MAINRUINCOLOR
8164
--bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!!!",MAINRUINCOLOR.Color,3)
8165
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
8166
CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
8167
for i = 0, 15, 0.1 do
8168
swait()
8169
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
8170
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)))
8171
local at1 = Instance.new("Attachment",dis)
8172
at1.Position = vt(-25000,0,0)
8173
local at2 = Instance.new("Attachment",dis)
8174
at2.Position = vt(25000,0,0)
8175
local trl = Instance.new('Trail',dis)
8176
trl.Attachment0 = at1
8177
trl.FaceCamera = true
8178
trl.Attachment1 = at2
8179
trl.Texture = "rbxassetid://1049219073"
8180
trl.LightEmission = 1
8181
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
8182
trl.Color = ColorSequence.new(dis.Color)
8183
trl.Lifetime = 5
8184
local bv = Instance.new("BodyVelocity")
8185
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
8186
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
8187
bv.Parent = dis
8188
game:GetService("Debris"):AddItem(dis, 1)
8189
sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
8190
--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"))
8191
--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"))
8192
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)
8193
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)
8194
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
8195
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
8196
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
8197
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
8198
end
8199
CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
8200
for i = 0, 30, 0.1 do
8201
swait()
8202
coroutine.resume(coroutine.create(function()
8203
for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
8204
if v:FindFirstChild('Head') then
8205
dmg(v)
8206
end
8207
end
8208
end))
8209
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
8210
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)))
8211
local at1 = Instance.new("Attachment",dis)
8212
at1.Position = vt(-50000,0,0)
8213
local at2 = Instance.new("Attachment",dis)
8214
at2.Position = vt(50000,0,0)
8215
local trl = Instance.new('Trail',dis)
8216
trl.Attachment0 = at1
8217
trl.FaceCamera = true
8218
trl.Attachment1 = at2
8219
trl.Texture = "rbxassetid://1049219073"
8220
trl.LightEmission = 1
8221
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
8222
trl.Color = ColorSequence.new(dis.Color)
8223
trl.Lifetime = 10
8224
local bv = Instance.new("BodyVelocity")
8225
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
8226
bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
8227
bv.Parent = dis
8228
game:GetService("Debris"):AddItem(dis, math.random(1,4))
8229
--sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
8230
--sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
8231
--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"))
8232
--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"))
8233
--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"))
8234
--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"))
8235
for i = 0, 2 do
8236
--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)
8237
end
8238
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)
8239
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)
8240
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
8241
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
8242
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
8243
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
8244
end
8245
attack = false
8246
hum.WalkSpeed = storehumanoidWS
8247
end
8248
-------------------------------------
8249
8250
Humanoid.Animator.Parent = nil
8251
8252
-------------------------------------
8253
8254
local attacktype = 1
8255
mouse.Button1Down:connect(function()
8256
  if attack == false and attacktype == 1 then
8257
    attacktype = 2
8258
    attackone()
8259
  elseif attack == false and attacktype == 2 then
8260
    attacktype = 3
8261
    attacktwo()
8262
  elseif attack == false and attacktype == 3 then
8263
    attacktype = 1
8264
    attackthree()
8265
  elseif attack == false and attacktype == 4 then
8266
    attacktype = 1
8267
    --attackfour()
8268
  end
8269
end)
8270
mouse.KeyDown:connect(function(k)
8271
if k == "q" and attack == false and ModeOfGlitch ~= 1 then
8272
--normalmog() ---Disabled due to crashing... only in VSB
8273
ModeOfGlitch = 1
8274
storehumanoidWS = 16
8275
hum.WalkSpeed = 16
8276
rainbowmode = false
8277
chaosmode = false
8278
newTheme("rbxassetid://285768873",0,1,1)
8279
RecolorTextAndRename("MICHEAL",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
8280
MAINRUINCOLOR = BrickColor.new("Really black")
8281
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8282
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8283
Head.face.Texture =  "rbxassetid://155195214"
8284
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8285
char.Pants.PantsTemplate = "rbxassetid://770508500"
8286
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
8287
end
8288
if k == "e" and attack == false and ModeOfGlitch ~= 2 then
8289
ModeOfGlitch = 2
8290
storehumanoidWS = 16
8291
hum.WalkSpeed = 16
8292
rainbowmode = false
8293
chaosmode = false
8294
RecolorTextAndRename("MONSTER",Color3.new(0,0,0),Color3.new(1,1,1),"Code")
8295
newTheme("rbxassetid://2537622875",0,1,1.25)
8296
MAINRUINCOLOR = BrickColor.new("Really black")
8297
Head.face.Texture =  "rbxassetid://120463437"
8298
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8299
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8300
Head.face.Texture =  "rbxassetid://155195214"
8301
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8302
char.Pants.PantsTemplate = "rbxassetid://770508500"
8303
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8304
end
8305
if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 11111 then
8306
                 ModeOfGlitch = 11111
8307
storehumanoidWS = 16
8308
hum.WalkSpeed = 16
8309
rainbowmode = false
8310
chaosmode = false
8311
RecolorTextAndRename("CRYSTAL",Color3.new(0,0,0),Color3.new(0,0.5,0),"Code")
8312
newTheme("rbxassetid://1861780345",0,1,1)
8313
MAINRUINCOLOR = BrickColor.new("Pastel light blue")
8314
RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
8315
end
8316
if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 242424 then
8317
                 ModeOfGlitch = 242424
8318
storehumanoidWS = 16
8319
hum.WalkSpeed = 16
8320
rainbowmode = false
8321
chaosmode = false
8322
RecolorTextAndRename("HACKER",Color3.new(0,0,0),Color3.new(0,0.5,0),"Code")
8323
newTheme("rbxassetid://2650791818",0,0.97,0.97)
8324
MAINRUINCOLOR = BrickColor.new("Black")
8325
RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
8326
end
8327
if k == "r" and attack == false and ModeOfGlitch ~= 3 then
8328
ModeOfGlitch = 3
8329
storehumanoidWS = 16
8330
hum.WalkSpeed = 16
8331
rainbowmode = false
8332
chaosmode = false
8333
RecolorTextAndRename("Dust sans",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
8334
newTheme("rbxassetid://519341881",1,1,1)
8335
M2.MeshId = "http://www.roblox.com/asset/?id=0"
8336
M2.TextureId = "http://www.roblox.com/asset/?id=0"
8337
Head.face.Texture =  "rbxassetid://871052201"
8338
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8339
char.Pants.PantsTemplate = "rbxassetid://343128365"
8340
char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
8341
char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
8342
char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
8343
char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
8344
char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
8345
char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
8346
MAINRUINCOLOR = BrickColor.new("Royal purple")
8347
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8348
end
8349
if k == "t" and attack == false and ModeOfGlitch ~= 4 then
8350
               ModeOfGlitch = 4
8351
storehumanoidWS = 50
8352
hum.WalkSpeed = 50
8353
rainbowmode = false
8354
chaosmode = false
8355
RecolorTextAndRename(plr.Name.." The Destroyer",Color3.new(0,0,0),Color3.new(255,0,0),"Antique")
8356
newTheme("rbxassetid://165704299",0,1,1.5)
8357
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8358
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8359
Head.face.Texture =  "rbxassetid://155195214"
8360
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8361
char.Pants.PantsTemplate = "rbxassetid://770508500"
8362
MAINRUINCOLOR = BrickColor.new("Really red")
8363
Head.face.Texture =  "rbxassetid://404306534"
8364
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8365
end
8366
if k == "y" and attack == false and ModeOfGlitch ~= 5 then
8367
               ModeOfGlitch = 5
8368
storehumanoidWS = 16
8369
hum.WalkSpeed = 16
8370
rainbowmode = false
8371
chaosmode = false
8372
RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
8373
newTheme("rbxassetid://1001164089",0,1,1)
8374
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8375
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8376
Head.face.Texture =  "rbxassetid://155195214"
8377
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8378
char.Pants.PantsTemplate = "rbxassetid://770508500"
8379
MAINRUINCOLOR = BrickColor.new("Bright yellow")
8380
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8381
end
8382
if k == "u" and attack == false and ModeOfGlitch ~= 6 then
8383
               ModeOfGlitch = 6
8384
storehumanoidWS = 100
8385
hum.WalkSpeed = 100
8386
rainbowmode = false
8387
chaosmode = false
8388
RecolorTextAndRename("EQUINOX",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
8389
newTheme("rbxassetid://1347011178",0,1.01,1.25)
8390
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8391
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8392
Head.face.Texture =  "rbxassetid://155195214"
8393
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8394
char.Pants.PantsTemplate = "rbxassetid://770508500"
8395
MAINRUINCOLOR = BrickColor.new("White")
8396
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8397
end
8398
 if k == "v" and attack == false and ModeOfGlitch == 8 then
8399
              ModeOfGlitch = -666666
8400
storehumanoidWS = 85
8401
hum.WalkSpeed = 85
8402
rainbowmode = false
8403
chaosmode = false
8404
CRAZED = false
8405
RecolorTextAndRename("FATAL KILLER",BrickColor.new("Crimson").Color,BrickColor.Black().Color,"Arcade")
8406
MAINRUINCOLOR = BrickColor.new("Crimson")
8407
bosschatfunc("I'M KILL YOU",MAINRUINCOLOR.Color,3)
8408
newTheme("rbxassetid://605973054",0,1,10)
8409
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Crimson"),true)
8410
end
8411
if k == "f" and attack == false and ModeOfGlitch ~= 8 then
8412
               ModeOfGlitch = 8
8413
storehumanoidWS = 140
8414
hum.WalkSpeed = 140
8415
rainbowmode = false
8416
chaosmode = false
8417
RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
8418
newTheme("rbxassetid://1495032271",0,1.01,1.25)
8419
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8420
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8421
Head.face.Texture =  "rbxassetid://155195214"
8422
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8423
char.Pants.PantsTemplate = "rbxassetid://770508500"
8424
MAINRUINCOLOR = BrickColor.new("Alder")
8425
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8426
end
8427
if k == "h" and attack == false and ModeOfGlitch ~= 66666666 then
8428
               ModeOfGlitch = 666666666
8429
newTheme("rbxassetid://733456981",115.2,1.01,1.25)
8430
chatfunc("I'm ....",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
8431
wait(5)
8432
chatfunc("Cant hold it in self....",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
8433
wait(2)
8434
chatfunc("Because.....",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
8435
wait(2)
8436
chatfunc("Everyone...,",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
8437
wait(2)
8438
chatfunc("What im say....just stupid words...",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
8439
wait(1.25)
8440
chatfunc("BUT IT BE MY FINAL PATIENT!",MAINRUINCOLOR.Color,"Inverted","Arcade",2)
8441
wait(1.5)
8442
warnedpeople("K A R M A","Arcade",MAINRUINCOLOR.Color,MAINRUINCOLOR.Color)
8443
wait(1.5)
8444
ModeOfGlitch = 666666666
8445
attack = false
8446
storehumanoidWS = 16
8447
hum.WalkSpeed = 16
8448
rainbowmode = false
8449
chaosmode = true
8450
RecolorTextAndRename("K A R M A",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
8451
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8452
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8453
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8454
char.Pants.PantsTemplate = "rbxassetid://770508500"
8455
MAINRUINCOLOR = BrickColor.new("Black")
8456
Head.face.Texture =  "rbxassetid://176217464"
8457
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true)
8458
end
8459
if k == "j" and attack == false and ModeOfGlitch ~= 67966 then
8460
               ModeOfGlitch = 67966
8461
storehumanoidWS = 16
8462
hum.WalkSpeed = 16
8463
rainbowmode = false
8464
chaosmode = false
8465
RecolorTextAndRename("LOVE",Color3.new(1,0,1),Color3.new(1,0.5,1),"Highway")
8466
newTheme("rbxassetid://736003449",0,1,1.75)
8467
MAINRUINCOLOR = BrickColor.new("Hot pink")
8468
		disably = false
8469
		warnedpeople("Love <3","Antique",BrickColor.new("White").Color,BrickColor.new("Pink").Color)
8470
		disably = true
8471
Head.face.Texture =  "rbxassetid://632698682"
8472
M2.MeshId = "http://www.roblox.com/asset/?id=13640868"
8473
char.Shirt.ShirtTemplate = "rbxassetid://343876971" 
8474
char.Pants.PantsTemplate = "rbxassetid://296856801"
8475
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
8476
end
8477
if k == "g" and attack == false and ModeOfGlitch ~= 9 then
8478
               ModeOfGlitch = 9
8479
storehumanoidWS = 150
8480
hum.WalkSpeed = 150
8481
rainbowmode = false
8482
chaosmode = false
8483
RecolorTextAndRename("BLUE INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
8484
newTheme("rbxassetid://2573921783",0,1.01,1.25)
8485
MAINRUINCOLOR = BrickColor.new("Really blue")
8486
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8487
end
8488
if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
8489
               ModeOfGlitch = 8889
8490
storehumanoidWS = 180
8491
hum.WalkSpeed = 180
8492
rainbowmode = false
8493
chaosmode = false
8494
RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
8495
newTheme("rbxassetid://1359036559",0,1.01,1.25)
8496
MAINRUINCOLOR = BrickColor.new("Lilac")
8497
RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8498
end
8499
if k == "n" and attack == false and ModeOfGlitch == 8889 then
8500
               ModeOfGlitch = 88893333388
8501
storehumanoidWS = 200
8502
hum.WalkSpeed = 200
8503
rainbowmode = false
8504
chaosmode = false
8505
CRAZED = false
8506
RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
8507
newTheme("rbxassetid://1504604335",0,1,1.5)
8508
MAINRUINCOLOR = BrickColor.new("Royal purple")
8509
bosschatfunc("I suggest you stop now.",MAINRUINCOLOR.Color,1)
8510
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
8511
end
8512
if k == "m" and attack == false and ModeOfGlitch == 3 then
8513
attack = true
8514
ModeOfGlitch = 3
8515
hum.WalkSpeed = 0
8516
newTheme("rbxassetid://2368327428",9,1,1.25)
8517
wait(2)
8518
for i = 0, 15, 0.1 do
8519
		swait()
8520
RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
8521
LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
8522
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
8523
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1)
8524
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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)
8525
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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)
8526
end
8527
sphere(2,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
8528
sphere(3,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
8529
sphere(1,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
8530
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
8531
sphere(3,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
8532
CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
8533
               ModeOfGlitch = 146536
8534
storehumanoidWS = 12
8535
hum.WalkSpeed = 12
8536
rainbowmode = false
8537
chaosmode = false
8538
CRAZED = false
8539
RecolorTextAndRename("MATTER-V",Color3.new(0.15,0.15,0.15),Color3.new(0.35,0,1),"Fantasy")
8540
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8541
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8542
Head.face.Texture =  "rbxassetid://155195214"
8543
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8544
char.Pants.PantsTemplate = "rbxassetid://770508500"
8545
MAINRUINCOLOR = BrickColor.new("Gold")
8546
RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
8547
attack = false
8548
end
8549
if k == "b" and attack == false and ModeOfGlitch == 3 then
8550
               ModeOfGlitch = -5
8551
storehumanoidWS = 16
8552
hum.WalkSpeed = 16
8553
rainbowmode = false
8554
chaosmode = false
8555
Error = false
8556
CRAZED = false
8557-
RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new("Pink").Color,"Antique")
8557+
8558-
newTheme("rbxassetid://685323634",0,1,1.25)
8558+
8559
               ModeOfGlitch = 676767
8560
storehumanoidWS = 16
8561
hum.WalkSpeed = 16
8562
rainbowmode = false
8563
chaosmode = false
8564
ASTRA = false
8565
dragon = false
8566
vis = false
8567
RecolorTextAndRename("OMEGA MICHEAL",Color3.new(1,1,1),Color3.new(0,0,0),"Fantasy")
8568
newTheme("rbxassetid://357906328",0,1,1.25)
8569
MAINRUINCOLOR = BrickColor.new("Really black")
8570
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8571
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8572
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8573
char.Pants.PantsTemplate = "rbxassetid://770508500"
8574
RecolorThing(BrickColor.new("Crimson"),BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Really black"),0,BrickColor.new("White"),true,false)
8575
warnedpeople("IM YOU'RE BEST NIGHTMARE!","Antique",MAINRUINCOLOR.Color,BrickColor.new("Crimson").Color)
8576
end
8577
if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 61 then
8578
               ModeOfGlitch = 61
8579
storehumanoidWS = 16
8580
hum.WalkSpeed = 16
8581
rainbowmode = false
8582
chaosmode = false
8583
RecolorTextAndRename("LUNAR MICHEAL",Color3.new(0,0,0),Color3.new(1,1,1),"Bodoni")
8584
MAINRUINCOLOR = BrickColor.new("Navy blue")
8585
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
8586
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
8587
Head.face.Texture =  "rbxassetid://155195214"
8588
char.Shirt.ShirtTemplate = "rbxassetid://36192003" 
8589
char.Pants.PantsTemplate = "rbxassetid://770508500"
8590
newTheme("rbxassetid://561833161",0,1,1.25)
8591
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true)
8592
end
8593
if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 911 then
8594
               ModeOfGlitch = 911
8595
storehumanoidWS = 100
8596
hum.WalkSpeed = 100
8597
rainbowmode = false
8598
chaosmode = false
8599
RecolorTextAndRename("MUSICAL RELAX",Color3.new(1,1,0.5),BrickColor.new("Really red").Color,"Antique")
8600
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8601
Head.face.Texture =  "rbxassetid://21635489"
8602
MAINRUINCOLOR = BrickColor.new("Deep blue")
8603
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8604
end
8605
if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
8606
               ModeOfGlitch = 55469696922
8607
storehumanoidWS = 12
8608
hum.WalkSpeed = 12
8609
rainbowmode = false
8610
chaosmode = false
8611
RecolorTextAndRename("PLAGUES",Color3.new(0,0.3,0),BrickColor.new("Lime green").Color,"Code")
8612
newTheme("rbxassetid://577543579",0,1.005,1.25)
8613
MAINRUINCOLOR = BrickColor.new("Lime green")
8614
chatfunc("The plague is already inside..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.7)
8615
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8616
end
8617
if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
8618
               ModeOfGlitch = 4367677813
8619
storehumanoidWS = 225
8620
hum.WalkSpeed = 225
8621
rainbowmode = false
8622
chaosmode = false
8623
RecolorTextAndRename("RAGE",Color3.new(1,0,0),BrickColor.new("Lime green").Color,"Arcade")
8624
newTheme("rbxassetid://146364977",0,1.01,1.25)
8625
MAINRUINCOLOR = BrickColor.new("Really red")
8626
RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8627
end
8628
if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
8629
               ModeOfGlitch = 999999999556
8630
storehumanoidWS = 500
8631
hum.WalkSpeed = 500
8632
rainbowmode = false
8633
chaosmode = false
8634
RecolorTextAndRename("MICHEAL.EXE",BrickColor.new("Really black").Color,BrickColor.new("Really black").Color,"Code")
8635
newTheme("rbxassetid://902450130",0,1.02,1.25)
8636
MAINRUINCOLOR = BrickColor.new("Really black")
8637
warnedpeople("I'M BACK!","Arcade",BrickColor.new("White").Color,BrickColor.new("Really black").Color)
8638
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8639
end
8640
if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
8641
               ModeOfGlitch = 1264532489
8642
storehumanoidWS = 250
8643
hum.WalkSpeed = 250
8644
rainbowmode = false
8645
chaosmode = false
8646
RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
8647
newTheme("rbxassetid://1505487022",0,1.01,1.25)
8648
MAINRUINCOLOR = BrickColor.new("Pastel green")
8649
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8650
end
8651
if k == "l" and mutedtog == false then
8652
mutedtog = true
8653
kan.Volume = 0
8654
elseif k == "l" and mutedtog == true then
8655
mutedtog = false
8656
kan.Volume = 1.25
8657
end
8658
if k == "p" and toggleTag == false then
8659
toggleTag = true
8660
modet.TextTransparency = 0
8661
modet.TextStrokeTransparency = 0
8662
elseif k == "p" and toggleTag == true then
8663
toggleTag = false
8664
modet.TextTransparency = 1
8665
modet.TextStrokeTransparency = 1
8666
end
8667
if k == "z" and attack == false and ModeOfGlitch == 1 then
8668
ExtinctiveHeartbreak()
8669
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
8670
HeavenlyDisk()
8671
elseif k == "x" and attack == false and ModeOfGlitch == 2 then
8672
Fireball()
8673
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
8674
CorruptionEvent()
8675
elseif k == "x" and attack == false and ModeOfGlitch == 3 then
8676
CorruptBlink()
8677
elseif k == "z" and attack == false and ModeOfGlitch == 4 then
8678
RapidBurst()
8679
elseif k == "z" and attack == false and ModeOfGlitch == 146536 then
8680
HeavenlyDisk()
8681
elseif k == "x" and attack == false and ModeOfGlitch == 146536 then
8682
CorruptBlink()
8683
elseif k == "z" and attack == false and ModeOfGlitch == 5 then
8684
--DivineLights()
8685
elseif k == "z" and attack == false and ModeOfGlitch == 6 then
8686
EquinoxOrbs()
8687
elseif k == "z" and attack == false and ModeOfGlitch == 67966 then
8688
cutesigh()
8689
elseif k == "z" and attack == false and ModeOfGlitch == 420 then
8690
EquinoxOrbs()
8691
elseif k == "x" and attack == false and ModeOfGlitch == 67966 then
8692
hugg()
8693
elseif k == "c" and attack == false and ModeOfGlitch == 67966 then
8694
lovesqueal()
8695
elseif k == "x" and attack == false and ModeOfGlitch == 420 then
8696
FallenOrbs()
8697
elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
8698
FallenOrbs()
8699
end
8700
if k == "z" and attack == false and ModeOfGlitch == 103 then
8701
EndGROUND()
8702
end
8703
if k == "c" and attack == false and ModeOfGlitch == 420 then
8704
smiter()
8705
end
8706
if k == "x" and attack == false and ModeOfGlitch == 242424 then
8707
BinaryE()
8708
end
8709
if k == "z" and attack == false and ModeOfGlitch == 242424 then
8710
BinaryBLINK()
8711
end
8712
if k == "c" and attack == false and ModeOfGlitch == 1 then
8713
JusticeBeam()
8714
end
8715
if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
8716
FallenDEMISE()
8717
end
8718
if k == "x" and attack == false and ModeOfGlitch == 4 then
8719
ChaosGroundStrike()
8720
end
8721
if k == "x" and attack == false and ModeOfGlitch == 666666666 then
8722
Wip()
8723
end
8724
if k == "c" and attack == false and ModeOfGlitch == 4 then
8725
ChaosEND()
8726
end
8727
if k == "n" and attack == false and ModeOfGlitch == 6 then
8728
ITSNOTOVER()
8729
end
8730
if k == "v" and attack == false and ModeOfGlitch == 420 then
8731
EndGROUND()
8732
end
8733
if k == "z" and attack == false and ModeOfGlitch == 666666666 then
8734
WarpedDash()
8735
end
8736
if k == "v" and attack == false and ModeOfGlitch == 1 then
8737
    RiddleMeThisRiddleMeThat()
8738
end
8739
if k == "x" and attack == false and ModeOfGlitch == 1 then
8740
EndGROUND()
8741
end
8742
end)
8743
8744
plr.Chatted:connect(function(message)
8745
if ModeOfGlitch == 911 then
8746
if message:sub(1,5) == "play/" then
8747
OVMID = message:sub(6)
8748
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8749
elseif message:sub(1,6) == "pitch/" then
8750
OVMPIT = message:sub(7)
8751
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8752
elseif message:sub(1,4) == "vol/" then
8753
OVMVOL = message:sub(5)
8754
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8755
elseif message:sub(1,7) == "skipto/" then
8756
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8757
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
8758
elseif message:sub(1,9) == "telltime/" then
8759
chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8760
end
8761
end
8762
end)
8763
8764
--[[coroutine.resume(coroutine.create(function()
8765
while true do
8766
swait(2)
8767
if chaosmode == true then
8768
tl1.Color = ColorSequence.new(BrickColor.random().Color)
8769
tl2.Color = ColorSequence.new(BrickColor.random().Color)
8770
tl3.Color = ColorSequence.new(BrickColor.random().Color)
8771
RecolorTextAndRename("HATEFUL MICHEAL",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
8772
for i, v in pairs(mw1:GetChildren()) do
8773
if v:IsA("Part") then
8774
v.Transparency = 0.75
8775
v.BrickColor = BrickColor.random()
8776
v.Material = "Neon"
8777
end
8778
end
8779
for i, v in pairs(m2:GetChildren()) do
8780
if v:IsA("Part") then
8781
v.BrickColor = BrickColor.random()
8782
v.Material = "Neon"
8783
end
8784
end
8785
end
8786
end
8787
end))]]--
8788
Humanoid.Name = "STARGLITCHER"
8789
Humanoid.MaxHealth = math.huge
8790
Humanoid.Health = math.huge
8791
Instance.new("ForceField",char).Visible = false
8792
8793
local bguis = Instance.new("BillboardGui",tors)
8794
bguis.Size = UDim2.new(25, 0, 25, 0)
8795
local imgca = Instance.new("ImageLabel",bguis)
8796
imgca.BackgroundTransparency = 1
8797
imgca.ImageTransparency = 1
8798
imgca.Size = UDim2.new(1,0,1,0)
8799
imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
8800
imgca.ImageColor3 = Color3.new(0,0,0)
8801
8802
idleanim=.4
8803
while true do
8804
if mutedtog == false then
8805
kan.Volume = currentVol
8806
elseif mutedtog == true then
8807
kan.Volume = 0
8808
end
8809
kan.PlaybackSpeed = currentPitch
8810
kan.Pitch = currentPitch
8811
kan.SoundId = currentThemePlaying
8812
kan.Looped = true
8813
kan.Parent = char
8814
kan:Resume()
8815
if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
8816
imgca.ImageTransparency = 1
8817
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
8818
imgca.ImageColor3 = MAINRUINCOLOR.Color
8819
imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
8820
end
8821
imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
8822
bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
8823
coroutine.resume(coroutine.create(function()
8824
	if chaosmode == true then
8825
for i, v in pairs(mw1:GetChildren()) do
8826
if v:IsA("Part") then
8827
v.Transparency = 0
8828
v.BrickColor = BrickColor.random()
8829
v.Material = "Neon"
8830
end
8831
end
8832
tl1.Color = ColorSequence.new(BrickColor.random().Color)
8833
tl2.Color = ColorSequence.new(BrickColor.random().Color)
8834
tl3.Color = ColorSequence.new(BrickColor.random().Color)
8835
	RecolorTextAndRename("HATEFUL MICHEAL",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
8836
	end
8837
end))
8838
if chaosmode == false then
8839
modet.Position = UDim2.new(0,0,0,0)
8840
modet.Rotation = -5 * math.cos(sine / 32)
8841
techc.Rotation = techc.Rotation + 1
8842
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
8843
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
8844
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
8845
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
8846
ned.Rotation = 0 - 2 * math.cos(sine / 24)
8847
ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
8848
else
8849
	techc.Rotation = techc.Rotation + 1
8850
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
8851
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
8852
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
8853
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
8854
ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
8855
ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
8856
modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
8857
modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
8858
end
8859
CameraManager()
8860
swait()
8861
if ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= -666666 and ModeOfGlitch ~= 666666666 and ModeOfGlitch ~= 112 and glitchermode ~= "universal" and ModeOfGlitch ~= 246758 and ModeOfGlitch ~= 46874 and ModeOfGlitch ~= 738 and ModeOfGlitch ~= 55846 and ModeOfGlitch ~= 74532 and ModeOfGlitch ~= 18273 and ModeOfGlitch ~= 404 and ModeOfGlitch ~= 146536 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 101010 and ModeOfGlitch ~= 124 and ModeOfGlitch ~= 81 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 7888 and ModeOfGlitch ~= 555 and ModeOfGlitch ~= 6868 and ModeOfGlitch ~= 412 and ModeOfGlitch ~= 2335 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 2019 and ModeOfGlitch ~= 841 and ModeOfGlitch ~= 728 and ModeOfGlitch ~= 8799 and ModeOfGlitch ~= 2102 and ModeOfGlitch ~= 906 and ModeOfGlitch ~= 2000 and ModeOfGlitch ~= 2222222 and ModeOfGlitch ~= 911 and ModeOfGlitch ~= -5 and ModeOfGlitch ~= 2304 and ModeOfGlitch ~= 102 and ModeOfGlitch ~= 4434 and ModeOfGlitch ~= -99 and ModeOfGlitch ~= -999 and ModeOfGlitch ~= 78213 and ModeOfGlitch ~= 3141 and ModeOfGlitch ~= 763 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 147 and ModeOfGlitch ~= 888 then
8862
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8863
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8864
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)
8865
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)
8866
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)
8867
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)
8868
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)
8869
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)
8870
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)
8871
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)
8872
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)
8873
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)
8874
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)
8875
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)
8876
 sine = sine + change
8877
elseif ModeOfGlitch == 3444 then
8878
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8879
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8880
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
8881
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
8882
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
8883
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(50 + 12.5 *  math.cos(sine / 32))),.3)
8884
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(62.5 + 15 *  math.cos(sine / 32))),.3)
8885
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(75 + 17.5 *  math.cos(sine / 32))),.3)
8886
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
8887
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
8888
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
8889
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
8890
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
8891
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+math.random(-100,100)) / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
8892
 sine = sine + change
8893
elseif ModeOfGlitch == 3 then
8894
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8895
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8896
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)
8897
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)
8898
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)
8899
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)
8900
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)
8901
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)
8902
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)
8903
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)
8904
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)
8905
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)
8906
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)
8907
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)
8908
 sine = sine + change
8909
8910
elseif ModeOfGlitch == -666666 then
8911
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8912
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8913
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
8914
lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
8915
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8916
lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
8917
lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8918
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
8919
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
8920
rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
8921
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8922
rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
8923
rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8924
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
8925
 sine = sine + change
8926
8927
elseif ModeOfGlitch == 112 then
8928
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8929
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8930
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
8931
lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
8932
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8933
lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
8934
lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8935
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
8936
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
8937
rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
8938
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8939
rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
8940
rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8941
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
8942
 sine = sine + change
8943
8944
elseif ModeOfGlitch == 46874 then
8945
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8946
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8947
lwing1weld.C1=clerp(lwing1weld.C1,cf(0,math.sin(sine/15)-1,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8948
lwing2weld.C1=clerp(lwing2weld.C1,cf(0,math.sin(sine/15)-2,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8949
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,math.sin(sine/15)-3,0)*angles(math.rad(0),math.rad(180),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8950
rwing1weld.C1=clerp(rwing1weld.C1,cf(0,math.sin(sine/15)+2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8951
rwing2weld.C1=clerp(rwing2weld.C1,cf(0,math.sin(sine/15)+1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8952
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,math.sin(sine/15)+0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8953
 sine = sine + change
8954
elseif ModeOfGlitch == 146536 then
8955
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8956
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8957
lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3)
8958
lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3)
8959
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3)
8960
rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 4),1 + 4),.3)
8961
rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 5),1 + 5),.3)
8962
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 6),1 + 6),.3)
8963
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 27),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 7),1 + 7),.3)
8964
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 28),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 8),1 + 8),.3)
8965
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 29),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 9),1 + 9),.3)
8966
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 30),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 10),1 + 10),.3)
8967
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 31),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 11),1 + 11),.3)
8968
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 32),-1)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 12),1 + 12),.3)
8969
sine = sine + change
8970
elseif ModeOfGlitch == 124 then
8971
handleweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8972
handlexweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8973
lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
8974
lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
8975
lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
8976
rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
8977
rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
8978
rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
8979
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
8980
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
8981
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
8982
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
8983
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
8984
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
8985
sine = sine + change
8986
elseif ModeOfGlitch == 7888 then
8987
lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
8988
lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
8989
lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
8990
rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
8991
rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
8992
rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
8993
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
8994
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
8995
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
8996
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
8997
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
8998
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
8999
sine = sine + change
9000
elseif ModeOfGlitch == 666666666 then
9001
lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
9002
lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
9003
lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
9004
rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
9005
rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
9006
rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
9007
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
9008
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
9009
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
9010
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9011
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9012
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9013
sine = sine + change
9014
elseif ModeOfGlitch == 78213 then
9015
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9016
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9017
lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
9018
lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
9019
lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
9020
rwing1weld.C1=clerp(rwing1weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9021
rwing2weld.C1=clerp(rwing2weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9022
rwing3weld.C1=clerp(rwing3weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9023
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
9024
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
9025
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
9026
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
9027
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
9028
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
9029
sine =  sine + change
9030
elseif ModeOfGlitch == -99 then
9031
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)
9032
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)
9033
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)
9034
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)
9035
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)
9036
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)
9037
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)
9038
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)
9039
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)
9040
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)
9041
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)
9042
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)
9043
 sine = sine + change
9044
elseif ModeOfGlitch == 102 or ModeOfGlitch == 4434 then
9045
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)
9046
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 / 16))),.5)
9047
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 / 8))),.7)
9048
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
9049
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
9050
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
9051
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)
9052
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 / 16))),.5)
9053
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 / 8))),.7)
9054
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9055
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9056
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9057
 sine = sine + change
9058
elseif ModeOfGlitch == 906 or glitchermode == "universal" then
9059
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9060
handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
9061
lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
9062
lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
9063
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
9064
rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
9065
rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
9066
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
9067
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
9068
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
9069
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
9070
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9071
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9072
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9073
sine = sine + change
9074
elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then
9075
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9076
handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
9077
lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
9078
lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
9079
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
9080
rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
9081
rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
9082
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
9083
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
9084
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
9085
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
9086
sine = sine + change
9087
elseif ModeOfGlitch == 2102 then
9088
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9089
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9090
lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
9091
lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
9092
lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
9093
rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
9094
rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
9095
rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
9096
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
9097
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
9098
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
9099
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9100
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9101
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9102
sine = sine + change
9103
elseif ModeOfGlitch == 555 or ModeOfGlitch == 7621 or ModeOfGlitch == 3141 or ModeOfGlitch == 101010 or ModeOfGlitch == 44444 or ModeOfGlitch == 404 or ModeOfGlitch == 55846 then
9104
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9105
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9106
lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
9107
lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
9108
lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
9109
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)
9110
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)
9111
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)
9112
rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
9113
rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
9114
rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
9115
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)
9116
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)
9117
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)
9118
sine = sine + change
9119
elseif ModeOfGlitch == 2019 then
9120
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,-0.4)*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)
9121
lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,-0.4)*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)
9122
lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,-0.4)*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)
9123
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,-0.4)*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)
9124
rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,-0.4)*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)
9125
rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,-0.3)*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)
9126
lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3)
9127
lwing5weld.C1=clerp(lwing5weld.C1,cf(0,0 - 1 * math.cos(sine / 32.5),-0.8)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(360)),.3)
9128
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3)
9129
rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3)
9130
rwing5weld.C1=clerp(rwing5weld.C1,cf(0,-1 + 1 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(180)),.3)
9131
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3)
9132
 sine = sine + change
9133
elseif ModeOfGlitch == 81 then
9134
handleweld.C0=clerp(handleweld.C0,cf(0,-6.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
9135
lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
9136
lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
9137
lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
9138
rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
9139
rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
9140
rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
9141
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
9142
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
9143
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
9144
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9145
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9146
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9147
sine = sine + change
9148
elseif ModeOfGlitch == 841 or ModeOfGlitch == 2222222 or ModeOfGlitch == -3 or ModeOfGlitch == -4 then
9149
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9150
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9151
lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
9152
lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
9153
lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
9154
rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
9155
rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
9156
rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
9157
lwing4weld.C1=clerp(lwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(360 + 720 * math.cos(sine / 65))),.3)
9158
lwing5weld.C1=clerp(lwing5weld.C1,cf(0,0 - 1 * math.cos(sine / 32.5),-0.8)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(360)),.3)
9159
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(180 + 720 * math.cos(sine / 65))),.3)
9160
rwing4weld.C1=clerp(rwing4weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),0)*angles(math.rad(0),math.rad(0),math.rad(-90 + 720 * math.cos(sine / 65))),.3)
9161
rwing5weld.C1=clerp(rwing5weld.C1,cf(0,-1 + 1 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0 + 5 * math.cos(sine / 32.5)),math.rad(0),math.rad(180)),.3)
9162
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,2 - 1.5 * math.cos(sine / 32.5),-0.9)*angles(math.rad(0),math.rad(0),math.rad(90 + 720 * math.cos(sine / 65))),.3)
9163
sine = sine + change
9164
elseif ModeOfGlitch == 412 or ModeOfGlitch == 738  then
9165
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9166
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9167
lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 + 1 * math.cos(sine / 1)),math.rad(0 - 1),1 + 1),.3)
9168
lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 2),1 + 2),.3)
9169
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.5 + 0.75 * math.cos(sine / 21),0)*angles(math.rad(0 + 1 * math.cos(sine / 1)),math.rad(0 - 3),1 + 3),.3)
9170
rwing1weld.C1=clerp(rwing1weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9171
rwing2weld.C1=clerp(rwing2weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9172
rwing3weld.C1=clerp(rwing3weld.C1,cf(0 - 7 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-0.75)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9173
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
9174
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
9175
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
9176
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 1800))),.3)
9177
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 1800))),.3)
9178
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 1800))),.3)
9179
sine = sine + change
9180
elseif ModeOfGlitch == 2304 or ModeOfGlitch == 765688533321 then
9181
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9182
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9183
lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 45),4 + 2.75 * math.cos(sine / 6.25),0)*angles(math.rad(0 + 1 * math.cos(sine / 12.5)),math.rad(0 + 2 * math.cos(sine / 9)),math.rad(90 + 3600 * math.cos(sine / 90))),.3)
9184
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)
9185
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)
9186
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)
9187
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)
9188
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)
9189
rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 45),4 + 2.75 * math.cos(sine / 6.25),0)*angles(math.rad(0 + 1 * math.cos(sine / 12.5)),math.rad(0 - 2 * math.cos(sine / 9)),math.rad(-90 + 3600 * math.cos(sine / 90))),.3)
9190
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)
9191
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)
9192
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)
9193
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)
9194
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)
9195
sine = sine + change 
9196
else
9197
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9198
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
9199
lwing1weld.C1=clerp(lwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
9200
lwing2weld.C1=clerp(lwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
9201
lwing3weld.C1=clerp(lwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
9202
rwing1weld.C1=clerp(rwing1weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
9203
rwing2weld.C1=clerp(rwing2weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
9204
rwing3weld.C1=clerp(rwing3weld.C1,cf(1 + 5 * math.cos(sine / 180),4 + 2.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
9205
lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
9206
lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
9207
lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
9208
rwing4weld.C1=clerp(rwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
9209
rwing5weld.C1=clerp(rwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
9210
rwing6weld.C1=clerp(rwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
9211
sine = sine + change
9212
end
9213
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
9214
local velderp=RootPart.Velocity.y
9215
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
9216
if equipped==true or equipped==false then
9217
if attack==false then
9218
idle=idle+1
9219
else
9220
idle=0
9221
end
9222
if idle>=500 then
9223
if attack==false then
9224
--Sheath()
9225
end
9226
end
9227
if RootPart.Velocity.y > 1 and hitfloor==nil then 
9228
Anim="Jump"
9229
if attack==false then
9230
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)
9231
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)
9232
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)
9233
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
9234
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)
9235
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)
9236
end
9237
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
9238
Anim="Fall"
9239
if attack==false then
9240
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)
9241
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)
9242
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)
9243
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
9244
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)
9245
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)
9246
end
9247
elseif torvel<1 and hitfloor~=nil then
9248
Anim="Idle"
9249
if attack==false then
9250
if ModeOfGlitch == 1 then
9251
local Alpha = .1
9252
  	RootJoint.C0 = RootJoint.C0:lerp(cf(0,0 + 0.3 * math.cos(sine/10),0)*angles(math.rad(-5),math.rad(0),math.rad(0))*RootCF,Alpha)
9253
  	LH.C0 = LH.C0:lerp(cf(-1,-1-.3 * math.cos(sine/10),-0.1)*angles(math.rad(5),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
9254
  	RH.C0 = RH.C0:lerp(cf(1,-1-.3 * math.cos(sine/10),0.1)*angles(math.rad(5),math.rad(-20),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
9255
  	LW.C0 = LW.C0:lerp(cf(-1,0.5+ 0.2 * math.cos(sine/10),-0.6)*angles(math.rad(-22.6),math.rad(7.8),math.rad(118.7)),Alpha)
9256
  	RW.C0 = RW.C0:lerp(cf(1.2,0.2+ 0.2 * math.cos(sine/10),0.4)*angles(math.rad(-35),math.rad(0),math.rad(-30)),Alpha)
9257
  	Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0.2,0.2)*angles(math.rad(-15),math.rad(0),math.rad(0))*necko,Alpha)
9258
elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then
9259
LH.C0 = clerp(LH.C0,cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
9260
RH.C0 = clerp(RH.C0,cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
9261
RootJoint.C0 = clerp(RootJoint.C0,cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
9262
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
9263
LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
9264
RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
9265
elseif ModeOfGlitch == 5  or ModeOfGlitch == 738 then
9266
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(0 - 2 * math.cos(sine / 32))),.1)
9267
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(0 + 2 * math.cos(sine / 32))),.1)
9268
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(-10)),.1)
9269
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
9270
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(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
9271
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(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
9272
elseif ModeOfGlitch == 666666666 then
9273
local snap = math.random(1,5)
9274
if snap == 1 then
9275
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)
9276
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)
9277
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)
9278
end
9279
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(25 - 2 * math.cos(sine / 32))),.1)
9280
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(-25 + 2 * math.cos(sine / 32))),.1)
9281
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
9282
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)
9283
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.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
9284
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.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
9285
elseif ModeOfGlitch == 67966 then
9286
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 + 3 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
9287
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(6),math.rad(0 + 3 * math.cos(sine / 56)),math.rad(3 + 2 * math.cos(sine / 32))),.1)
9288
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 6 * math.cos(sine / 56))),.1)
9289
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-3 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0 + 3 * math.cos(sine / 53))),.1)
9290
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.45)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
9291
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.45)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
9292
elseif ModeOfGlitch == 11 then
9293
RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
9294
Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
9295
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
9296
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
9297
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
9298
LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
9299
elseif ModeOfGlitch == -666666 then
9300
local snap = math.random(1,30)
9301
if snap == 1 then
9302
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-45,0)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),1)
9303
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.4 * math.cos(sine / 30),0 + 0.4 * math.cos(sine / 32),5.2 + 0.4 * math.cos(sine / 26))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(math.random(-5,5))),1)
9304
RW.C0=clerp(RW.C0,cf(1.35,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(math.random(40,185) + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(math.random(-35,-7) + 1 * math.cos(sine / 45))),1)
9305
LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(math.random(40,187) - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(math.random(9,31) - 3 * math.cos(sine / 45))),1)
9306
end
9307
elseif ModeOfGlitch == 420 then
9308
local snap = math.random(1,5)
9309
if snap == 1 then
9310
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-10,10)),math.rad(math.random(10,-10)),math.rad(math.random(12,13))),0.6)
9311
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(-3,5)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-5,1))),.6)
9312
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,0)),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)
9313
end
9314
 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)
9315
                    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)
9316
                    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)
9317
                    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)
9318
                    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)
9319
                    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)
9320
elseif ModeOfGlitch == 676767 then
9321
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(-14 - 5 * math.cos(sine / 48))),.1)
9322
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(15 + 7 * math.cos(sine / 51))),.1)
9323
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),20 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
9324
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)
9325
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)
9326
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)
9327
elseif ModeOfGlitch == 11111 then
9328
RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 9 * math.cos(sine / 39))),.2)
9329
LH.C0=clerp(LH.C0,cf(-1,-1,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(10 + 5 * math.cos(sine / 51))),.2)
9330
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),1 + 0.25 * math.cos(sine / 32))*angles(math.rad(3 - 3 * math.cos(sine / 32)),math.rad(0),math.rad(22)),.2)
9331
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-22)),.2)
9332
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(180 + 3 * math.cos(sine / 53)),math.rad(0 - 4 * math.cos(sine / 60)),math.rad(-5 + 4 * math.cos(sine / 45))),.2)
9333
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-5 - 7 * math.cos(sine / 58)),math.rad(1 - 5 * math.cos(sine / 55)),math.rad(-12 - 9 * math.cos(sine / 45))),.2)
9334
elseif ModeOfGlitch == 242424 then
9335
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
9336
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
9337
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
9338
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
9339
RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
9340
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
9341
elseif ModeOfGlitch == 88893333388 then
9342
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 - 9 * math.cos(sine / 51))),.1)
9343
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 + 7 * math.cos(sine / 44))),.1)
9344
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.25 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
9345
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
9346
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
9347
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
9348
elseif ModeOfGlitch == 103 then
9349
local Alpha = .1
9350
	  RootJoint.C0 = RootJoint.C0:lerp(cf(0,0+ 0.02 * math.cos(sine / 32),0)*angles(math.rad(-29.2-1 * math.cos(sine / 54)),math.rad(0),math.rad(0))*RootCF,Alpha)
9351
  	LH.C0 = LH.C0:lerp(cf(-1,-1.1- 0.02 * math.cos(sine / 32),-0.1)*angles(math.rad(29.2+1 * math.cos(sine / 54)),math.rad(0),math.rad(-5))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
9352
  	RH.C0 = RH.C0:lerp(cf(1,-1.1- 0.02 * math.cos(sine / 32),-0.1)*angles(math.rad(29.2+1 * math.cos(sine / 54)),math.rad(0),math.rad(5))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
9353
  	LW.C0 = LW.C0:lerp(cf(-1.4,1+ 0.05 * math.sin(sine / 32),-0.1)*angles(math.rad(180),math.rad(0),math.rad(50)),Alpha)
9354
  	RW.C0 = RW.C0:lerp(cf(1.4,1+ 0.05 * math.sin(sine / 32),-0.1)*angles(math.rad(180),math.rad(0),math.rad(-50)),Alpha)
9355
if math.random(1,32) == 1 then
9356
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(math.random(-15,15)),0),1)
9357
else
9358
Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*necko,Alpha)	
9359
end
9360
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
9361
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(-14 - 5 * math.cos(sine / 48))),.1)
9362
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(15 + 7 * math.cos(sine / 51))),.1)
9363
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),20 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
9364
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)
9365
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)
9366
elseif ModeOfGlitch == 2 then
9367
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)
9368
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)
9369
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)
9370
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
9371
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)
9372
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)
9373
elseif ModeOfGlitch == 3 then
9374
local Alpha = .1
9375
	 RootJoint.C0 = RootJoint.C0:lerp(cf(0,0+ 0.1 * math.cos(sine/24),0)*angles(math.rad(0),math.rad(47.9),math.rad(0))*RootCF,Alpha)
9376
  	LH.C0 = LH.C0:lerp(cf(-1,-1-0.1 * math.cos(sine/24),0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(0),math.rad(-90),math.rad(0)),Alpha)
9377
  	RH.C0 = RH.C0:lerp(cf(0.8,-1-0.1 * math.cos(sine/24),0.4)*angles(math.rad(0),math.rad(-47.9),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(0)),Alpha)
9378
  	LW.C0 = LW.C0:lerp(cf(-0.9,0.2+ 0.1 * math.sin(sine/24),0.3)*angles(math.rad(-23.4),math.rad(0),math.rad(48-5*math.cos(sine/32))),Alpha)
9379
  	RW.C0 = RW.C0:lerp(cf(1.5,0.5+ 0.1 * math.sin(sine/24),-0.1)*angles(math.rad(15.5),math.rad(0),math.rad(12.5+10*math.cos(sine/32))),Alpha)
9380
  	Torso.Neck.C0 = Torso.Neck.C0:lerp(cf(0,0,0)*angles(math.rad(0+1*math.sin(sine/24)),math.rad(-47.9),math.rad(0))*necko,Alpha)
9381
elseif ModeOfGlitch == 453453484635345 then
9382
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,BrickColor.new("Institutional white"),BrickColor.new("Dark stone grey").Color)
9383
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)
9384
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)
9385
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)
9386
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)
9387
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)
9388
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(90 - 4 * math.cos(sine / 45))),.1)
9389
elseif ModeOfGlitch == 4 then
9390
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)
9391
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)
9392
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)
9393
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)
9394
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)
9395
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)
9396
elseif ModeOfGlitch == 765688533321 then
9397
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(0 - 2 * math.cos(sine / 32))),.1)
9398
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(0 + 2 * math.cos(sine / 32))),.1)
9399
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)
9400
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)
9401
RW.C0=clerp(RW.C0,CFrame.new(1.5,0.55+0.05*math.cos(sine/25)+ -math.sin(sine/25)/40,0)*angles(math.rad(5-2.5*math.cos(sine/25)),math.rad(0),math.rad(10+5*math.cos(sine/25))+ math.sin(sine/25)/20),0.15)
9402
LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.55+0.05*math.cos(sine/25)+ -math.sin(sine/25)/40,0)*angles(math.rad(5-2.5*math.cos(sine/25)),math.rad(0),math.rad(-10-5*math.cos(sine/25))+ -math.sin(sine/25)/20),0.15)
9403
elseif ModeOfGlitch == 146536 then
9404
RH.C0=clerp(RH.C0,cf(1, -1 - 0.025 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
9405
LH.C0=clerp(LH.C0,cf(-1, -1 - 0.05 * math.cos(sine/12), -0.01)*angles(math.rad(0),math.rad(-83),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
9406
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0, 0, 0 + 0.05 * math.cos(sine / 12))*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
9407
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0, 0, 0 + ((1) - 1))*angles(math.rad(15 - 2.5 * math.sin(sine / 12)),math.rad(0),math.rad(0)),0.1)
9408
RW.C0=clerp(RW.C0,cf(1,0.35 + 0.125 * math.cos(sine / 12),-0.45)*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)
9409
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.125 * math.cos(sine / 12),-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)
9410
elseif ModeOfGlitch == 2339 then
9411
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(25 - 2 * math.cos(sine / 32))),.1)
9412
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(-25 + 2 * math.cos(sine / 32))),.1)
9413
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
9414
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)
9415
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.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
9416
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.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
9417
elseif ModeOfGlitch == 5 then
9418
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(0 - 2 * math.cos(sine / 32))),.1)
9419
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(0 + 2 * math.cos(sine / 32))),.1)
9420
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(-10)),.1)
9421
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
9422
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(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
9423
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(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
9424
elseif ModeOfGlitch == 6 then
9425
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 - 7 * math.cos(sine / 56))),.1)
9426
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 / 52))),.1)
9427
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)
9428
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(0 + 2 * math.cos(sine / 53))),.1)
9429
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(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
9430
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(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
9431
elseif ModeOfGlitch == 8 then
9432
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)
9433
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)
9434
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)
9435
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)
9436
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)
9437
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)
9438
elseif ModeOfGlitch == 9 then
9439
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)
9440
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)
9441
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)
9442
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)
9443
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)
9444
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)
9445
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
9446
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)
9447
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)
9448
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,20.5 + 0.25 * 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))),.05)
9449
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)
9450
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)
9451
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)
9452
elseif ModeOfGlitch == 999999999 then
9453
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)
9454
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)
9455
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)
9456
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)
9457
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)
9458
LW.C0=clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
9459
elseif ModeOfGlitch == 8889 then
9460
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)
9461
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)
9462
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)
9463
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)
9464
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)
9465
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)
9466
elseif ModeOfGlitch == 1264532489 then
9467
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(-14 - 5 * math.cos(sine / 48))),.1)
9468
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(15 + 7 * math.cos(sine / 51))),.1)
9469
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)
9470
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)
9471
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)
9472
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)
9473
elseif ModeOfGlitch == 9999999921111 then
9474
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(25 + 1 * math.cos(sine / 34))),.2)
9475
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(-35 + 1 * math.cos(sine / 34))),.2)
9476
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(27 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
9477
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 - 2.5 * math.cos(sine / 28)),math.rad(10 + 2.5 * math.cos(sine / 75)),math.rad(0)),.2)
9478
RW.C0=clerp(RW.C0,cf(1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(-1)),.2)
9479
LW.C0=clerp(LW.C0,cf(-1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(3)),.2)
9480
elseif ModeOfGlitch == 4367677813 then
9481
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)
9482
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)
9483
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)
9484
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)
9485
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)
9486
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)
9487
elseif ModeOfGlitch == 61 then
9488
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)
9489
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)
9490
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)
9491
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)
9492
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)
9493
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)
9494
elseif ModeOfGlitch == 911 then
9495
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(-14 - 5 * math.cos(sine / 48))),.1)
9496
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(15 + 7 * math.cos(sine / 51))),.1)
9497
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(-90 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
9498
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 1 * math.cos(sine / 0.5265)),math.rad(0 - 1 * math.cos(sine / 0.25)),math.rad(0 - 1 * math.cos(sine / 0.465))),.1)
9499
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-147 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
9500
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-157 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
9501
elseif ModeOfGlitch == 55469696922 then
9502
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)
9503
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
9504
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
9505
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(18)),.1)
9506
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(-18)),.1)
9507
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 7 * math.cos(sine / 34)),math.rad(0 - 6 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1)
9508
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(0 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(-5 - 3 * math.cos(sine / 39))),.1)
9509
elseif ModeOfGlitch == 999999999556 then
9510
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)
9511
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)
9512
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(17)),.1)
9513
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
9514
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)
9515
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)
9516
end
9517
end
9518
elseif torvel>2 and torvel<22 and hitfloor~=nil then
9519
Anim="Walk"
9520
if attack==false then
9521
if ModeOfGlitch ~= 102 and ModeOfGlitch ~= 2334 then
9522
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)
9523
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)
9524
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)
9525
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
9526
RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
9527
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
9528
if ModeOfGlitch == 71 then
9529
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)
9530
end
9531
elseif ModeOfGlitch == 2334 then
9532
rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0), Rad(10 * Cos(sine / 7))), 0.15)
9533
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
9534
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
9535
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 2 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
9536
RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(5)), 0.1)
9537
LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0),	Rad(-5)), 0.1)
9538
elseif ModeOfGlitch == 102 then
9539
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)
9540
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)
9541
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)
9542
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
9543
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
9544
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
9545
end
9546
end
9547
elseif torvel>=22 and hitfloor~=nil then
9548
Anim="Run"
9549
if attack==false then
9550
if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 43433434 and ModeOfGlitch ~= 8686 and ModeOfGlitch ~= 74532 and ModeOfGlitch ~= -666666 and ModeOfGlitch ~= 45743 and ModeOfGlitch ~= 246758 and ModeOfGlitch ~= 18273 and ModeOfGlitch ~= 116 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 911 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 11 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 7652 and ModeOfGlitch ~= 8008135 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 2019 and ModeOfGlitch ~= 6868 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 1999 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 55846 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 6518594185 and ModeOfGlitch ~= 2000 and ModeOfGlitch ~= 906 and ModeOfGlitch ~= 841 and ModeOfGlitch ~= 8799 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 727 and ModeOfGlitch ~= 2102 and ModeOfGlitch ~= 2222222 and ModeOfGlitch ~= -3 and ModeOfGlitch ~= -4 and ModeOfGlitch ~= 2304 and ModeOfGlitch ~= 4434 and ModeOfGlitch ~= 78213 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 763 and ModeOfGlitch ~= 7888 and ModeOfGlitch ~= 147 and ModeOfGlitch ~= 888 and ModeOfGlitch ~= 1055 and ModeOfGlitch ~= 81 and ModeOfGlitch ~= 404 then
9551
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)
9552
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)
9553
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)
9554
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)
9555
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)
9556
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)
9557
if ModeOfGlitch == 9 then
9558
--
9559
end
9560
elseif ModeOfGlitch == -666666 then
9561
local snap = math.random(1,30)
9562
if snap == 1 then
9563
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-45,0)),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),1)
9564
end
9565
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(-15 - 5 * math.cos(sine / 32)),math.rad(100- 5 * math.cos(sine / 32)),math.rad(0))*angles(math.rad(-3 + math.random(-5,5)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
9566
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-15 - 2.5 * math.cos(sine / 32)),math.rad(-95),math.rad(0))*angles(math.rad(-3 + math.random(-5,5)),math.rad(0 - 1 * math.cos(sine / 56)+ math.random(-5,5)),math.rad(10 + 6 * math.cos(sine / 31) + math.random(-5,5))),.1)
9567
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.2 * math.cos(sine / 30),0 + 0.2 * math.cos(sine / 34),5.2 + 0.4 * math.cos(sine / 26))*angles(math.rad(50 - 2 * math.cos(sine / 32) + math.random(-5,5)),math.rad(0 + math.random(-5,5)),math.rad(math.random(-5,5))),.1)
9568
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37) + math.random(-5,5)),math.rad(0 + 1 * math.cos(sine / 58) + math.random(-5,5)),math.rad(0 + 2 * math.cos(sine / 53) + math.random(-5,5))),.1)
9569
RW.C0=clerp(RW.C0,cf(0.9,0.5 + 0.1 * math.cos(sine / 34),-0.5)*angles(math.rad(0 + math.random(-5,5)),math.rad(-20 - 7.5 * math.cos(sine / 26) + math.random(-5,5)),math.rad(-90 - 5 * math.cos(sine / 34) + math.random(-5,5))),.3)
9570
LW.C0=clerp(LW.C0,cf(-0.9,0.4 + 0.1 * math.cos(sine / 34),-0.5)*angles(math.rad(0 + math.random(-5,5)),math.rad(20 + 7.5 * math.cos(sine / 32) + math.random(-5,5)),math.rad(87.5 + 5 * math.cos(sine / 34) + math.random(-5,5))),.3)
9571
elseif ModeOfGlitch == 404 or ModeOfGlitch == 246758 then
9572
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)
9573
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)
9574
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)
9575
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)
9576
RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.5, -0.5) * angles(math.rad(90), math.rad(-80), math.rad(-40)),.2)
9577
LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.2)
9578
elseif ModeOfGlitch == 911 then
9579
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(-14 - 5 * math.cos(sine / 48))),.1)
9580
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(15 + 7 * math.cos(sine / 51))),.1)
9581
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(-90 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
9582
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 1 * math.cos(sine / 0.5265)),math.rad(0 - 1 * math.cos(sine / 0.25)),math.rad(0 - 1 * math.cos(sine / 0.465))),.1)
9583
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-147 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
9584
LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*angles(math.rad(-157 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
9585
elseif ModeOfGlitch == 8686 then
9586
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)
9587
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)
9588
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(math.sin(sine/23),math.cos(sine/31)*0.5,6 + 0.5 * math.cos(sine / 24))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
9589
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)
9590
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)
9591
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)
9592
elseif ModeOfGlitch == 676767 or ModeOfGlitch == 55846 or ModeOfGlitch == 18273 or ModeOfGlitch == 74532 or ModeOfGlitch == 116 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 147 or ModeOfGlitch == 78213 or ModeOfGlitch == 2102 or ModeOfGlitch == 8799 or ModeOfGlitch == 841 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 61 or ModeOfGlitch == 727 or ModeOfGlitch == 420 or ModeOfGlitch == 906 or ModeOfGlitch == 2000 or ModeOfGlitch == 2222222 or ModeOfGlitch == 2304 or ModeOfGlitch == -3 or ModeOfGlitch == -4 or ModeOfGlitch == 7888 or ModeOfGlitch == 763 or ModeOfGlitch == 888 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 6518594185 then
9593
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)
9594
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)
9595
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)
9596
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)
9597
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)
9598
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
9599
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)
9600
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)
9601
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,20.5 + 0.25 * 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))),.05)
9602
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)
9603
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)
9604
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)
9605
elseif ModeOfGlitch == 6 or ModeOfGlitch == 43433434 or ModeOfGlitch == 45743 or ModeOfGlitch == 3444 or ModeOfGlitch == 412 or ModeOfGlitch == 69 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 1055 or ModeOfGlitch == 11 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 7652 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 2019 or ModeOfGlitch == 1999 or ModeOfGlitch == 8889 or ModeOfGlitch == 74 or ModeOfGlitch == 8008135 or ModeOfGlitch == 4434 then
9606
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)
9607
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)
9608
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)
9609
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)
9610
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)
9611
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)
9612
end
9613
end
9614
end
9615
end
9616
end