View difference between Paste ID: 8sg4Mb3T and mShZCQEe
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
if game.PlaceId == 843468296 then
89
error("This script has been banned. You cannot use it here. Please use Place 2.")
90
end
91
plr = owner
92
char = plr.Character
93
hum = char.Humanoid
94
local cam = game.Workspace.CurrentCamera
95
Camera = cam
96
local CamInterrupt = false
97
local TwoD = false
98
local TargetInfo = {nil, nil}
99
cam.CameraType = "Custom"
100
t = char.Torso
101
h = char.Head
102
ra = char["Right Arm"]
103
la = char["Left Arm"]
104
rl = char["Right Leg"]
105
ll = char["Left Leg"]
106
tors = char.Torso
107
lleg = char["Left Leg"]
108
root = char.HumanoidRootPart
109
hed = char.Head
110
rleg = char["Right Leg"]
111
rarm = char["Right Arm"]
112
larm = char["Left Arm"]
113
radian = math.rad
114
random = math.random
115
Vec3 = Vector3.new
116
Inst = Instance.new
117
cFrame = CFrame.new
118
Euler = CFrame.fromEulerAnglesXYZ
119
vt = Vector3.new
120
bc = BrickColor.new
121
br = BrickColor.random
122
it = Instance.new
123
cf = CFrame.new
124
125
local Booleans = {
126
  CamFollow = true,
127
  GyroUse = true
128
}
129
130
function lerp(object, newCFrame, alpha)
131
  return object:lerp(newCFrame, alpha)
132
end
133
134
local Directer = Inst("BodyGyro", root)
135
Directer.MaxTorque = Vec3(0, 0, 0)
136
Directer.P = 600000
137
local CPart = Inst("Part")
138
CPart.Anchored = true
139
CPart.CanCollide = false
140
CPart.Locked = true
141
CPart.Transparency = 1
142
143
local rainbowmode = false
144
local chaosmode = false
145
146
local kan = Instance.new("Sound",char)
147
kan.Volume = 1.25
148
kan.TimePosition = 0
149
kan.PlaybackSpeed = 1
150
kan.Pitch = 1
151
kan.SoundId = "rbxassetid://614032233"
152
kan.Name = "wrecked"
153
kan.Looped = true
154
kan:Play()
155
156
local currentThemePlaying = kan.SoundId
157
local currentPitch = kan.Pitch
158
local currentVol = kan.Volume
159
function newTheme(ID,timepos,pitch,vol)
160
local kanz = kan
161
--kanz:Stop()
162
kanz.Volume = vol
163
--kanz.TimePosition = timepos
164
kanz.PlaybackSpeed = pitch
165
kanz.Pitch = pitch
166
kanz.SoundId = ID
167
kanz.Name = "wrecked"
168
kanz.Looped = true
169
currentThemePlaying = kanz.SoundId
170
currentVol = kanz.Volume
171
currentPitch = kanz.Pitch
172
--kanz:Play()
173
--coroutine.resume(coroutine.create(function()
174
--wait(0.05)
175
--end))
176
end
177
178
179
function newThemeCust(ID,timepos,pitch,vol)
180
local kanz = kan
181
kanz:Stop()
182
kanz.Volume = vol
183
kanz.TimePosition = timepos
184
kanz.PlaybackSpeed = pitch
185
kanz.Pitch = pitch
186
kanz.SoundId = ID
187
kanz.Name = "wrecked"
188
kanz.Looped = true
189
currentThemePlaying = kanz.SoundId
190
currentVol = kanz.Volume
191
currentPitch = kanz.Pitch
192
kanz:Play()
193
coroutine.resume(coroutine.create(function()
194
wait(0.05)
195
end))
196
end
197
198
local mutedtog = false
199
200
function IdolsWarn(text,represfont,color,color2)
201
	if disably ~= true then
202
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
203
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
204
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
205
coroutine.resume(coroutine.create(function()
206
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
207
v.PlayerGui:FindFirstChild("Spinny"):destroy()
208
end
209
local scrg = Instance.new("ScreenGui",v.PlayerGui)
210
scrg.Name = "Spinny"
211
local frm = Instance.new("Frame",scrg)
212
frm.BackgroundTransparency = 0.25
213
frm.BackgroundColor3 = color
214
frm.BorderSizePixel = 0
215
frm.Rotation = 45
216
frm.Size = UDim2.new(3,0,0,100)
217
frm.Position = UDim2.new(-4,0,0,0)
218
local frm2 = frm:Clone()
219
frm2.Parent = scrg
220
frm2.BackgroundColor3 = color2
221
frm2.Position = UDim2.new(-4.05,0,0,0)
222
local imlb = Instance.new("ImageLabel",scrg)
223
imlb.BackgroundTransparency = 1
224
imlb.BackgroundColor3 = color
225
imlb.Image = "rbxassetid://787198541"
226
imlb.Size = UDim2.new(0,750,0,750)
227
imlb.ImageColor3 = color2
228
imlb.ImageTransparency = 0.25
229
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
230
local imlb2 = imlb:Clone()
231
imlb2.Image = "rbxassetid://197468643"
232
imlb2.Size = UDim2.new(1,0,1,0)
233
imlb2.ImageTransparency = 0
234
imlb2.Position = UDim2.new(0,0,0,0)
235
local imlb3 = imlb:Clone()
236
imlb3.Image = "rbxassetid://787191999"
237
imlb3.Size = UDim2.new(1,0,1,0)
238
imlb3.ImageColor3 = color2
239
imlb3.ImageTransparency = 0
240
imlb3.Position = UDim2.new(0,0,0,0)
241
local imlb4 = imlb:Clone()
242
imlb4.Image = "rbxassetid://2092248396"
243
imlb4.Size = UDim2.new(3,0,3,0)
244
imlb3.ImageColor3 = color
245
imlb4.ImageTransparency = 0
246
imlb4.Position = UDim2.new(-1,0,-1,0)
247
local imlb5 = imlb:Clone()
248
imlb5.Image = "rbxassetid://2344870656"
249
imlb5.Size = UDim2.new(10,0,10,0)
250
imlb5.ImageColor3 = color2
251
imlb5.ImageTransparency = 0
252
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
253
imlb2.Parent = imlb
254
imlb3.Parent = imlb
255
imlb4.Parent = imlb
256
imlb5.Parent = imlb
257
local txtlb2 = Instance.new("TextLabel",imlb)
258
coroutine.resume(coroutine.create(function()
259
while true do
260
swait()
261
if Error == false then
262
txtlb2.Text = text
263
elseif Error == true then
264
txtlb2.Text = est[math.random(1,17)]
265
end
266
end
267
end))
268
txtlb2.Font = represfont
269
txtlb2.TextColor3 = color
270
txtlb2.TextStrokeTransparency = 0
271
txtlb2.BackgroundTransparency = 1
272
txtlb2.TextStrokeColor3 = color2
273
txtlb2.TextScaled = true
274
txtlb2.Size = UDim2.new(1,0,1,0)
275
txtlb2.Position = UDim2.new(0,0,0,0)
276
local fvalen = 0.55
277
local fval = -0.49
278
coroutine.resume(coroutine.create(function()
279
while true do
280
swait()
281
if rainbowmode == true then
282
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
283
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
284
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
285
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
286
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
287
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
288
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
289
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
290
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
291
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
292
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
293
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
294
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
295
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
296
end
297
end
298
end))
299
coroutine.resume(coroutine.create(function()
300
while true do
301
swait()
302
if Error == true then
303
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
304
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
305
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
306
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
307
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
308
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
309
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
310
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
311
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
312
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
313
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
314
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
315
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
316
text = est[math.random(1,17)]
317
end
318
end
319
end))
320
coroutine.resume(coroutine.create(function()
321
while true do
322
swait()
323
if CRAZED == true then
324
txtlb2.Rotation = math.random(-1,1)
325
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
326
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
327
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
328
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
329
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
330
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
331
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
332
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
333
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
334
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
335
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
336
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
337
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
338
end
339
end
340
end))
341
coroutine.resume(coroutine.create(function()
342
while true do
343
swait()
344
if chaosmode == true then
345
txtlb2.Rotation = math.random(-1,1)
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
imlb.ImageColor3 = BrickColor.random().Color
349
txtlb2.TextStrokeColor3 = BrickColor.random().Color
350
end
351
end
352
end))
353
coroutine.resume(coroutine.create(function()
354
while true do
355
swait()
356
if scrg.Parent ~= nil then
357
	fvalen = fvalen - 0.0001
358
elseif scrg.Parent == nil then
359
break
360
end
361
end
362
end))
363
local flol = -5
364
local flil = 1.6
365
coroutine.resume(coroutine.create(function()
366
	for i = 0, 49 do
367
		swait()
368
		flol = flol + 0.125
369
		flil = flil - 0.1
370
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
371
		frm.Rotation = frm.Rotation - 0.25
372
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
373
		frm2.Rotation = frm.Rotation + 0.325
374
		imlb3.Rotation = imlb3.Rotation - 10
375
		imlb2.Rotation = imlb.Rotation + 7.5
376
		imlb.Rotation = imlb.Rotation + 5
377
		if Error == false then
378
		txtlb2.Rotation = txtlb2.Rotation - 5.125
379
		elseif Error == true then
380
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
381
		end
382
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
383
	end
384
	for i = 0, 99 do
385
		swait()
386
		fval = fval + 0.05
387
		flol = flol + 0.005
388
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
389
		frm.Rotation = frm.Rotation - 0.075
390
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
391
		frm2.Rotation = frm2.Rotation + 0.125
392
		imlb3.Rotation = imlb3.Rotation - 2
393
		imlb2.Rotation = imlb.Rotation + 1.5
394
		imlb.Rotation = imlb.Rotation + 1
395
		if Error == false then
396
		txtlb2.Rotation = txtlb2.Rotation - 1.125
397
		elseif Error == true then
398
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
399
		end
400
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
401
	end
402
local valinc = 0
403
local vinc2 = 1
404
for i = 0, 99 do
405
swait()
406
vinc2 = vinc2 + 0.25
407
valinc = valinc + 0.0001
408
flol = flol + valinc
409
flil = flil + valinc
410
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
411
imlb3.Rotation = imlb3.Rotation - 2*vinc2
412
imlb.Rotation = imlb.Rotation + 1*vinc2
413
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
414
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
415
frm.Rotation = frm.Rotation + 0.1*vinc2
416
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
417
frm2.Rotation = frm2.Rotation + 0.225*vinc2
418
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
419
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
420
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
421
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
422
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
423
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
424
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
425
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
426
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
427
end
428
scrg:Destroy()
429
end))
430
end))
431
end
432
end
433
end
434
435
local IDTECC = {"LETS BE SERIOUS"," NEO","TRUE FORM","..."}
436
437
local OVMID = 1702473314
438
local OVMPIT = 1
439
local OVMVOL = 1
440
441
function warnedpeople(text,represfont,color,color2)
442
	if disably ~= true then
443
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
444
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
445
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
446
coroutine.resume(coroutine.create(function()
447
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
448
v.PlayerGui:FindFirstChild("Spinny"):destroy()
449
end
450
local scrg = Instance.new("ScreenGui",v.PlayerGui)
451
scrg.Name = "Spinny"
452
local frm = Instance.new("Frame",scrg)
453
frm.BackgroundTransparency = 0.25
454
frm.BackgroundColor3 = color
455
frm.BorderSizePixel = 0
456
frm.Rotation = 45
457
frm.Size = UDim2.new(3,0,0,100)
458
frm.Position = UDim2.new(-4,0,0,0)
459
local frm2 = frm:Clone()
460
frm2.Parent = scrg
461
frm2.BackgroundColor3 = color2
462
frm2.Position = UDim2.new(-4.05,0,0,0)
463
local imlb = Instance.new("ImageLabel",scrg)
464
imlb.BackgroundTransparency = 1
465
imlb.BackgroundColor3 = Color3.new(0,0,0)
466
imlb.Image = "rbxassetid://2344851144"
467
imlb.Size = UDim2.new(0,750,0,750)
468
imlb.ImageColor3 = color2
469
imlb.ImageTransparency = 0.25
470
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
471
local imlb2 = imlb:Clone()
472
imlb2.Image = "rbxassetid://2076458450"
473
imlb2.Size = UDim2.new(1,0,1,0)
474
imlb2.ImageColor3 = color
475
imlb2.ImageTransparency = 0
476
imlb2.Position = UDim2.new(0,0,0,0)
477
local imlb3 = imlb:Clone()
478
imlb3.Image = "rbxassetid://2312119891"
479
imlb3.Size = UDim2.new(1,0,1,0)
480
imlb3.ImageColor3 = color2
481
imlb3.ImageTransparency = 0
482
imlb3.Position = UDim2.new(0,0,0,0)
483
local imlb4 = imlb:Clone()
484
imlb4.Image = "rbxassetid://2092248396"
485
imlb4.Size = UDim2.new(3,0,3,0)
486
imlb3.ImageColor3 = color
487
imlb4.ImageTransparency = 0
488
imlb4.Position = UDim2.new(-1,0,-1,0)
489
local imlb5 = imlb:Clone()
490
imlb5.Image = "rbxassetid://2344870656"
491
imlb5.Size = UDim2.new(10,0,10,0)
492
imlb5.ImageColor3 = color2
493
imlb5.ImageTransparency = 0
494
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
495
imlb2.Parent = imlb
496
imlb3.Parent = imlb
497
imlb4.Parent = imlb
498
imlb5.Parent = imlb
499
local txtlb2 = Instance.new("TextLabel",imlb)
500
txtlb2.Text = text
501
coroutine.resume(coroutine.create(function()
502
while true do
503
swait()
504
if ASTRA == true then
505
txtlb2.Text = est[math.random(1,5)]
506
elseif dragon == true then
507
txtlb2.Text = nobreak[math.random(1,3)]
508
end
509
end
510
end))
511
txtlb2.Font = represfont
512
txtlb2.TextColor3 = color
513
txtlb2.TextStrokeTransparency = 0
514
txtlb2.BackgroundTransparency = 1
515
txtlb2.TextStrokeColor3 = color2
516
txtlb2.TextScaled = true
517
txtlb2.Size = UDim2.new(1,0,1,0)
518
txtlb2.Position = UDim2.new(0,0,0,0)
519
local fvalen = 0.55
520
local fval = -0.49
521
522
coroutine.resume(coroutine.create(function()
523
while true do
524
swait()
525
if rainbowmode == true then
526
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
527
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
528
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
529
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
530
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
531
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
532
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
533
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
534
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
535
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
536
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
537
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
538
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
539
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
540
end
541
end
542
end))
543
coroutine.resume(coroutine.create(function()
544
while true do
545
swait()
546
if Error == true then
547
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
548
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
549
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
550
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
551
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
552
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
553
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
554
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
555
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
556
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
557
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
558
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
559
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
560
text = est[math.random(1,17)]
561
end
562
end
563
end))
564
coroutine.resume(coroutine.create(function()
565
while true do
566
swait()
567
if CRAZED == true then
568
txtlb2.Rotation = math.random(-1,1)
569
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
570
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
571
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
572
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
573
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
574
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
575
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
576
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
577
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
578
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
579
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
580
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
581
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
582
end
583
end
584
end))
585
coroutine.resume(coroutine.create(function()
586
while true do
587
swait()
588
if chaosmode == true then
589
txtlb2.Rotation = math.random(-1,1)
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
imlb.ImageColor3 = BrickColor.random().Color
593
txtlb2.TextStrokeColor3 = BrickColor.random().Color
594
end
595
end
596
end))
597
coroutine.resume(coroutine.create(function()
598
while true do
599
swait()
600
if scrg.Parent ~= nil then
601
	fvalen = fvalen - 0.0001
602
elseif scrg.Parent == nil then
603
break
604
end
605
end
606
end))
607
local flol = -5
608
local flil = 1.6
609
coroutine.resume(coroutine.create(function()
610
	for i = 0, 49 do
611
		swait()
612
		flol = flol + 0.125
613
		flil = flil - 0.1
614
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
615
		frm.Rotation = frm.Rotation - 0.25
616
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
617
		frm2.Rotation = frm.Rotation + 0.325
618
		imlb3.Rotation = imlb3.Rotation - 10
619
		imlb2.Rotation = imlb.Rotation + 7.5
620
		imlb.Rotation = imlb.Rotation + 5
621
		if Error == false then
622
		txtlb2.Rotation = txtlb2.Rotation - 5.125
623
		elseif Error == true then
624
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
625
		end
626
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
627
	end
628
	for i = 0, 99 do
629
		swait()
630
		fval = fval + 0.05
631
		flol = flol + 0.005
632
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
633
		frm.Rotation = frm.Rotation - 0.075
634
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
635
		frm2.Rotation = frm2.Rotation + 0.125
636
		imlb3.Rotation = imlb3.Rotation - 2
637
		imlb2.Rotation = imlb.Rotation + 1.5
638
		imlb.Rotation = imlb.Rotation + 1
639
		if Error == false then
640
		txtlb2.Rotation = txtlb2.Rotation - 1.125
641
		elseif Error == true then
642
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
643
		end
644
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
645
	end
646
local valinc = 0
647
local vinc2 = 1
648
for i = 0, 99 do
649
swait()
650
vinc2 = vinc2 + 0.25
651
valinc = valinc + 0.0001
652
flol = flol + valinc
653
flil = flil + valinc
654
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
655
imlb3.Rotation = imlb3.Rotation - 2*vinc2
656
imlb.Rotation = imlb.Rotation + 1*vinc2
657
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
658
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
659
frm.Rotation = frm.Rotation + 0.1*vinc2
660
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
661
frm2.Rotation = frm2.Rotation + 0.225*vinc2
662
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
663
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
664
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
665
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
666
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
667
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
668
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
669
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
670
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
671
end
672
scrg:Destroy()
673
end))
674
end))
675
end
676
end
677
end
678
679
function warnedpeople2(text,represfont,color,color2)
680
	if disably ~= true then
681
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
682
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
683
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
684
coroutine.resume(coroutine.create(function()
685
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
686
v.PlayerGui:FindFirstChild("Spinny"):destroy()
687
end
688
local scrg = Instance.new("ScreenGui",v.PlayerGui)
689
scrg.Name = "Spinny"
690
local frm = Instance.new("Frame",scrg)
691
frm.BackgroundTransparency = 0.25
692
frm.BackgroundColor3 = color
693
frm.BorderSizePixel = 0
694
frm.Rotation = 45
695
frm.Size = UDim2.new(3,0,0,100)
696
frm.Position = UDim2.new(-4,0,0,0)
697
local frm2 = frm:Clone()
698
frm2.Parent = scrg
699
frm2.BackgroundColor3 = color2
700
frm2.Position = UDim2.new(-4.05,0,0,0)
701
local imlb = Instance.new("ImageLabel",scrg)
702
imlb.BackgroundTransparency = 1
703
imlb.BackgroundColor3 = Color3.new(0,0,0)
704
imlb.Image = "rbxassetid://787198541"
705
imlb.Size = UDim2.new(0,750,0,750)
706
imlb.ImageColor3 = color2
707
imlb.ImageTransparency = 0.25
708
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
709
local imlb2 = imlb:Clone()
710
imlb2.Image = "rbxassetid://2076458450"
711
imlb2.Size = UDim2.new(1,0,1,0)
712
imlb2.ImageColor3 = color
713
imlb2.ImageTransparency = 0
714
imlb2.Position = UDim2.new(0,0,0,0)
715
local imlb3 = imlb:Clone()
716
imlb3.Image = "rbxassetid://787191999"
717
imlb3.Size = UDim2.new(1,0,1,0)
718
imlb3.ImageColor3 = color2
719
imlb3.ImageTransparency = 0
720
imlb3.Position = UDim2.new(0,0,0,0)
721
local imlb4 = imlb:Clone()
722
imlb4.Image = "rbxassetid://2092248396"
723
imlb4.Size = UDim2.new(3,0,3,0)
724
imlb3.ImageColor3 = color
725
imlb4.ImageTransparency = 0
726
imlb4.Position = UDim2.new(-1,0,-1,0)
727
local imlb5 = imlb:Clone()
728
imlb5.Image = "rbxassetid://2344870656"
729
imlb5.Size = UDim2.new(10,0,10,0)
730
imlb5.ImageColor3 = color2
731
imlb5.ImageTransparency = 0
732
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
733
imlb2.Parent = imlb
734
imlb3.Parent = imlb
735
imlb4.Parent = imlb
736
imlb5.Parent = imlb
737
local txtlb2 = Instance.new("TextLabel",imlb)
738
txtlb2.Text = text
739
coroutine.resume(coroutine.create(function()
740
while true do
741
swait()
742
if ASTRA == true then
743
txtlb2.Text = est[math.random(1,5)]
744
elseif dragon == true then
745
txtlb2.Text = nobreak[math.random(1,3)]
746
end
747
end
748
end))
749
txtlb2.Font = represfont
750
txtlb2.TextColor3 = color
751
txtlb2.TextStrokeTransparency = 0
752
txtlb2.BackgroundTransparency = 1
753
txtlb2.TextStrokeColor3 = color2
754
txtlb2.TextScaled = true
755
txtlb2.Size = UDim2.new(1,0,1,0)
756
txtlb2.Position = UDim2.new(0,0,0,0)
757
local fvalen = 0.55
758
local fval = -0.49
759
760
coroutine.resume(coroutine.create(function()
761
while true do
762
swait()
763
if rainbowmode == true then
764
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
765
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
766
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
767
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
768
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
769
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
770
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
771
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
772
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
773
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
774
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
775
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
776
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
777
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
778
end
779
end
780
end))
781
coroutine.resume(coroutine.create(function()
782
while true do
783
swait()
784
if Error == true then
785
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
786
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
787
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
788
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
789
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
790
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
791
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
792
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
793
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
794
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
795
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
796
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
797
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
798
text = est[math.random(1,17)]
799
end
800
end
801
end))
802
coroutine.resume(coroutine.create(function()
803
while true do
804
swait()
805
if CRAZED == true then
806
txtlb2.Rotation = math.random(-1,1)
807
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
808
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
809
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
810
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
811
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
812
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
813
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
814
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
815
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
816
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
817
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
818
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
819
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
820
end
821
end
822
end))
823
coroutine.resume(coroutine.create(function()
824
while true do
825
swait()
826
if chaosmode == true then
827
txtlb2.Rotation = math.random(-1,1)
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
imlb.ImageColor3 = BrickColor.random().Color
831
txtlb2.TextStrokeColor3 = BrickColor.random().Color
832
end
833
end
834
end))
835
coroutine.resume(coroutine.create(function()
836
while true do
837
swait()
838
if scrg.Parent ~= nil then
839
	fvalen = fvalen - 0.0001
840
elseif scrg.Parent == nil then
841
break
842
end
843
end
844
end))
845
local flol = -5
846
local flil = 1.6
847
coroutine.resume(coroutine.create(function()
848
	for i = 0, 49 do
849
		swait()
850
		flol = flol + 0.125
851
		flil = flil - 0.1
852
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
853
		frm.Rotation = frm.Rotation - 0.25
854
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
855
		frm2.Rotation = frm.Rotation + 0.325
856
		imlb3.Rotation = imlb3.Rotation - 10
857
		imlb2.Rotation = imlb.Rotation + 7.5
858
		imlb.Rotation = imlb.Rotation + 5
859
		if Error == false then
860
		txtlb2.Rotation = txtlb2.Rotation - 5.125
861
		elseif Error == true then
862
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
863
		end
864
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
865
	end
866
	for i = 0, 99 do
867
		swait()
868
		fval = fval + 0.05
869
		flol = flol + 0.005
870
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
871
		frm.Rotation = frm.Rotation - 0.075
872
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
873
		frm2.Rotation = frm2.Rotation + 0.125
874
		imlb3.Rotation = imlb3.Rotation - 2
875
		imlb2.Rotation = imlb.Rotation + 1.5
876
		imlb.Rotation = imlb.Rotation + 1
877
		if Error == false then
878
		txtlb2.Rotation = txtlb2.Rotation - 1.125
879
		elseif Error == true then
880
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
881
		end
882
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
883
	end
884
local valinc = 0
885
local vinc2 = 1
886
for i = 0, 99 do
887
swait()
888
vinc2 = vinc2 + 0.25
889
valinc = valinc + 0.0001
890
flol = flol + valinc
891
flil = flil + valinc
892
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
893
imlb3.Rotation = imlb3.Rotation - 2*vinc2
894
imlb.Rotation = imlb.Rotation + 1*vinc2
895
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
896
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
897
frm.Rotation = frm.Rotation + 0.1*vinc2
898
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
899
frm2.Rotation = frm2.Rotation + 0.225*vinc2
900
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
901
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
902
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
903
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
904
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
905
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
906
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
907
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
908
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
909
end
910
scrg:Destroy()
911
end))
912
end))
913
end
914
end
915
end
916
917
function CameraEnshaking(Length,Intensity)
918
coroutine.resume(coroutine.create(function()
919
      local intensity = 1*Intensity
920
      local rotM = 0.01*Intensity
921
for i = 0, Length, 0.1 do
922
swait()
923
intensity = intensity - 0.05*Intensity/Length
924
rotM = rotM - 0.0005*Intensity/Length
925
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
926
      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)
927
end
928
Humanoid.CameraOffset = Vec3(0, 0, 0)
929
end))
930
end
931
CamShake=function(Part,Distan,Power,Times) 
932
local de=Part.Position
933
for i,v in pairs(workspace:children()) do
934
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
935
for _,c in pairs(v:children()) do
936
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
937
local Noob=v.Humanoid
938
if Noob~=nil then
939
coroutine.resume(coroutine.create(function()
940
FV = Instance.new("BoolValue", Noob)
941
FV.Name = "CameraShake"
942
for ShakeNum=1,Times do
943
swait()
944
local ef=Power
945
  if ef>=1 then
946
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
947
  else
948
   ef=Power*10
949
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
950
  end	
951
end
952
Humanoid.CameraOffset = Vector3.new(0,0,0)
953
FV:Destroy()
954
end))
955
CameraShake(Times, Power, Noob)
956
end
957
end
958
end
959
end
960
end
961
end
962
963
local toggleTag = true
964
local bilguit = Instance.new("BillboardGui", hed)
965
bilguit.Adornee = nil
966
bilguit.Name = "ModeName"
967
bilguit.Size = UDim2.new(4, 0, 1.2, 0)
968
bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
969
local modet = Instance.new("TextLabel", bilguit)
970
modet.Size = UDim2.new(10/2, 0, 7/2, 0)
971
modet.FontSize = "Size8"
972
modet.TextScaled = true
973
modet.TextTransparency = 0
974
modet.BackgroundTransparency = 1 
975
modet.TextTransparency = 0
976
modet.TextStrokeTransparency = 0
977
modet.Font = "Antique"
978
modet.TextStrokeColor3 = Color3.new(1,0,0)
979
modet.TextColor3 = Color3.new(0.25,0,0)
980
modet.Text = "STAR GLITCHER V LOADED "
981
982
983
function chatfunc(text,color,typet,font,timeex)
984
local chat = coroutine.wrap(function()
985
if Character:FindFirstChild("TalkingBillBoard")~= nil then
986
Character:FindFirstChild("TalkingBillBoard"):destroy()
987
end
988
local naeeym2 = Instance.new("BillboardGui",Character)
989
naeeym2.Size = UDim2.new(0,100,0,40)
990
naeeym2.StudsOffset = Vector3.new(0,3,0)
991
naeeym2.Adornee = Character.Head
992
naeeym2.Name = "TalkingBillBoard"
993
local tecks2 = Instance.new("TextLabel",naeeym2)
994
tecks2.BackgroundTransparency = 1
995
tecks2.BorderSizePixel = 0
996
tecks2.Text = ""
997
tecks2.Font = font
998
tecks2.TextSize = 30
999
tecks2.TextStrokeTransparency = 0
1000
tecks2.TextColor3 = color
1001
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
1002
tecks2.Size = UDim2.new(1,0,0.5,0)
1003
local tecks3 = Instance.new("TextLabel",naeeym2)
1004
tecks3.BackgroundTransparency = 1
1005
tecks3.BorderSizePixel = 0
1006
tecks3.Text = ""
1007
tecks3.Font = font
1008
tecks3.TextSize = 30
1009
tecks3.TextStrokeTransparency = 0
1010
if typet == "Inverted" then
1011
tecks3.TextColor3 = Color3.new(0,0,0)
1012
tecks3.TextStrokeColor3 = color
1013
elseif typet == "Normal" then
1014
tecks3.TextColor3 = color
1015
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
1016
end
1017
tecks3.Size = UDim2.new(1,0,0.5,0)
1018
coroutine.resume(coroutine.create(function()
1019
while true do
1020
swait(1)
1021
if chaosmode == true then
1022
tecks2.TextColor3 = BrickColor.random().Color
1023
tecks3.TextStrokeColor3 = BrickColor.random().Color
1024
end
1025
end
1026
end))
1027
modet.TextTransparency = modet.TextTransparency  + 1
1028
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
1029
for i = 0, 74*timeex do
1030
swait()
1031
modet.TextTransparency = 1
1032
modet.TextStrokeTransparency = 1
1033
tecks2.Text = text
1034
tecks3.Text = text
1035
end
1036
local randomrot = math.random(1,2)
1037
if randomrot == 1 then
1038
for i = 1, 50 do
1039
swait()
1040
tecks2.Text = text
1041
tecks3.Text = text
1042
modet.TextTransparency = modet.TextTransparency - .02
1043
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
1044
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1045
tecks2.TextTransparency = tecks2.TextTransparency + .04
1046
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1047
tecks3.TextTransparency = tecks2.TextTransparency + .04
1048
end
1049
elseif randomrot == 2 then
1050
	for i = 1, 50 do
1051
swait()
1052
tecks2.Text = text
1053
tecks3.Text = text
1054
modet.TextTransparency = modet.TextTransparency - .02
1055
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
1056
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1057
tecks2.TextTransparency = tecks2.TextTransparency + .04
1058
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
1059
tecks3.TextTransparency = tecks2.TextTransparency + .04
1060
end
1061
end
1062
modet.TextTransparency = 0
1063
modet.TextStrokeTransparency = 0
1064
if toggleTag == false then
1065
modet.TextTransparency = 1
1066
modet.TextStrokeTransparency = 1
1067
end
1068
naeeym2:Destroy()
1069
end)
1070
chat()
1071
end
1072
1073
function bosschatfunc(text,color,watval)
1074
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1075
coroutine.resume(coroutine.create(function()
1076
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1077
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1078
end
1079
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1080
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
1081
scrg.Name = "Dialog"
1082
local txtlb = Instance.new("TextLabel",scrg)
1083
txtlb.Text = ""
1084
txtlb.Font = "Bodoni"
1085
txtlb.TextColor3 = Color3.new(0,0,0)
1086
txtlb.TextStrokeTransparency = 0
1087
txtlb.BackgroundTransparency = 0.75
1088
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1089
txtlb.TextStrokeColor3 = color
1090
txtlb.TextScaled = true
1091
txtlb.Size = UDim2.new(1,0,0.25,0)
1092
txtlb.TextXAlignment = "Left"
1093
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
1094
local txtlb2 = Instance.new("TextLabel",scrg)
1095
txtlb2.Text = "star:"
1096
txtlb2.Font = "Arcade"
1097
txtlb2.TextColor3 = Color3.new(0,0,0)
1098
txtlb2.TextStrokeTransparency = 0
1099
txtlb2.BackgroundTransparency = 1
1100
txtlb2.TextStrokeColor3 = color
1101
txtlb2.TextSize = 40
1102
txtlb2.Size = UDim2.new(1,0,0.25,0)
1103
txtlb2.TextXAlignment = "Left"
1104
txtlb2.Position = UDim2.new(0,0,1,0)
1105
local fvalen = 0.55
1106
local fval = -0.49
1107
coroutine.resume(coroutine.create(function()
1108
while true do
1109
swait()
1110
if chaosmode == true then
1111
txtlb.Rotation = math.random(-1,1)
1112
txtlb2.Rotation = math.random(-1,1)
1113
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1114
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1115
txtlb.TextStrokeColor3 = BrickColor.random().Color
1116
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1117
end
1118
end
1119
end))
1120
coroutine.resume(coroutine.create(function()
1121
while true do
1122
swait()
1123
if scrg.Parent ~= nil then
1124
    fvalen = fvalen - 0.0001
1125
elseif scrg.Parent == nil then
1126
break
1127
end
1128
end
1129
end))
1130
local flol = 1.75
1131
local flil = 1.6
1132
coroutine.resume(coroutine.create(function()
1133
    for i = 0, 9 do
1134
        swait()
1135
        fval = fval + 0.05
1136
        flol = flol - 0.1
1137
        flil = flil - 0.1
1138
        txtlb.Text = ""
1139
        txtlb.Position = UDim2.new(0,0,flol,0)
1140
        txtlb2.Position = UDim2.new(0,0,flil,0)
1141
    end
1142
    txtlb.Text = text
1143
wait(watval)
1144
local valinc = 0
1145
for i = 0, 99 do
1146
swait()
1147
valinc = valinc + 0.0001
1148
flol = flol + valinc
1149
flil = flil + valinc
1150
txtlb.Rotation = txtlb.Rotation + valinc*20
1151
txtlb2.Rotation = txtlb2.Rotation - valinc*50
1152
txtlb.Position = UDim2.new(0,0,flol,0)
1153
txtlb2.Position = UDim2.new(0,0,flil,0)
1154
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1155
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1156
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1157
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1158
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1159
end
1160
scrg:Destroy()
1161
end))
1162
end))
1163
end
1164
end
1165
1166
function bosschatfunc2(text,color,watval)
1167
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1168
coroutine.resume(coroutine.create(function()
1169
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1170
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1171
end
1172
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1173
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
1174
scrg.Name = "Dialog"
1175
local txtlb = Instance.new("TextLabel",scrg)
1176
txtlb.Text = ""
1177
txtlb.Font = "Bodoni"
1178
txtlb.TextColor3 = Color3.new(0,0,0)
1179
txtlb.TextStrokeTransparency = 0
1180
txtlb.BackgroundTransparency = 0.75
1181
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1182
txtlb.TextStrokeColor3 = color
1183
txtlb.TextScaled = true
1184
txtlb.Size = UDim2.new(1,0,0.25,0)
1185
txtlb.TextXAlignment = "Left"
1186
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
1187
local txtlb2 = Instance.new("TextLabel",scrg)
1188
txtlb2.Text = "User:"
1189
txtlb2.Font = "Arcade"
1190
txtlb2.TextColor3 = Color3.new(0,0,0)
1191
txtlb2.TextStrokeTransparency = 0
1192
txtlb2.BackgroundTransparency = 1
1193
txtlb2.TextStrokeColor3 = color
1194
txtlb2.TextSize = 40
1195
txtlb2.Size = UDim2.new(1,0,0.25,0)
1196
txtlb2.TextXAlignment = "Left"
1197
txtlb2.Position = UDim2.new(0,0,1,0)
1198
local fvalen = 0.55
1199
local fval = -0.49
1200
coroutine.resume(coroutine.create(function()
1201
while true do
1202
swait()
1203
if chaosmode == true then
1204
txtlb.Rotation = math.random(-1,1)
1205
txtlb2.Rotation = math.random(-1,1)
1206
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1207
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1208
txtlb.TextStrokeColor3 = BrickColor.random().Color
1209
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1210
end
1211
end
1212
end))
1213
coroutine.resume(coroutine.create(function()
1214
while true do
1215
swait()
1216
if scrg.Parent ~= nil then
1217
    fvalen = fvalen - 0.0001
1218
elseif scrg.Parent == nil then
1219
break
1220
end
1221
end
1222
end))
1223
local flol = 1.75
1224
local flil = 1.6
1225
coroutine.resume(coroutine.create(function()
1226
    for i = 0, 9 do
1227
        swait()
1228
        fval = fval + 0.05
1229
        flol = flol - 0.1
1230
        flil = flil - 0.1
1231
        txtlb.Text = ""
1232
        txtlb.Position = UDim2.new(0,0,flol,0)
1233
        txtlb2.Position = UDim2.new(0,0,flil,0)
1234
    end
1235
    txtlb.Text = text
1236
wait(watval)
1237
local valinc = 0
1238
for i = 0, 99 do
1239
swait()
1240
valinc = valinc + 0.0001
1241
flol = flol + valinc
1242
flil = flil + valinc
1243
txtlb.Rotation = txtlb.Rotation + valinc*20
1244
txtlb2.Rotation = txtlb2.Rotation - valinc*50
1245
txtlb.Position = UDim2.new(0,0,flol,0)
1246
txtlb2.Position = UDim2.new(0,0,flil,0)
1247
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1248
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1249
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1250
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1251
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1252
end
1253
scrg:Destroy()
1254
end))
1255
end))
1256
end
1257
end
1258
1259
local Create = LoadLibrary("RbxUtility").Create
1260
1261
CFuncs = {	
1262
	["Part"] = {
1263
		Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1264
			local Part = Create("Part"){
1265
				Parent = Parent,
1266
				Reflectance = Reflectance,
1267
				Transparency = Transparency,
1268
				CanCollide = false,
1269
				Locked = true,
1270
				BrickColor = BrickColor.new(tostring(BColor)),
1271
				Name = Name,
1272
				Size = Size,
1273
				Material = Material,
1274
			}
1275
			RemoveOutlines(Part)
1276
			return Part
1277
		end;
1278
	};
1279
	
1280
	["Mesh"] = {
1281
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1282
			local Msh = Create(Mesh){
1283
				Parent = Part,
1284
				Offset = OffSet,
1285
				Scale = Scale,
1286
			}
1287
			if Mesh == "SpecialMesh" then
1288
				Msh.MeshType = MeshType
1289
				Msh.MeshId = MeshId
1290
			end
1291
			return Msh
1292
		end;
1293
	};
1294
	
1295
	["Mesh"] = {
1296
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1297
			local Msh = Create(Mesh){
1298
				Parent = Part,
1299
				Offset = OffSet,
1300
				Scale = Scale,
1301
			}
1302
			if Mesh == "SpecialMesh" then
1303
				Msh.MeshType = MeshType
1304
				Msh.MeshId = MeshId
1305
			end
1306
			return Msh
1307
		end;
1308
	};
1309
	
1310
	["Weld"] = {
1311
		Create = function(Parent, Part0, Part1, C0, C1)
1312
			local Weld = Create("Weld"){
1313
				Parent = Parent,
1314
				Part0 = Part0,
1315
				Part1 = Part1,
1316
				C0 = C0,
1317
				C1 = C1,
1318
			}
1319
			return Weld
1320
		end;
1321
	};
1322
1323
	["Sound"] = {
1324
		Create = function(id, par, vol, pit) 
1325
			coroutine.resume(coroutine.create(function()
1326
				local S = Create("Sound"){
1327
					Volume = vol,
1328
                                        Name = "EffectSoundo",
1329
					Pitch = pit or 1,
1330
					SoundId = id,
1331
					Parent = par or workspace,
1332
				}
1333
				wait() 
1334
				S:play() 
1335
				game:GetService("Debris"):AddItem(S, 10)
1336
			end))
1337
		end;
1338
	};
1339
1340
	["TimeSound"] = {
1341
		Create = function(id, par, vol, pit, timepos) 
1342
			coroutine.resume(coroutine.create(function()
1343
				local S = Create("Sound"){
1344
					Volume = vol,
1345
                                        Name = "EffectSoundo",
1346
					Pitch = pit or 1,
1347
					SoundId = id,
1348
                                        TimePosition = timepos,
1349
					Parent = par or workspace,
1350
				}
1351
				wait() 
1352
				S:play() 
1353
				game:GetService("Debris"):AddItem(S, 10)
1354
			end))
1355
		end;
1356
	};
1357
		["EchoSound"] = {
1358
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
1359
			coroutine.resume(coroutine.create(function()
1360
				local Sas = Create("Sound"){
1361
					Volume = vol,
1362
                    Name = "EffectSoundo",
1363
					Pitch = pit or 1,
1364
					SoundId = id,
1365
                    TimePosition = timepos,
1366
					Parent = par or workspace,
1367
				}
1368
				local E = Create("EchoSoundEffect"){
1369
					Delay = echodelay,
1370
                    Name = "Echo",
1371
					Feedback = fedb,
1372
                    DryLevel = dryl,
1373
					Parent = Sas,
1374
				}
1375
				wait() 
1376
				Sas:play() 
1377
				game:GetService("Debris"):AddItem(Sas, delays)
1378
			end))
1379
		end;
1380
	};
1381
1382
["LongSound"] = {
1383
		Create = function(id, par, vol, pit) 
1384
			coroutine.resume(coroutine.create(function()
1385
				local S = Create("Sound"){
1386
					Volume = vol,
1387
					Pitch = pit or 1,
1388
					SoundId = id,
1389
					Parent = par or workspace,
1390
				}
1391
				wait() 
1392
				S:play() 
1393
				game:GetService("Debris"):AddItem(S, 60)
1394
			end))
1395
		end;
1396
	};
1397
	
1398
	["ParticleEmitter"] = {
1399
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1400
			local fp = Create("ParticleEmitter"){
1401
				Parent = Parent,
1402
				Color = ColorSequence.new(Color1, Color2),
1403
				LightEmission = LightEmission,
1404
				Size = Size,
1405
				Texture = Texture,
1406
				Transparency = Transparency,
1407
				ZOffset = ZOffset,
1408
				Acceleration = Accel,
1409
				Drag = Drag,
1410
				LockedToPart = LockedToPart,
1411
				VelocityInheritance = VelocityInheritance,
1412
				EmissionDirection = EmissionDirection,
1413
				Enabled = Enabled,
1414
				Lifetime = LifeTime,
1415
				Rate = Rate,
1416
				Rotation = Rotation,
1417
				RotSpeed = RotSpeed,
1418
				Speed = Speed,
1419
				VelocitySpread = VelocitySpread,
1420
			}
1421
			return fp
1422
		end;
1423
	};
1424
1425
	CreateTemplate = {
1426
	
1427
	};
1428
}
1429
1430
1431
1432
New = function(Object, Parent, Name, Data)
1433
	local Object = Instance.new(Object)
1434
	for Index, Value in pairs(Data or {}) do
1435
		Object[Index] = Value
1436
	end
1437
	Object.Parent = Parent
1438
	Object.Name = Name
1439
	return Object
1440
end
1441
local halocolor = BrickColor.new("Pastel light blue")
1442
local halocolor2 = BrickColor.new("Cool yellow")
1443
local starcolor = BrickColor.new("Bright yellow")
1444
local lunacolor = BrickColor.new("Navy blue")
1445
local lunacolor2 = BrickColor.new("Bright blue")
1446
local wepcolor = BrickColor.new("Really black")
1447
local maincolor = BrickColor.new("Really black")
1448
local m = Instance.new("Model",char)
1449
local m2 = Instance.new("Model",char)
1450
local m3 = Instance.new("Model",char)
1451
local mw1 = Instance.new("Model",char)
1452
local mw2 = Instance.new("Model",char)
1453
1454
1455
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
1456
  local gui = it(GuiType)
1457
  gui.Parent = parent
1458
  gui.Text = text
1459
  gui.BackgroundTransparency = backtrans
1460
  gui.BackgroundColor3 = backcol
1461
  gui.SizeConstraint = "RelativeXY"
1462
  gui.TextXAlignment = "Center"
1463
  gui.TextYAlignment = "Center"
1464
  gui.Position = pos
1465
  gui.Size = size
1466
  gui.Font = "SourceSans"
1467
  gui.FontSize = "Size14"
1468
  gui.TextWrapped = false
1469
  gui.TextStrokeTransparency = 0
1470
  gui.TextColor = BrickColor.new("White")
1471
  return gui
1472
end
1473
--------------------------- GUI STUFF
1474
local basgui = it("GuiMain")
1475
basgui.Parent = plr.PlayerGui
1476
basgui.Name = "VISgui"
1477
local fullscreenz = it("Frame")
1478
fullscreenz.Parent = basgui
1479
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
1480
fullscreenz.BackgroundTransparency = 1
1481
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
1482
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
1483
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
1484
local imgl2 = Instance.new("ImageLabel",fullscreenz)
1485
imgl2.BackgroundTransparency = 1
1486
imgl2.BorderSizePixel = 0
1487
imgl2.ImageTransparency = 0.5
1488
imgl2.Position = UDim2.new(0.70,-200,0.50,-200)
1489
imgl2.Size = UDim2.new(0,1000,0,1000)
1490
imgl2.Image = "rbxassetid://2344830904"
1491
local techc = imgl2:Clone()
1492
techc.Parent = fullscreenz
1493
techc.ImageTransparency = 0
1494
techc.Size = UDim2.new(0,900,0,900)
1495
techc.Position = UDim2.new(0.70,-150,0.50,-150)
1496
techc.Image = "rbxassetid://2092248396"
1497
local circl = imgl2:Clone()
1498
circl.Parent = fullscreenz
1499
circl.ImageTransparency = 0
1500
circl.Size = UDim2.new(0,550,0,550)
1501
circl.Position = UDim2.new(0.70,25,0.50,25)
1502
circl.Image = "rbxassetid://2312119891"
1503
local circl2 = imgl2:Clone()
1504
circl2.Parent = fullscreenz
1505
circl2.ImageTransparency = 0
1506
circl2.Size = UDim2.new(0,700,0,700)
1507
circl2.Position = UDim2.new(0.70,-50,0.50,-50)
1508
circl2.Image = "rbxassetid://2312119891"
1509
local imgl2b = imgl2:Clone()
1510
imgl2b.Parent = fullscreenz
1511
imgl2b.ImageTransparency = 0
1512
imgl2b.Size = UDim2.new(0,800,0,800)
1513
imgl2b.Position = UDim2.new(0.70,-100,0.50,-100)
1514
imgl2b.ImageColor3 = Color3.new(0,0,0)
1515
local ned = Instance.new("TextLabel",fullscreenz)
1516
ned.ZIndex = 2
1517
ned.Font = "Bodoni"
1518
ned.BackgroundTransparency = 1
1519
ned.BorderSizePixel = 0.65
1520
ned.Size = UDim2.new(0.6,0,0.6,0)
1521
ned.Position = UDim2.new(0,0,0,0)
1522
ned.TextScaled = true
1523
ned.TextStrokeTransparency = 0
1524
ned.Text = "Mayhem"
1525
ned.TextSize = 48
1526
ned.Rotation = 1
1527
ned.TextXAlignment = "Left"
1528
ned.TextYAlignment = "Top"
1529
1530
local extrawingmod1 = Instance.new("Model",char)
1531
local extrawingmod2 = Instance.new("Model",char)
1532
1533
function CreateParta(parent,transparency,reflectance,material,brickcolor)
1534
local p = Instance.new("Part")
1535
p.TopSurface = 0
1536
p.BottomSurface = 0
1537
p.Parent = parent
1538
p.Size = Vector3.new(0.1,0.1,0.1)
1539
p.Transparency = transparency
1540
p.Reflectance = reflectance
1541
p.CanCollide = false
1542
p.Locked = true
1543
p.BrickColor = brickcolor
1544
p.Material = material
1545
return p
1546
end
1547
1548
function CreateMesh(parent,meshtype,x1,y1,z1)
1549
local mesh = Instance.new("SpecialMesh",parent)
1550
mesh.MeshType = meshtype
1551
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
1552
return mesh
1553
end
1554
1555
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
1556
local mesh = Instance.new("SpecialMesh",parent)
1557
mesh.MeshType = "FileMesh"
1558
mesh.MeshId = meshid
1559
mesh.Scale = Vector3.new(x1,y1,z1)
1560
return mesh
1561
end
1562
1563
1564
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
1565
local mesh = Instance.new("SpecialMesh",parent)
1566
mesh.MeshType = "FileMesh"
1567
mesh.MeshId = meshid
1568
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
1569
mesh.Scale = Vector3.new(x1,y1,z1)
1570
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
1571
return mesh
1572
end
1573
1574
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
1575
local weld = Instance.new("Weld")
1576
weld.Parent = parent
1577
weld.Part0 = part0
1578
weld.Part1 = part1
1579
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
1580
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
1581
return weld
1582
end
1583
1584
--------------
1585
local secondchar = Instance.new("Model",char)
1586
local GhostCol = BrickColor.new("Really red")
1587
local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
1588
CreateMesh(sectors,"Brick",2*8,2*8,1*8)
1589
local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1590
 
1591
local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
1592
CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
1593
local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1594
 
1595
local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
1596
CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
1597
local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1598
 
1599
local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
1600
CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
1601
local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1602
 
1603
local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
1604
CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
1605
local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1606
 
1607
local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
1608
CreateMesh(seched,"Brick",1*8,1*8,1*8)
1609
local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1610
--------------
1611
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))
1612
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1613
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))
1614
1615
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1616
CreateMesh(handle,"Brick",0,0,0)
1617
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))
1618
local valuaring = 10
1619
for i = 0, 49 do
1620
	valuaring = valuaring + 10
1621
rn = CreateParta(mw2,0,0,"Neon",halocolor)
1622
CreateMesh(rn,"Brick",0.25,0.1,0.1)
1623
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))
1624
end
1625
1626
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1627
CreateMesh(handle,"Brick",0,0,0)
1628
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))
1629
local valuaring = 10
1630
for i = 0, 49 do
1631
	valuaring = valuaring + 10
1632
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1633
CreateMesh(rn,"Brick",0.5,0.2,0.2)
1634
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))
1635
end
1636
1637
1638
local handle = CreateParta(m,1,1,"Neon",maincolor)
1639
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1640
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))
1641
1642
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1643
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))
1644
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1645
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))
1646
1647
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1648
CreateMesh(handle,"Brick",0,0,0)
1649
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))
1650
local valuaring = 10
1651
for i = 0, 49 do
1652
	valuaring = valuaring + 10
1653
rn = CreateParta(mw2,0,0,"Neon",halocolor)
1654
CreateMesh(rn,"Brick",0.25,0.1,0.1)
1655
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))
1656
end
1657
1658
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1659
CreateMesh(handle,"Brick",0,0,0)
1660
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))
1661
local valuaring = 10
1662
for i = 0, 49 do
1663
	valuaring = valuaring + 10
1664
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1665
CreateMesh(rn,"Brick",0.5,0.2,0.2)
1666
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))
1667
end
1668
1669
1670
local handle = CreateParta(m,1,1,"Neon",maincolor)
1671
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1672
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))
1673
1674
--- Left wing.
1675
1676
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
1677
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1678
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))
1679
1680
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1681
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1682
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))
1683
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1684
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1685
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))
1686
A0 = Instance.new('Attachment',wed)
1687
A0.Position = vt(0,0.25,0.25)
1688
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1689
CreateMesh(wed,"Wedge",0.05,0.5,3)
1690
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))
1691
A1 = Instance.new('Attachment',wed)
1692
A1.Position = vt(0,-0.25,-2)
1693
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1694
CreateMesh(wed,"Wedge",0.05,3,0.5)
1695
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))
1696
1697
tl1 = Instance.new('Trail',wed)
1698
tl1.Attachment0 = A1
1699
tl1.Attachment1 = A0
1700
tl1.Texture = "rbxassetid://2108945559"
1701
tl1.LightEmission = 1
1702
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1703
tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1704
tl1.Lifetime = 0.6
1705
1706
1707
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
1708
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1709
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))
1710
1711
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1712
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1713
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))
1714
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1715
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1716
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))
1717
A0 = Instance.new('Attachment',wed)
1718
A0.Position = vt(0,0.25,0.25)
1719
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1720
CreateMesh(wed,"Wedge",0.05,0.5,3)
1721
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))
1722
A1 = Instance.new('Attachment',wed)
1723
A1.Position = vt(0,-0.25,-2)
1724
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1725
CreateMesh(wed,"Wedge",0.05,3,0.5)
1726
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))
1727
1728
tl2 = Instance.new('Trail',wed)
1729
tl2.Attachment0 = A1
1730
tl2.Attachment1 = A0
1731
tl2.Texture = "rbxassetid://2108945559"
1732
tl2.LightEmission = 1
1733
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1734
tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1735
tl2.Lifetime = 0.6
1736
1737
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
1738
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1739
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))
1740
1741
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1742
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1743
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))
1744
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1745
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1746
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))
1747
A0 = Instance.new('Attachment',wed)
1748
A0.Position = vt(0,0.25,0.25)
1749
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1750
CreateMesh(wed,"Wedge",0.05,0.5,3)
1751
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))
1752
A1 = Instance.new('Attachment',wed)
1753
A1.Position = vt(0,-0.25,-2)
1754
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1755
CreateMesh(wed,"Wedge",0.05,3,0.5)
1756
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))
1757
1758
tl3 = Instance.new('Trail',wed)
1759
tl3.Attachment0 = A1
1760
tl3.Attachment1 = A0
1761
tl3.Texture = "rbxassetid://2108945559"
1762
tl3.LightEmission = 1
1763
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1764
tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1765
tl3.Lifetime = 0.6
1766
1767
tl1.Enabled = false
1768
tl2.Enabled = false
1769
tl3.Enabled = false
1770
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
1771
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1772
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))
1773
1774
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1775
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1776
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))
1777
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1778
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1779
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))
1780
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1781
CreateMesh(wed,"Wedge",0.05,0.5,3)
1782
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))
1783
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1784
CreateMesh(wed,"Wedge",0.05,3,0.5)
1785
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))
1786
1787
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
1788
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1789
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))
1790
1791
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1792
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1793
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))
1794
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1795
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1796
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))
1797
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1798
CreateMesh(wed,"Wedge",0.05,0.5,3)
1799
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))
1800
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1801
CreateMesh(wed,"Wedge",0.05,3,0.5)
1802
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))
1803
1804
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
1805
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1806
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))
1807
1808
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1809
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1810
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))
1811
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1812
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1813
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))
1814
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1815
CreateMesh(wed,"Wedge",0.05,0.5,3)
1816
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))
1817
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1818
CreateMesh(wed,"Wedge",0.05,3,0.5)
1819
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))
1820
1821
-- Right wing.
1822
1823
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
1824
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1825
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))
1826
1827
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1828
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1829
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))
1830
A0 = Instance.new('Attachment',wed)
1831
A0.Position = vt(0,0.25,0.25)
1832
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1833
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1834
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))
1835
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1836
CreateMesh(wed,"Wedge",0.05,0.5,3)
1837
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))
1838
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1839
CreateMesh(wed,"Wedge",0.05,3,0.5)
1840
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))
1841
A1 = Instance.new('Attachment',wed)
1842
A1.Position = vt(0,2,0.25)
1843
1844
tr1 = Instance.new('Trail',wed)
1845
tr1.Attachment0 = A1
1846
tr1.Attachment1 = A0
1847
tr1.Texture = "rbxassetid://2108945559"
1848
tr1.LightEmission = 1
1849
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1850
tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1851
tr1.Lifetime = 0.6
1852
1853
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
1854
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1855
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))
1856
1857
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1858
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1859
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))
1860
A0 = Instance.new('Attachment',wed)
1861
A0.Position = vt(0,0.25,0.25)
1862
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1863
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1864
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))
1865
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1866
CreateMesh(wed,"Wedge",0.05,0.5,3)
1867
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))
1868
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1869
CreateMesh(wed,"Wedge",0.05,3,0.5)
1870
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))
1871
A1 = Instance.new('Attachment',wed)
1872
A1.Position = vt(0,2,0.25)
1873
1874
tr2 = Instance.new('Trail',wed)
1875
tr2.Attachment0 = A1
1876
tr2.Attachment1 = A0
1877
tr2.Texture = "rbxassetid://2108945559"
1878
tr2.LightEmission = 1
1879
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1880
tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1881
tr2.Lifetime = 0.6
1882
1883
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
1884
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1885
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))
1886
1887
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1888
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1889
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))
1890
A0 = Instance.new('Attachment',wed)
1891
A0.Position = vt(0,0.25,0.25)
1892
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1893
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1894
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))
1895
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1896
CreateMesh(wed,"Wedge",0.05,0.5,3)
1897
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))
1898
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1899
CreateMesh(wed,"Wedge",0.05,3,0.5)
1900
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))
1901
A1 = Instance.new('Attachment',wed)
1902
A1.Position = vt(0,2,0.25)
1903
1904
tr3 = Instance.new('Trail',wed)
1905
tr3.Attachment0 = A1
1906
tr3.Attachment1 = A0
1907
tr3.Texture = "rbxassetid://2108945559"
1908
tr3.LightEmission = 1
1909
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1910
tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1911
tr3.Lifetime = 0.6
1912
1913
1914
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
1915
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1916
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))
1917
1918
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1919
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1920
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))
1921
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1922
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1923
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))
1924
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1925
CreateMesh(wed,"Wedge",0.05,0.5,3)
1926
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))
1927
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1928
CreateMesh(wed,"Wedge",0.05,3,0.5)
1929
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))
1930
1931
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
1932
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1933
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))
1934
1935
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1936
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1937
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))
1938
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1939
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1940
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))
1941
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1942
CreateMesh(wed,"Wedge",0.05,0.5,3)
1943
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))
1944
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1945
CreateMesh(wed,"Wedge",0.05,3,0.5)
1946
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))
1947
1948
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
1949
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1950
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))
1951
1952
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1953
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1954
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))
1955
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1956
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1957
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))
1958
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1959
CreateMesh(wed,"Wedge",0.05,0.5,3)
1960
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))
1961
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
1962
CreateMesh(wed,"Wedge",0.05,3,0.5)
1963
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))
1964
1965
---- HERES THE RING
1966
1967
1968
ran = CreateParta(m2,0,0,"Glass",wepcolor)
1969
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1970
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))
1971
ran = CreateParta(m,0,0,"Glass",wepcolor)
1972
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1973
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))
1974
ran = CreateParta(m,0,0,"Glass",wepcolor)
1975
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1976
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))
1977
1978
1979
gan = CreateParta(m,0,0,"Glass",wepcolor)
1980
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1981
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))
1982
1983
gan = CreateParta(m,0,0,"Glass",wepcolor)
1984
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1985
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))
1986
1987
1988
1989
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1990
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1991
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))
1992
1993
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1994
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1995
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))
1996
1997
gane = CreateParta(m3,0,0,"Glass",lunacolor2)
1998
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1999
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))
2000
2001
star = CreateParta(m,0,0,"Glass",wepcolor)
2002
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
2003
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))
2004
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
2005
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
2006
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))
2007
--- second ring
2008
2009
ran = CreateParta(m2,0,0,"Granite",wepcolor)
2010
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
2011
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))
2012
ran = CreateParta(m,0,0,"Granite",wepcolor)
2013
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
2014
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))
2015
ran = CreateParta(m,0,0,"Granite",wepcolor)
2016
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
2017
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))
2018
2019
gan = CreateParta(m,0,0,"Granite",wepcolor)
2020
CreateMesh(gan,"Brick",1.075,0.1,1.075)
2021
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))
2022
2023
gan = CreateParta(m,0,0,"Granite",wepcolor)
2024
CreateMesh(gan,"Brick",1.075,0.1,1.075)
2025
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))
2026
2027
2028
2029
gan = CreateParta(m2,0,0,"Neon",halocolor2)
2030
CreateMesh(gan,"Brick",1.095,0.035,1.095)
2031
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))
2032
2033
gan = CreateParta(m2,0,0,"Neon",halocolor2)
2034
CreateMesh(gan,"Brick",1.095,0.035,1.095)
2035
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))
2036
2037
gane = CreateParta(m3,0,0,"Granite",lunacolor2)
2038
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
2039
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))
2040
2041
star = CreateParta(m,0,0,"Granite",wepcolor)
2042
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
2043
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))
2044
starl = CreateParta(m3,0,0,"Granite",starcolor)
2045
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
2046
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))
2047
2048
2049
2050
2051
for i, v in pairs(m:GetChildren()) do
2052
if v:IsA("Part") then
2053
v.BrickColor = BrickColor.new("Really black")
2054
v.Material = "Glass"
2055
end
2056
end
2057
for i, v in pairs(m2:GetChildren()) do
2058
if v:IsA("Part") then
2059
v.BrickColor = BrickColor.new("Crimson")
2060
v.Material = "Granite"
2061
end
2062
end
2063
for i, v in pairs(m3:GetChildren()) do
2064
if v:IsA("Part") then
2065
v.BrickColor = BrickColor.new("Really red")
2066
v.Material = "Neon"
2067
end
2068
end
2069
for i, v in pairs(mw2:GetChildren()) do
2070
if v:IsA("Part") then
2071
v.BrickColor = BrickColor.new("Really red")
2072
v.Material = "Neon"
2073
end
2074
end
2075
for i, v in pairs(mw1:GetChildren()) do
2076
if v:IsA("Part") then
2077
v.Transparency = 0
2078
v.BrickColor = BrickColor.new("Really blue")
2079
v.Material = "Neon"
2080
end
2081
end
2082
for i, v in pairs(extrawingmod1:GetChildren()) do
2083
if v:IsA("Part") then
2084
v.Transparency = 0.8
2085
v.BrickColor = BrickColor.new("Toothpaste")
2086
v.Material = "Neon"
2087
end
2088
end
2089
for i, v in pairs(extrawingmod2:GetChildren()) do
2090
if v:IsA("Part") then
2091
v.Transparency = 0.8
2092
v.BrickColor = BrickColor.new("Really blue")
2093
v.Material = "Neon"
2094
end
2095
end
2096
local MAINRUINCOLOR = BrickColor.new("Navy blue")
2097
2098
--clothes
2099
local Hair = Instance.new("Part", char)
2100
Hair.Name = "Hair"
2101
Hair.CanCollide = false
2102
Hair.BrickColor = BrickColor.new("Institutional white")
2103
Hair.Transparency = 0
2104
Hair.Material = "Plastic"
2105
Hair.Size = Vector3.new(1, 1, 2)
2106
Hair.TopSurface = Enum.SurfaceType.Smooth
2107
Hair.BottomSurface = Enum.SurfaceType.Smooth
2108
 
2109
local Weld = Instance.new("Weld", Hair)
2110
Weld.Part0 = hed
2111
Weld.Part1 = Hair
2112
Weld.C1 = CFrame.new(0, -.6, 0)
2113
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
2114
 
2115
local M2 = Instance.new("SpecialMesh")
2116
M2.Parent = Hair
2117
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
2118
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
2119
M2.Scale = Vector3.new(1, 1, 1)
2120
2121
for i,v in pairs(char:children()) do
2122
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
2123
v:Remove()
2124
end
2125
end
2126
2127
2128
function RemoveOutlines(part)
2129
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
2130
end
2131
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
2132
  local Part = Create("Part")({
2133
    Parent = Parent,
2134
    Reflectance = Reflectance,
2135
    Transparency = Transparency,
2136
    CanCollide = false,
2137
    Locked = true,
2138
    BrickColor = BrickColor.new(tostring(BColor)),
2139
    Name = Name,
2140
    Size = Size,
2141
    Material = Material
2142
  })
2143
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
2144
  RemoveOutlines(Part)
2145
  return Part
2146
end
2147
function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2148
  local Msh = Create(Mesh)({
2149
    Parent = Part,
2150
    Offset = OffSet,
2151
    Scale = Scale
2152
  })
2153
  if Mesh == "SpecialMesh" then
2154
    Msh.MeshType = MeshType
2155
    Msh.MeshId = MeshId
2156
  end
2157
  return Msh
2158
end
2159
function CreateWeld(Parent, Part0, Part1, C0, C1)
2160
  local Weld = Create("Weld")({
2161
    Parent = Parent,
2162
    Part0 = Part0,
2163
    Part1 = Part1,
2164
    C0 = C0,
2165
    C1 = C1
2166
  })
2167
  return Weld
2168
end
2169
2170
Character=Player.Character 
2171
PlayerGui=Player.PlayerGui 
2172
Backpack=Player.Backpack 
2173
Torso=Character.Torso 
2174
Head=Character.Head 
2175
Humanoid=Character.Humanoid
2176
m=Instance.new('Model',Character)
2177
LeftArm=Character["Left Arm"] 
2178
LeftLeg=Character["Left Leg"] 
2179
RightArm=Character["Right Arm"] 
2180
RightLeg=Character["Right Leg"] 
2181
LS=Torso["Left Shoulder"] 
2182
LH=Torso["Left Hip"] 
2183
RS=Torso["Right Shoulder"] 
2184
RH=Torso["Right Hip"] 
2185
Face = Head.face
2186
Neck=Torso.Neck
2187
it=Instance.new
2188
attacktype=1
2189
vt=Vector3.new
2190
cf=CFrame.new
2191
euler=CFrame.fromEulerAnglesXYZ
2192
angles=CFrame.Angles
2193
cloaked=false
2194
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2195
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
2196
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
2197
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
2198
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
2199
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
2200
RootPart=Character.HumanoidRootPart
2201
RootJoint=RootPart.RootJoint
2202
RootCF=euler(-1.57,0,3.14)
2203
attack = false 
2204
attackdebounce = false 
2205
deb=false
2206
equipped=true
2207
hand=false
2208
combo=0
2209
mana=0
2210
trispeed=.2
2211
attackmode='none'
2212
local idle=0
2213
local Anim="Idle"
2214
local Effects={}
2215
local gun=false
2216
local shoot=false
2217
local sine = 0
2218
local change = 1
2219
2220
function RecolorTextAndRename(name,col1,col2,font)
2221
modet.TextStrokeColor3 = col2
2222
modet.TextColor3 = col1
2223
modet.Font = font
2224
modet.Text = name
2225
techc.ImageColor3 = col2
2226
circl.ImageColor3 = col2
2227
circl2.ImageColor3 = col1
2228
imgl2.ImageColor3 = col1
2229
imgl2b.ImageColor3 = col2
2230
ned.Text = name
2231
ned.TextColor3 = col1
2232
ned.TextStrokeColor3 = col2
2233
end
2234
--save shoulders 
2235
RSH, LSH=nil, nil 
2236
--welds 
2237
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
2238
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
2239
LH=Torso["Left Hip"]
2240
RH=Torso["Right Hip"]
2241
TorsoColor=Torso.BrickColor
2242
function NoOutline(Part)
2243
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
2244
end
2245
ch=Character
2246
RSH=ch.Torso["Right Shoulder"] 
2247
LSH=ch.Torso["Left Shoulder"] 
2248
-- 
2249
RSH.Parent=nil 
2250
LSH.Parent=nil 
2251
-- 
2252
RW.Name="Right Shoulder"
2253
RW.Part0=ch.Torso 
2254
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
2255
RW.C1=cf(0, 0.5, 0) 
2256
RW.Part1=ch["Right Arm"] 
2257
RW.Parent=ch.Torso 
2258
-- 
2259
LW.Name="Left Shoulder"
2260
LW.Part0=ch.Torso 
2261
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
2262
LW.C1=cf(0, 0.5, 0) 
2263
LW.Part1=ch["Left Arm"] 
2264
LW.Parent=ch.Torso 
2265
2266
local Stats=Instance.new("BoolValue")
2267
Stats.Name="Stats"
2268
Stats.Parent=Character
2269
local Atk=Instance.new("NumberValue")
2270
Atk.Name="Damage"
2271
Atk.Parent=Stats
2272
Atk.Value=1
2273
local Def=Instance.new("NumberValue")
2274
Def.Name="Defense"
2275
Def.Parent=Stats
2276
Def.Value=1
2277
local Speed=Instance.new("NumberValue")
2278
Speed.Name="Speed"
2279
Speed.Parent=Stats
2280
Speed.Value=1
2281
local Mvmt=Instance.new("NumberValue")
2282
Mvmt.Name="Movement"
2283
Mvmt.Parent=Stats
2284
Mvmt.Value=1
2285
2286
local donum=0
2287
 
2288
2289
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
2290
local fp=it("Part")
2291
fp.formFactor=formfactor 
2292
fp.Parent=parent
2293
fp.Reflectance=reflectance
2294
fp.Transparency=transparency
2295
fp.CanCollide=false 
2296
fp.Locked=true
2297
fp.BrickColor=brickcolor
2298
fp.Name=name
2299
fp.Size=size
2300
fp.Position=Torso.Position 
2301
NoOutline(fp)
2302
fp.Material="SmoothPlastic"
2303
fp:BreakJoints()
2304
return fp 
2305
end 
2306
 
2307
function mesh(Mesh,part,meshtype,meshid,offset,scale)
2308
local mesh=it(Mesh) 
2309
mesh.Parent=part
2310
if Mesh=="SpecialMesh" then
2311
mesh.MeshType=meshtype
2312
if meshid~="nil" then
2313
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
2314
end
2315
end
2316
mesh.Offset=offset
2317
mesh.Scale=scale
2318
return mesh
2319
end
2320
 
2321
function weld(parent,part0,part1,c0)
2322
local weld=it("Weld") 
2323
weld.Parent=parent
2324
weld.Part0=part0 
2325
weld.Part1=part1 
2326
weld.C0=c0
2327
return weld
2328
end
2329
 
2330
local Color1=Torso.BrickColor
2331
2332
local bodvel=Instance.new("BodyVelocity")
2333
local bg=Instance.new("BodyGyro")
2334
2335
--------- SazEreno's Artificial HB --------------
2336
ArtificialHB = Instance.new("BindableEvent", script)
2337
ArtificialHB.Name = "ArtificialHB"
2338
2339
script:WaitForChild("ArtificialHB")
2340
Frame_Speed = 1 / 60
2341
frame = Frame_Speed
2342
tf = 0
2343
allowframeloss = false
2344
tossremainder = false
2345
lastframe = tick()
2346
script.ArtificialHB:Fire()
2347
2348
game:GetService("RunService").Heartbeat:connect(function(s, p)
2349
	tf = tf + s
2350
	if tf >= frame then
2351
		if allowframeloss then
2352
			script.ArtificialHB:Fire()
2353
			lastframe = tick()
2354
		else
2355
			for i = 1, math.floor(tf / frame) do
2356
				script.ArtificialHB:Fire()
2357
			end
2358
		lastframe = tick()
2359
		end
2360
		if tossremainder then
2361
			tf = 0
2362
		else
2363
			tf = tf - frame * math.floor(tf / frame)
2364
		end
2365
	end
2366
end)
2367
2368
------------------
2369
function swait(num)
2370
function swait(num)
2371
if num==0 or num==nil then
2372
game:service'RunService'.Stepped:wait(0)
2373
else
2374
for i=0,num do
2375
game:service'RunService'.Stepped:wait(0)
2376
end
2377
end
2378
end
2379
end
2380
2381
-------- RAINBOW LEAVE IT TO ME
2382
local r = 255
2383
local g = 0
2384
local b = 0
2385
coroutine.resume(coroutine.create(function()
2386
while wait() do
2387
	for i = 0, 254/5 do
2388
		swait()
2389
		g = g + 5
2390
	end
2391
	for i = 0, 254/5 do
2392
		swait()
2393
		r = r - 5
2394
	end
2395
	for i = 0, 254/5 do
2396
		swait()
2397
		b = b + 5
2398
	end
2399
	for i = 0, 254/5 do
2400
		swait()
2401
		g = g - 5
2402
	end
2403
	for i = 0, 254/5 do
2404
		swait()
2405
		r = r + 5
2406
	end
2407
	for i = 0, 254/5 do
2408
		swait()
2409
		b = b - 5
2410
	end
2411
end
2412
end))
2413
 
2414
 
2415
so = function(id,par,vol,pit) 
2416
coroutine.resume(coroutine.create(function()
2417
local sou = Instance.new("Sound",par or workspace)
2418
sou.Volume=vol
2419
sou.Pitch=pit or 1
2420
sou.SoundId=id
2421
swait() 
2422
sou:play() 
2423
game:GetService("Debris"):AddItem(sou,6)
2424
end))
2425
end
2426
 
2427
function clerp(a,b,t) 
2428
local qa = {QuaternionFromCFrame(a)}
2429
local qb = {QuaternionFromCFrame(b)} 
2430
local ax, ay, az = a.x, a.y, a.z 
2431
local bx, by, bz = b.x, b.y, b.z
2432
local _t = 1-t
2433
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
2434
end 
2435
 
2436
function QuaternionFromCFrame(cf) 
2437
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
2438
local trace = m00 + m11 + m22 
2439
if trace > 0 then 
2440
local s = math.sqrt(1 + trace) 
2441
local recip = 0.5/s 
2442
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
2443
else 
2444
local i = 0 
2445
if m11 > m00 then
2446
i = 1
2447
end
2448
if m22 > (i == 0 and m00 or m11) then 
2449
i = 2 
2450
end 
2451
if i == 0 then 
2452
local s = math.sqrt(m00-m11-m22+1) 
2453
local recip = 0.5/s 
2454
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
2455
elseif i == 1 then 
2456
local s = math.sqrt(m11-m22-m00+1) 
2457
local recip = 0.5/s 
2458
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
2459
elseif i == 2 then 
2460
local s = math.sqrt(m22-m00-m11+1) 
2461
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
2462
end 
2463
end 
2464
end
2465
 
2466
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
2467
local xs, ys, zs = x + x, y + y, z + z 
2468
local wx, wy, wz = w*xs, w*ys, w*zs 
2469
local xx = x*xs 
2470
local xy = x*ys 
2471
local xz = x*zs 
2472
local yy = y*ys 
2473
local yz = y*zs 
2474
local zz = z*zs 
2475
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)) 
2476
end
2477
 
2478
function QuaternionSlerp(a, b, t) 
2479
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
2480
local startInterp, finishInterp; 
2481
if cosTheta >= 0.0001 then 
2482
if (1 - cosTheta) > 0.0001 then 
2483
local theta = math.acos(cosTheta) 
2484
local invSinTheta = 1/math.sin(theta) 
2485
startInterp = math.sin((1-t)*theta)*invSinTheta 
2486
finishInterp = math.sin(t*theta)*invSinTheta  
2487
else 
2488
startInterp = 1-t 
2489
finishInterp = t 
2490
end 
2491
else 
2492
if (1+cosTheta) > 0.0001 then 
2493
local theta = math.acos(-cosTheta) 
2494
local invSinTheta = 1/math.sin(theta) 
2495
startInterp = math.sin((t-1)*theta)*invSinTheta 
2496
finishInterp = math.sin(t*theta)*invSinTheta 
2497
else 
2498
startInterp = t-1 
2499
finishInterp = t 
2500
end 
2501
end 
2502
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 
2503
end
2504
2505
local function CFrameFromTopBack(at, top, back)
2506
local right = top:Cross(back)
2507
return CFrame.new(at.x, at.y, at.z,
2508
right.x, top.x, back.x,
2509
right.y, top.y, back.y,
2510
right.z, top.z, back.z)
2511
end
2512
2513
function Triangle(a, b, c)
2514
local edg1 = (c-a):Dot((b-a).unit)
2515
local edg2 = (a-b):Dot((c-b).unit)
2516
local edg3 = (b-c):Dot((a-c).unit)
2517
if edg1 <= (b-a).magnitude and edg1 >= 0 then
2518
a, b, c = a, b, c
2519
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
2520
a, b, c = b, c, a
2521
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
2522
a, b, c = c, a, b
2523
else
2524
assert(false, "unreachable")
2525
end
2526
 
2527
local len1 = (c-a):Dot((b-a).unit)
2528
local len2 = (b-a).magnitude - len1
2529
local width = (a + (b-a).unit*len1 - c).magnitude
2530
 
2531
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
2532
 
2533
local list = {}
2534
 
2535
if len1 > 0.01 then
2536
local w1 = Instance.new('WedgePart', m)
2537
game:GetService("Debris"):AddItem(w1,5)
2538
w1.Material = "SmoothPlastic"
2539
w1.FormFactor = 'Custom'
2540
w1.BrickColor = BrickColor.new("Really red")
2541
w1.Transparency = 0
2542
w1.Reflectance = 0
2543
w1.Material = "SmoothPlastic"
2544
w1.CanCollide = false
2545
local l1 = Instance.new("PointLight",w1)
2546
l1.Color = Color3.new(170,0,0)
2547
NoOutline(w1)
2548
local sz = Vector3.new(0.2, width, len1)
2549
w1.Size = sz
2550
local sp = Instance.new("SpecialMesh",w1)
2551
sp.MeshType = "Wedge"
2552
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
2553
w1:BreakJoints()
2554
w1.Anchored = true
2555
w1.Parent = workspace
2556
w1.Transparency = 0.7
2557
table.insert(Effects,{w1,"Disappear",.01})
2558
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
2559
table.insert(list,w1)
2560
end
2561
 
2562
if len2 > 0.01 then
2563
local w2 = Instance.new('WedgePart', m)
2564
game:GetService("Debris"):AddItem(w2,5)
2565
w2.Material = "SmoothPlastic"
2566
w2.FormFactor = 'Custom'
2567
w2.BrickColor = BrickColor.new("Really red")
2568
w2.Transparency = 0
2569
w2.Reflectance = 0
2570
w2.Material = "SmoothPlastic"
2571
w2.CanCollide = false
2572
local l2 = Instance.new("PointLight",w2)
2573
l2.Color = Color3.new(170,0,0)
2574
NoOutline(w2)
2575
local sz = Vector3.new(0.2, width, len2)
2576
w2.Size = sz
2577
local sp = Instance.new("SpecialMesh",w2)
2578
sp.MeshType = "Wedge"
2579
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
2580
w2:BreakJoints()
2581
w2.Anchored = true
2582
w2.Parent = workspace
2583
w2.Transparency = 0.7
2584
table.insert(Effects,{w2,"Disappear",.01})
2585
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
2586
table.insert(list,w2)
2587
end
2588
return unpack(list)
2589
end
2590
 
2591
2592
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2593
  if hit.Parent == nil then
2594
    return
2595
  end
2596
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2597
  for _, v in pairs(hit.Parent:children()) do
2598
    if v:IsA("Humanoid") then
2599
      h = v
2600
    end
2601
  end
2602
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
2603
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2604
      return
2605
    end
2606
    local c = Create("ObjectValue")({
2607
      Name = "creator",
2608
      Value = game:GetService("Players").LocalPlayer,
2609
      Parent = h
2610
    })
2611
    game:GetService("Debris"):AddItem(c, 0.5)
2612
    if HitSound ~= nil and HitPitch ~= nil then
2613
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
2614
    end
2615
    local Damage = math.random(minim, maxim)
2616
    local blocked = false
2617
    local block = hit.Parent:findFirstChild("Block")
2618
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2619
      blocked = true
2620
      block.Value = block.Value - 1
2621
      print(block.Value)
2622
    end
2623
    if blocked == false then
2624
      HitHealth = h.Health
2625
      h.MaxHealth = 100
2626
      h.Health = h.Health - Damage
2627
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
2628
        print("gained kill")
2629
        dmg(h.Parent)
2630
      end
2631
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2632
    else
2633
      h.Health = h.Health - Damage / 2
2634
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2635
    end
2636
    if Type == "Knockdown" then
2637
      local hum = hit.Parent.Humanoid
2638
      hum.PlatformStand = true
2639
      coroutine.resume(coroutine.create(function(HHumanoid)
2640
        swait(1)
2641
        HHumanoid.PlatformStand = false
2642
      end), hum)
2643
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2644
      local bodvol = Create("BodyVelocity")({
2645
        velocity = angle * knockback,
2646
        P = 5000,
2647
        maxForce = Vector3.new(8000, 8000, 8000),
2648
        Parent = hit
2649
      })
2650
      local rl = Create("BodyAngularVelocity")({
2651
        P = 3000,
2652
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2653
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2654
        Parent = hit
2655
      })
2656
      game:GetService("Debris"):AddItem(bodvol, 0.5)
2657
      game:GetService("Debris"):AddItem(rl, 0.5)
2658
    elseif Type == "Normal" then
2659
      local vp = Create("BodyVelocity")({
2660
        P = 500,
2661
        maxForce = Vector3.new(math.huge, 0, math.huge),
2662
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2663
      })
2664
      if knockback > 0 then
2665
        vp.Parent = hit.Parent.Head
2666
      end
2667
      game:GetService("Debris"):AddItem(vp, 0.5)
2668
    elseif Type == "Up" then
2669
      local bodyVelocity = Create("BodyVelocity")({
2670
        velocity = Vector3.new(0, 20, 0),
2671
        P = 5000,
2672
        maxForce = Vector3.new(8000, 8000, 8000),
2673
        Parent = hit
2674
      })
2675
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2676
      local bodyVelocity = Create("BodyVelocity")({
2677
        velocity = Vector3.new(0, 20, 0),
2678
        P = 5000,
2679
        maxForce = Vector3.new(8000, 8000, 8000),
2680
        Parent = hit
2681
      })
2682
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2683
    elseif Type == "Leech" then
2684
      local hum = hit.Parent.Humanoid
2685
      if hum ~= nil then
2686
        for i = 0, 2 do
2687
          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)
2688
        end
2689
        Humanoid.Health = Humanoid.Health + 10
2690
      end
2691
    elseif Type == "UpKnock" then
2692
      local hum = hit.Parent.Humanoid
2693
      hum.PlatformStand = true
2694
      if hum ~= nil then
2695
        hitr = true
2696
      end
2697
      coroutine.resume(coroutine.create(function(HHumanoid)
2698
        swait(5)
2699
        HHumanoid.PlatformStand = false
2700
        hitr = false
2701
      end), hum)
2702
      local bodyVelocity = Create("BodyVelocity")({
2703
        velocity = Vector3.new(0, 20, 0),
2704
        P = 5000,
2705
        maxForce = Vector3.new(8000, 8000, 8000),
2706
        Parent = hit
2707
      })
2708
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2709
      local bodyVelocity = Create("BodyVelocity")({
2710
        velocity = Vector3.new(0, 20, 0),
2711
        P = 5000,
2712
        maxForce = Vector3.new(8000, 8000, 8000),
2713
        Parent = hit
2714
      })
2715
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2716
    elseif Type == "Snare" then
2717
      local bp = Create("BodyPosition")({
2718
        P = 2000,
2719
        D = 100,
2720
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2721
        position = hit.Parent.Torso.Position,
2722
        Parent = hit.Parent.Torso
2723
      })
2724
      game:GetService("Debris"):AddItem(bp, 1)
2725
    elseif Type == "Slashnare" then
2726
      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)
2727
      for i = 1, math.random(4, 5) do
2728
        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)
2729
      end
2730
      local bp = Create("BodyPosition")({
2731
        P = 2000,
2732
        D = 100,
2733
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2734
        position = hit.Parent.Torso.Position,
2735
        Parent = hit.Parent.Torso
2736
      })
2737
      game:GetService("Debris"):AddItem(bp, 1)
2738
    elseif Type == "Spike" then
2739
      CreateBigIceSword(hit.Parent.Torso.CFrame)
2740
      local bp = Create("BodyPosition")({
2741
        P = 2000,
2742
        D = 100,
2743
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2744
        position = hit.Parent.Torso.Position,
2745
        Parent = hit.Parent.Torso
2746
      })
2747
      game:GetService("Debris"):AddItem(bp, 1)
2748
    elseif Type == "Freeze" then
2749
      local BodPos = Create("BodyPosition")({
2750
        P = 50000,
2751
        D = 1000,
2752
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2753
        position = hit.Parent.Torso.Position,
2754
        Parent = hit.Parent.Torso
2755
      })
2756
      local BodGy = Create("BodyGyro")({
2757
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
2758
        P = 20000,
2759
        Parent = hit.Parent.Torso,
2760
        cframe = hit.Parent.Torso.CFrame
2761
      })
2762
      hit.Parent.Torso.Anchored = true
2763
      coroutine.resume(coroutine.create(function(Part)
2764
        swait(1.5)
2765
        Part.Anchored = false
2766
      end), hit.Parent.Torso)
2767
      game:GetService("Debris"):AddItem(BodPos, 3)
2768
      game:GetService("Debris"):AddItem(BodGy, 3)
2769
    end
2770
    local debounce = Create("BoolValue")({
2771
      Name = "DebounceHit",
2772
      Parent = hit.Parent,
2773
      Value = true
2774
    })
2775
    game:GetService("Debris"):AddItem(debounce, Delay)
2776
    c = Instance.new("ObjectValue")
2777
    c.Name = "creator"
2778
    c.Value = Player
2779
    c.Parent = h
2780
    game:GetService("Debris"):AddItem(c, 0.5)
2781
  end
2782
end
2783
function ShowDamage(Pos, Text, Time, Color)
2784
  local Rate = 0.03333333333333333
2785
  local Pos = Pos or Vector3.new(0, 0, 0)
2786
  local Text = Text or ""
2787
  local Time = Time or 2
2788
  local Color = Color or Color3.new(1, 0, 1)
2789
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2790
  EffectPart.Anchored = true
2791
  local BillboardGui = Create("BillboardGui")({
2792
    Size = UDim2.new(3, 0, 3, 0),
2793
    Adornee = EffectPart,
2794
    Parent = EffectPart
2795
  })
2796
  local TextLabel = Create("TextLabel")({
2797
    BackgroundTransparency = 1,
2798
    Size = UDim2.new(1, 0, 1, 0),
2799
    Text = Text,
2800
    TextColor3 = Color,
2801
    TextScaled = true,
2802
    Font = Enum.Font.ArialBold,
2803
    Parent = BillboardGui
2804
  })
2805
  game.Debris:AddItem(EffectPart, Time + 0.1)
2806
  EffectPart.Parent = game:GetService("Workspace")
2807
  delay(0, function()
2808
    local Frames = Time / Rate
2809
    for Frame = 1, Frames do
2810
      wait(Rate)
2811
      local Percent = Frame / Frames
2812
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2813
      TextLabel.TextTransparency = Percent
2814
    end
2815
    if EffectPart and EffectPart.Parent then
2816
      EffectPart:Destroy()
2817
    end
2818
  end)
2819
end
2820
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
2821
  for _, c in pairs(workspace:children()) do
2822
    local hum = c:findFirstChildOfClass("Humanoid")
2823
    if hum ~= nil then
2824
      local head = c:findFirstChild("Head")
2825
      if head ~= nil then
2826
        local targ = head.Position - Part.Position
2827
        local mag = targ.magnitude
2828
        if magni >= mag and c.Name ~= Player.Name then
2829
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2830
        end
2831
      end
2832
    end
2833
  end
2834
end
2835
2836
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
2837
  for _, c in pairs(workspace:children()) do
2838
    local hum = c:findFirstChild("Humanoid")
2839
    if hum ~= nil then
2840
      local head = c:findFirstChild("Torso")
2841
      if head ~= nil then
2842
        local targ = head.Position - Part.Position
2843
        local mag = targ.magnitude
2844
        if magni >= mag and c.Name ~= Player.Name then
2845
	MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
2846
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2847
        end
2848
      end
2849
    end
2850
  end
2851
end
2852
2853
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2854
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2855
end 
2856
2857
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2858
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2859
prt.Anchored=true
2860
prt.CFrame=cframe
2861
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2862
--http://www.roblox.com/asset/?id=4770560
2863
game:GetService("Debris"):AddItem(prt,2)
2864
CF=prt.CFrame
2865
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2866
for i=0,1,0.2 do
2867
wait()
2868
Part.CFrame=CF*cf(0,0,-0.4)
2869
end
2870
for i=0,1,delay do
2871
wait()
2872
--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)
2873
Mesh.Scale=Mesh.Scale
2874
end
2875
for i=0,1,0.1 do
2876
wait()
2877
Part.Transparency=i
2878
end
2879
Part.Parent=nil
2880
end),prt,msh,CF)
2881
end
2882
 
2883
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2884
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2885
prt.Anchored=true
2886
prt.Material = "Neon"
2887
prt.CFrame=cframe
2888
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2889
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2890
game:GetService("Debris"):AddItem(prt,5)
2891
coroutine.resume(coroutine.create(function(Part,Mesh) 
2892
for i=0,1,delay do
2893
swait()
2894
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2895
Part.Transparency=i
2896
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2897
end
2898
Part.Parent=nil
2899
end),prt,msh)
2900
end
2901
2902
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2903
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2904
prt.Anchored=true
2905
prt.Material = "Neon"
2906
prt.CFrame=cframe
2907
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2908
game:GetService("Debris"):AddItem(prt,5)
2909
coroutine.resume(coroutine.create(function(Part,Mesh) 
2910
	local rtype = rottype
2911
for i=0,1,delay do
2912
swait()
2913
if rtype == 1 then
2914
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2915
elseif rtype == 2 then
2916
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2917
end
2918
Part.Transparency=i
2919
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2920
end
2921
Part.Parent=nil
2922
end),prt,msh)
2923
end
2924
2925
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2926
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2927
prt.Anchored=true
2928
prt.CFrame=cframe
2929
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2930
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2931
game:GetService("Debris"):AddItem(prt,5)
2932
coroutine.resume(coroutine.create(function(Part,Mesh) 
2933
for i=0,1,delay do
2934
wait()
2935
Part.Transparency=i
2936
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2937
end
2938
Part.Parent=nil
2939
end),prt,msh)
2940
end
2941
2942
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2943
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2944
prt.Anchored=true
2945
prt.Material = "Neon"
2946
prt.CFrame=cframe
2947
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2948
game:GetService("Debris"):AddItem(prt,5)
2949
coroutine.resume(coroutine.create(function(Part,Mesh) 
2950
	local rtype = rottype
2951
for i=0,1,delay do
2952
swait()
2953
if rtype == 1 then
2954
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2955
elseif rtype == 2 then
2956
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2957
end
2958
Part.Transparency=i
2959
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2960
end
2961
Part.Parent=nil
2962
end),prt,msh)
2963
end
2964
local refec = Instance.new("ParticleEmitter",handlex)
2965
refec.Texture = "rbxassetid://249270319"
2966
refec.LightEmission = 0.95
2967
refec.Color = ColorSequence.new(BrickColor.new("Really red").Color)
2968
refec.Rate = 50
2969
refec.Lifetime = NumberRange.new(0.5)
2970
refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
2971
refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
2972
refec.Speed = NumberRange.new(0,2)
2973
refec.Drag = 5
2974
refec.LockedToPart = true
2975
refec.Rotation = NumberRange.new(-500,500)
2976
refec.VelocitySpread = 9000
2977
refec.RotSpeed = NumberRange.new(-500,500)
2978
2979
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
2980
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
2981
prt.Anchored=true
2982
prt.Material = "Neon"
2983
prt.CFrame=cframe
2984
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2985
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2986
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
2987
game:GetService("Debris"):AddItem(prt,5)
2988
coroutine.resume(coroutine.create(function(Part,Mesh) 
2989
	local rtype = rottype
2990
for i=0,1,delay do
2991
swait()
2992
if rtype == 1 then
2993
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2994
elseif rtype == 2 then
2995
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2996
end
2997
dec.Transparency=i
2998
dec2.Transparency=i
2999
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
3000
end
3001
Part.Parent=nil
3002
end),prt,msh)
3003
end
3004
3005
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
3006
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3007
prt.Anchored=true
3008
prt.Material = "Neon"
3009
prt.CFrame=cframe
3010
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
3011
game:GetService("Debris"):AddItem(prt,5)
3012
coroutine.resume(coroutine.create(function(Part,Mesh) 
3013
	local rtype = rottype
3014
for i=0,1,delay do
3015
swait()
3016
if rtype == 1 then
3017
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3018
elseif rtype == 2 then
3019
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3020
end
3021
prt.Transparency=i
3022
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
3023
end
3024
Part.Parent=nil
3025
end),prt,msh)
3026
end
3027
3028
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
3029
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3030
prt.Anchored=true
3031
prt.Material = "Neon"
3032
prt.CFrame=cframe
3033
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
3034
game:GetService("Debris"):AddItem(prt,5)
3035
coroutine.resume(coroutine.create(function(Part,Mesh) 
3036
	local rtype = rottype
3037
for i=0,1,delay do
3038
swait()
3039
if rtype == 1 then
3040
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
3041
elseif rtype == 2 then
3042
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
3043
end
3044
prt.Transparency=i
3045
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
3046
end
3047
Part.Parent=nil
3048
end),prt,msh)
3049
end
3050
3051
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
3052
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3053
prt.Anchored=true
3054
prt.Material = "Neon"
3055
prt.CFrame=cframe
3056
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3057
game:GetService("Debris"):AddItem(prt,5)
3058
coroutine.resume(coroutine.create(function(Part,Mesh) 
3059
	local rtype = rottype
3060
for i=0,1,delay do
3061
swait()
3062
if rtype == 1 then
3063
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3064
elseif rtype == 2 then
3065
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3066
end
3067
prt.Transparency=i
3068
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
3069
end
3070
Part.Parent=nil
3071
end),prt,msh)
3072
end
3073
3074
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
3075
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3076
prt.Anchored=true
3077
prt.Material = "Neon"
3078
prt.CFrame=cframe
3079
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3080
game:GetService("Debris"):AddItem(prt,5)
3081
coroutine.resume(coroutine.create(function(Part,Mesh) 
3082
	local rtype = rottype
3083
for i=0,1,delay do
3084
swait()
3085
if rtype == 1 then
3086
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
3087
elseif rtype == 2 then
3088
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
3089
end
3090
prt.Transparency=i
3091
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3092
end
3093
Part.Parent=nil
3094
end),prt,msh)
3095
end
3096
 
3097
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
3098
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3099
prt.Anchored=false
3100
prt.CFrame=cframe
3101
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3102
local wld=weld(prt,prt,Parent,cframe)
3103
game:GetService("Debris"):AddItem(prt,5)
3104
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
3105
for i=0,1,delay do
3106
wait()
3107
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
3108
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3109
Part.Transparency=i
3110
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3111
end
3112
Part.Parent=nil
3113
end),prt,msh,wld)
3114
end
3115
 
3116
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
3117
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3118
prt.Anchored=false
3119
prt.CFrame=cframe
3120
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3121
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
3122
game:GetService("Debris"):AddItem(prt,5)
3123
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
3124
for i=0,1,delay do
3125
wait()
3126
Weld.C0=euler(i*20,0,0)
3127
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3128
Part.Transparency=i
3129
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3130
end
3131
Part.Parent=nil
3132
end),prt,msh,wld)
3133
end
3134
 
3135
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3136
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3137
prt.Anchored=true
3138
prt.CFrame=cframe
3139
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
3140
game:GetService("Debris"):AddItem(prt,2)
3141
coroutine.resume(coroutine.create(function(Part,Mesh) 
3142
for i=0,1,delay do
3143
wait()
3144
Part.CFrame=Part.CFrame
3145
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3146
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3147
prt2.Anchored=true
3148
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3149
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
3150
game:GetService("Debris"):AddItem(prt2,2)
3151
coroutine.resume(coroutine.create(function(Part,Mesh) 
3152
for i=0,1,0.1 do
3153
wait()
3154
Part.CFrame=Part.CFrame*cf(0,0.5,0)
3155
end
3156
Part.Parent=nil
3157
end),prt2,msh2)
3158
end
3159
for i=0,1,delay*2 do
3160
wait()
3161
Part.CFrame=Part.CFrame
3162
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
3163
end
3164
Part.Parent=nil
3165
end),prt,msh)
3166
end
3167
 
3168
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3169
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3170
prt.Anchored=true
3171
prt.CFrame=cframe
3172
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
3173
game:GetService("Debris"):AddItem(prt,2)
3174
coroutine.resume(coroutine.create(function(Part,Mesh) 
3175
for i=0,1,delay do
3176
wait()
3177
Part.CFrame=Part.CFrame
3178
Part.Transparency=i
3179
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3180
end
3181
Part.Parent=nil
3182
end),prt,msh)
3183
end
3184
 
3185
function BreakEffect(brickcolor,cframe,x1,y1,z1)
3186
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3187
prt.Anchored=true
3188
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
3189
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
3190
game:GetService("Debris"):AddItem(prt,2)
3191
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
3192
CF=Part.CFrame
3193
Numbb=0
3194
randnumb=math.random()/10
3195
rand1=math.random()/10
3196
for i=0,1,rand1 do
3197
wait()
3198
CF=CF*cf(0,math.random()/2,0)
3199
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
3200
Part.CFrame=CF*euler(Numbb,0,0)
3201
Part.Transparency=i
3202
Numbb=Numbb+randnumb
3203
end
3204
Part.Parent=nil
3205
end),prt,CF,Numbb,randnumb)
3206
end
3207
 
3208
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3209
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3210
prt.Anchored=true
3211
prt.CFrame=cframe
3212
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
3213
game:GetService("Debris"):AddItem(prt,5)
3214
coroutine.resume(coroutine.create(function(Part,Mesh) 
3215
for i=0,1,delay do
3216
wait()
3217
Part.CFrame=Part.CFrame*euler(0,0.7,0)
3218
Part.Transparency=i
3219
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3220
end
3221
Part.Parent=nil
3222
end),prt,msh)
3223
end
3224
 
3225
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
3226
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3227
prt.Anchored=true
3228
prt.CFrame=cframe
3229
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
3230
game:GetService("Debris"):AddItem(prt,2)
3231
coroutine.resume(coroutine.create(function(Part,Mesh) 
3232
for i=0,1,delay do
3233
wait()
3234
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
3235
Part.Transparency=i
3236
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
3237
end
3238
Part.Parent=nil
3239
end),prt,msh)
3240
end
3241
 
3242
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
3243
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
3244
prt.Anchored=true
3245
prt.CFrame=cframe*cf(x,y,z)
3246
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
3247
game:GetService("Debris"):AddItem(prt,5)
3248
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
3249
local num=math.random()
3250
local num2=math.random(-3,2)+math.random()
3251
local numm=0
3252
for i=0,1,delay*2 do
3253
swait()
3254
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
3255
Part.Transparency=i
3256
numm=numm+0.01
3257
end
3258
Part.Parent=nil
3259
Mesh.Parent=nil
3260
end),prt,msh,x,y,z)
3261
end
3262
3263
function dmgstart(dmg,what)
3264
	hitcon = what.Touched:connect(function(hit)
3265
		local hum = hit.Parent:FindFirstChild("Humanoid")
3266
		if hum and not hum:IsDescendantOf(Character) then
3267
			hum:TakeDamage(dmg)
3268
		end
3269
	end)
3270
end
3271
3272
function dmgstop()
3273
	hitcon:disconnect()
3274
end
3275
3276
function Cloak()
3277
Face.Parent=nil
3278
cloaked=true
3279
        for _,v in pairs(Torso.Parent:children()) do
3280
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
3281
                coroutine.resume(coroutine.create(function() 
3282
                for i=0,1,0.2 do
3283
                wait()
3284
                v.Transparency=i
3285
                end
3286
                v.Transparency=1
3287
                end))
3288
                end
3289
                if v.className=="Hat" then
3290
                hatp=v.Handle
3291
                coroutine.resume(coroutine.create(function(derp) 
3292
                for i=0,1,0.2 do
3293
                wait()
3294
                derp.Transparency=i
3295
                end
3296
                derp.Transparency=1
3297
                end),hatp)
3298
                end
3299
        end
3300
        for _,v in pairs(m:children()) do
3301
                if v.className=="Part" then
3302
                coroutine.resume(coroutine.create(function() 
3303
                for i=0,1,0.2 do
3304
                wait()
3305
                v.Transparency=i
3306
                end
3307
                v.Transparency=1
3308
                end))
3309
                end
3310
        end
3311
end
3312
 
3313
function UnCloak()
3314
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) 
3315
Face.Parent=Head 
3316
cloaked=false
3317
        for _,v in pairs(Torso.Parent:children()) do
3318
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
3319
                coroutine.resume(coroutine.create(function() 
3320
                for i=0,1,0.1 do
3321
                wait()
3322
                v.Transparency=v.Transparency-0.1
3323
                end
3324
                v.Transparency=0
3325
                end))
3326
                end
3327
                if v.className=="Hat" then
3328
                hatp=v.Handle
3329
                coroutine.resume(coroutine.create(function(derp) 
3330
                for i=0,1,0.1 do
3331
                wait()
3332
                derp.Transparency=derp.Transparency-0.1
3333
                end
3334
                derp.Transparency=0
3335
                end),hatp)
3336
                end
3337
        end
3338
        for _,v in pairs(m:children()) do
3339
                if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
3340
                coroutine.resume(coroutine.create(function() 
3341
                for i=0,1,0.1 do
3342
                wait()
3343
                v.Transparency=v.Transparency-0.1
3344
                end
3345
                v.Transparency=0
3346
                end))
3347
                v.Transparency=0
3348
                end
3349
        end
3350
end
3351
3352
local origcolor = BrickColor.new("Pastel light blue")
3353
---- This section of explosions.
3354
3355
----
3356
3357
3358
function ring(type,pos,scale,value)
3359
local type = type
3360
local rng = Instance.new("Part", char)
3361
        rng.Anchored = true
3362
        rng.BrickColor = origcolor
3363
        rng.CanCollide = false
3364
        rng.FormFactor = 3
3365
        rng.Name = "Ring"
3366
        rng.Size = Vector3.new(1, 1, 1)
3367
        rng.Transparency = 0
3368
        rng.TopSurface = 0
3369
        rng.BottomSurface = 0
3370
        rng.CFrame = pos
3371
        local rngm = Instance.new("SpecialMesh", rng)
3372
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3373
rngm.Scale = scale
3374
local scaler2 = 1
3375
if type == "Add" then
3376
scaler2 = 1*value
3377
elseif type == "Divide" then
3378
scaler2 = 1/value
3379
end
3380
coroutine.resume(coroutine.create(function()
3381
for i = 0,10,0.1 do
3382
swait()
3383
if type == "Add" then
3384
scaler2 = scaler2 - 0.01*value
3385
elseif type == "Divide" then
3386
scaler2 = scaler2 - 0.01/value
3387
end
3388
rng.Transparency = rng.Transparency + 0.01
3389
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
3390
end
3391
rng:Destroy()
3392
end))
3393
end
3394
3395
3396
function wave(type,pos,scale,value)
3397
local type = type
3398
local rng = Instance.new("Part", char)
3399
        rng.Anchored = true
3400
        rng.BrickColor = origcolor
3401
        rng.CanCollide = false
3402
        rng.FormFactor = 3
3403
        rng.Name = "Ring"
3404
        rng.Size = Vector3.new(1, 1, 1)
3405
        rng.Transparency = 0
3406
        rng.TopSurface = 0
3407
        rng.BottomSurface = 0
3408
        rng.CFrame = pos
3409
        local rngm = Instance.new("SpecialMesh", rng)
3410
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
3411
rngm.Scale = scale
3412
local scaler2 = 1
3413
if type == "Add" then
3414
scaler2 = 1*value
3415
elseif type == "Divide" then
3416
scaler2 = 1/value
3417
end
3418
coroutine.resume(coroutine.create(function()
3419
for i = 0,10,0.1 do
3420
swait()
3421
if type == "Add" then
3422
scaler2 = scaler2 - 0.01*value
3423
elseif type == "Divide" then
3424
scaler2 = scaler2 - 0.01/value
3425
end
3426
rng.Transparency = rng.Transparency + 0.01
3427
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3428
end
3429
rng:Destroy()
3430
end))
3431
end
3432
3433
function wind(type,pos,scale,value,speed)
3434
local type = type
3435
local rng = Instance.new("Part", char)
3436
        rng.Anchored = true
3437
        rng.BrickColor = origcolor
3438
        rng.CanCollide = false
3439
        rng.FormFactor = 3
3440
        rng.Name = "Ring"
3441
        rng.Size = Vector3.new(1, 1, 1)
3442
        rng.Transparency = 0
3443
        rng.TopSurface = 0
3444
        rng.BottomSurface = 0
3445
        rng.CFrame = pos
3446
        local rngm = Instance.new("SpecialMesh", rng)
3447
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
3448
rngm.Scale = scale
3449
local scaler2 = 1
3450
if type == "Add" then
3451
scaler2 = 1*value
3452
elseif type == "Divide" then
3453
scaler2 = 1/value
3454
end
3455
coroutine.resume(coroutine.create(function()
3456
for i = 0,10,0.1 do
3457
swait()
3458
if type == "Add" then
3459
scaler2 = scaler2 - 0.01*value
3460
elseif type == "Divide" then
3461
scaler2 = scaler2 - 0.01/value
3462
end
3463
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
3464
rng.Transparency = rng.Transparency + 0.01
3465
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3466
end
3467
rng:Destroy()
3468
end))
3469
end
3470
3471
function groundwind(type,pos,scale,value,speed)
3472
local type = type
3473
local rng = Instance.new("Part", char)
3474
        rng.Anchored = true
3475
        rng.BrickColor = origcolor
3476
        rng.CanCollide = false
3477
        rng.FormFactor = 3
3478
        rng.Name = "Ring"
3479
        rng.Size = Vector3.new(1, 1, 1)
3480
        rng.Transparency = 0
3481
        rng.TopSurface = 0
3482
        rng.BottomSurface = 0
3483
        rng.CFrame = pos
3484
        local rngm = Instance.new("SpecialMesh", rng)
3485
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
3486
rngm.Scale = scale
3487
local scaler2 = 1
3488
if type == "Add" then
3489
scaler2 = 1*value
3490
elseif type == "Divide" then
3491
scaler2 = 1/value
3492
end
3493
coroutine.resume(coroutine.create(function()
3494
for i = 0,10,0.1 do
3495
swait()
3496
if type == "Add" then
3497
scaler2 = scaler2 - 0.01*value
3498
elseif type == "Divide" then
3499
scaler2 = scaler2 - 0.01/value
3500
end
3501
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
3502
rng.Transparency = rng.Transparency + 0.01
3503
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
3504
end
3505
rng:Destroy()
3506
end))
3507
end
3508
3509
function CameraManager()
3510
  if TwoD and not CamInterrupt then
3511
    if Humanoid.Health > 0 then
3512
      Camera.CameraSubject = Humanoid
3513
      Camera.CameraType = "Scriptable"
3514
      Humanoid.AutoRotate = false
3515
      if Booleans.GyroUse then
3516
        Directer.MaxTorque = Vec3(0, huge, 0)
3517
      else
3518
        Directer.MaxTorque = Vec3(0, 0, 0)
3519
      end
3520
      if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
3521
        if Booleans.CamFollow then
3522
          CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
3523
          Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
3524
        else
3525
          CPart.Position = RootPart.Position
3526
        end
3527
      else
3528
        local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
3529
        CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
3530
      end
3531
      Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
3532
    else
3533
      Camera.CameraSubject = Humanoid
3534
      Camera.CameraType = "Custom"
3535
      Controller.Disabled = false
3536
    end
3537
  end
3538
end
3539
3540
function ring(type,pos,scale,value)
3541
local type = type
3542
local rng = Instance.new("Part", char)
3543
        rng.Anchored = true
3544
        rng.BrickColor = origcolor
3545
        rng.CanCollide = false
3546
        rng.FormFactor = 3
3547
        rng.Name = "Ring"
3548
        rng.Size = Vector3.new(1, 1, 1)
3549
        rng.Transparency = 0
3550
        rng.TopSurface = 0
3551
        rng.BottomSurface = 0
3552
        rng.CFrame = pos
3553
        local rngm = Instance.new("SpecialMesh", rng)
3554
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3555
rngm.Scale = scale
3556
local scaler2 = 1
3557
if type == "Add" then
3558
scaler2 = 1*value
3559
elseif type == "Divide" then
3560
scaler2 = 1/value
3561
end
3562
coroutine.resume(coroutine.create(function()
3563
for i = 0,10,0.1 do
3564
swait()
3565
if type == "Add" then
3566
scaler2 = scaler2 - 0.01*value
3567
elseif type == "Divide" then
3568
scaler2 = scaler2 - 0.01/value
3569
end
3570
rng.Transparency = rng.Transparency + 0.01
3571
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
3572
end
3573
rng:Destroy()
3574
end))
3575
end
3576
3577
3578
function wave(type,pos,scale,value)
3579
local type = type
3580
local rng = Instance.new("Part", char)
3581
        rng.Anchored = true
3582
        rng.BrickColor = origcolor
3583
        rng.CanCollide = false
3584
        rng.FormFactor = 3
3585
        rng.Name = "Ring"
3586
        rng.Size = Vector3.new(1, 1, 1)
3587
        rng.Transparency = 0
3588
        rng.TopSurface = 0
3589
        rng.BottomSurface = 0
3590
        rng.CFrame = pos
3591
        local rngm = Instance.new("SpecialMesh", rng)
3592
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
3593
rngm.Scale = scale
3594
local scaler2 = 1
3595
if type == "Add" then
3596
scaler2 = 1*value
3597
elseif type == "Divide" then
3598
scaler2 = 1/value
3599
end
3600
coroutine.resume(coroutine.create(function()
3601
for i = 0,10,0.1 do
3602
swait()
3603
if type == "Add" then
3604
scaler2 = scaler2 - 0.01*value
3605
elseif type == "Divide" then
3606
scaler2 = scaler2 - 0.01/value
3607
end
3608
rng.Transparency = rng.Transparency + 0.01
3609
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3610
end
3611
rng:Destroy()
3612
end))
3613
end
3614
3615
function sphere(bonuspeed,type,pos,scale,value,color)
3616
local type = type
3617
local rng = Instance.new("Part", char)
3618
        rng.Anchored = true
3619
if ModeOfGlitch ~= 9 then
3620
        rng.BrickColor = color
3621
elseif ModeOfGlitch == 9 then
3622
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3623
end
3624
        rng.CanCollide = false
3625
        rng.FormFactor = 3
3626
        rng.Name = "Ring"
3627
        rng.Material = "Neon"
3628
        rng.Size = Vector3.new(1, 1, 1)
3629
        rng.Transparency = 0
3630
        rng.TopSurface = 0
3631
        rng.BottomSurface = 0
3632
        rng.CFrame = pos
3633
        local rngm = Instance.new("SpecialMesh", rng)
3634
        rngm.MeshType = "Sphere"
3635
rngm.Scale = scale
3636
if rainbowmode == true then
3637
rng.Color = Color3.new(r/255,g/255,b/255)
3638
end
3639
if ModeOfGlitch == 9 then
3640
coroutine.resume(coroutine.create(function()
3641
while true do
3642
swait()
3643
if rng.Parent ~= nil then
3644
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3645
else
3646
break
3647
end
3648
end
3649
end))
3650
end
3651
local scaler2 = 1
3652
if type == "Add" then
3653
scaler2 = 1*value
3654
elseif type == "Divide" then
3655
scaler2 = 1/value
3656
end
3657
coroutine.resume(coroutine.create(function()
3658
for i = 0,10/bonuspeed,0.1 do
3659
swait()
3660
if rainbowmode == true then
3661
rng.Color = Color3.new(r/255,g/255,b/255)
3662
end
3663
if type == "Add" then
3664
scaler2 = scaler2 - 0.01*value/bonuspeed
3665
elseif type == "Divide" then
3666
scaler2 = scaler2 - 0.01/value*bonuspeed
3667
end
3668
if chaosmode == true then
3669
rng.BrickColor = BrickColor.random()
3670
end
3671
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3672
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3673
end
3674
rng:Destroy()
3675
end))
3676
end
3677
3678
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
3679
local type = type
3680
local rng = Instance.new("Part", char)
3681
        rng.Anchored = true
3682
if ModeOfGlitch ~= 9 then
3683
        rng.BrickColor = color
3684
elseif ModeOfGlitch == 9 then
3685
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3686
end
3687
        rng.CanCollide = false
3688
        rng.FormFactor = 3
3689
        rng.Name = "Ring"
3690
        rng.Material = "Neon"
3691
        rng.Size = Vector3.new(1, 1, 1)
3692
        rng.Transparency = 0
3693
        rng.TopSurface = 0
3694
        rng.BottomSurface = 0
3695
        rng.CFrame = pos
3696
        local rngm = Instance.new("SpecialMesh", rng)
3697
        rngm.MeshType = "Sphere"
3698
rngm.Scale = scale
3699
local scaler2 = 1
3700
local scaler2b = 1
3701
local scaler2c = 1
3702
if type == "Add" then
3703
scaler2 = 1*value
3704
scaler2b = 1*value2
3705
scaler2c = 1*value3
3706
elseif type == "Divide" then
3707
scaler2 = 1/value
3708
scaler2b = 1/value2
3709
scaler2c = 1/value3
3710
end
3711
if ModeOfGlitch == 9 then
3712
coroutine.resume(coroutine.create(function()
3713
while true do
3714
swait()
3715
if rng.Parent ~= nil then
3716
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3717
else
3718
break
3719
end
3720
end
3721
end))
3722
end
3723
coroutine.resume(coroutine.create(function()
3724
for i = 0,10/bonuspeed,0.1 do
3725
swait()
3726
if type == "Add" then
3727
scaler2 = scaler2 - 0.01*value/bonuspeed
3728
scaler2b = scaler2b - 0.01*value/bonuspeed
3729
scaler2c = scaler2c - 0.01*value/bonuspeed
3730
elseif type == "Divide" then
3731
scaler2 = scaler2 - 0.01/value*bonuspeed
3732
scaler2b = scaler2b - 0.01/value*bonuspeed
3733
scaler2c = scaler2c - 0.01/value*bonuspeed
3734
end
3735
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3736
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3737
end
3738
rng:Destroy()
3739
end))
3740
end
3741
3742
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
3743
local type = type
3744
local rotenable = rotatingop
3745
local rng = Instance.new("Part", char)
3746
        rng.Anchored = true
3747
        rng.BrickColor = color
3748
        rng.CanCollide = false
3749
        rng.FormFactor = 3
3750
        rng.Name = "Ring"
3751
        rng.Material = "Neon"
3752
        rng.Size = Vector3.new(1, 1, 1)
3753
        rng.Transparency = 0
3754
if typeoftrans == "In" then
3755
rng.Transparency = 1
3756
end
3757
        rng.TopSurface = 0
3758
        rng.BottomSurface = 0
3759
        rng.CFrame = pos
3760
        local rngm = Instance.new("SpecialMesh", rng)
3761
        rngm.MeshType = "FileMesh"
3762
if typeofshape == "Normal" then
3763
rngm.MeshId = "rbxassetid://662586858"
3764
elseif typeofshape == "Round" then
3765
rngm.MeshId = "rbxassetid://662585058"
3766
end
3767
rngm.Scale = scale
3768
local scaler2 = 1/10
3769
if type == "Add" then
3770
scaler2 = 1*value/10
3771
elseif type == "Divide" then
3772
scaler2 = 1/value/10
3773
end
3774
local randomrot = math.random(1,2)
3775
coroutine.resume(coroutine.create(function()
3776
for i = 0,10/bonuspeed,0.1 do
3777
swait()
3778
if type == "Add" then
3779
scaler2 = scaler2 - 0.01*value/bonuspeed/10
3780
elseif type == "Divide" then
3781
scaler2 = scaler2 - 0.01/value*bonuspeed/10
3782
end
3783
if rotenable == true then
3784
if randomrot == 1 then
3785
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
3786
elseif randomrot == 2 then
3787
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
3788
end
3789
end
3790
if typeoftrans == "Out" then
3791
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3792
elseif typeoftrans == "In" then
3793
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3794
end
3795
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
3796
end
3797
rng:Destroy()
3798
end))
3799
end
3800
3801
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3802
local type = type
3803
local rng = Instance.new("Part", char)
3804
        rng.Anchored = true
3805
        rng.BrickColor = color
3806
        rng.CanCollide = false
3807
        rng.FormFactor = 3
3808
        rng.Name = "Ring"
3809
        rng.Material = "Neon"
3810
        rng.Size = Vector3.new(1, 1, 1)
3811
        rng.Transparency = 0
3812
        rng.TopSurface = 0
3813
        rng.BottomSurface = 0
3814
        rng.CFrame = pos
3815
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3816
        local rngm = Instance.new("SpecialMesh", rng)
3817
        rngm.MeshType = "Brick"
3818
rngm.Scale = vt(x1,y1,z1)
3819
if rainbowmode == true then
3820
rng.Color = Color3.new(r/255,g/255,b/255)
3821
end
3822
local scaler2 = 1
3823
local speeder = FastSpeed/10
3824
if type == "Add" then
3825
scaler2 = 1*value
3826
elseif type == "Divide" then
3827
scaler2 = 1/value
3828
end
3829
coroutine.resume(coroutine.create(function()
3830
for i = 0,10/bonuspeed,0.1 do
3831
swait()
3832
if rainbowmode == true then
3833
rng.Color = Color3.new(r/255,g/255,b/255)
3834
end
3835
if type == "Add" then
3836
scaler2 = scaler2 - 0.01*value/bonuspeed
3837
elseif type == "Divide" then
3838
scaler2 = scaler2 - 0.01/value*bonuspeed
3839
end
3840
if chaosmode == true then
3841
rng.BrickColor = BrickColor.random()
3842
end
3843
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3844
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3845
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3846
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3847
end
3848
rng:Destroy()
3849
end))
3850
end
3851
3852
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3853
local type = type
3854
local rng = Instance.new("Part", char)
3855
        rng.Anchored = true
3856
        rng.BrickColor = color
3857
        rng.CanCollide = false
3858
        rng.FormFactor = 3
3859
        rng.Name = "Ring"
3860
        rng.Material = "Neon"
3861
        rng.Size = Vector3.new(1, 1, 1)
3862
        rng.Transparency = 0
3863
        rng.TopSurface = 0
3864
        rng.BottomSurface = 0
3865
        rng.CFrame = pos
3866
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3867
        local rngm = Instance.new("SpecialMesh", rng)
3868
        rngm.MeshType = "Brick"
3869
rngm.Scale = vt(x1,y1,z1)
3870
if rainbowmode == true then
3871
rng.Color = Color3.new(r/255,g/255,b/255)
3872
end
3873
local scaler2 = 1
3874
local speeder = FastSpeed/10
3875
if type == "Add" then
3876
scaler2 = 1*value
3877
elseif type == "Divide" then
3878
scaler2 = 1/value
3879
end
3880
coroutine.resume(coroutine.create(function()
3881
for i = 0,10/bonuspeed,0.1 do
3882
swait()
3883
if rainbowmode == true then
3884
rng.Color = Color3.new(r/255,g/255,b/255)
3885
end
3886
if type == "Add" then
3887
scaler2 = scaler2 - 0.01*value/bonuspeed
3888
elseif type == "Divide" then
3889
scaler2 = scaler2 - 0.01/value*bonuspeed
3890
end
3891
if chaosmode == true then
3892
rng.BrickColor = BrickColor.random()
3893
end
3894
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3895
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3896
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3897
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3898
end
3899
rng:Destroy()
3900
end))
3901
end
3902
3903
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3904
local type = type
3905
local rng = Instance.new("Part", char)
3906
        rng.Anchored = true
3907
        rng.BrickColor = color
3908
        rng.CanCollide = false
3909
        rng.FormFactor = 3
3910
        rng.Name = "Ring"
3911
        rng.Material = "Neon"
3912
        rng.Size = Vector3.new(1, 1, 1)
3913
        rng.Transparency = 0
3914
        rng.TopSurface = 0
3915
        rng.BottomSurface = 0
3916
        rng.CFrame = pos
3917
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3918
        local rngm = Instance.new("SpecialMesh", rng)
3919
        rngm.MeshType = "Brick"
3920
rngm.Scale = vt(x1,y1,z1)
3921
if rainbowmode == true then
3922
rng.Color = Color3.new(r/255,g/255,b/255)
3923
end
3924
local scaler2 = 0
3925
local speeder = FastSpeed/10
3926
if type == "Add" then
3927
scaler2 = 1*value
3928
elseif type == "Divide" then
3929
scaler2 = 1/value
3930
end
3931
coroutine.resume(coroutine.create(function()
3932
for i = 0,10/bonuspeed,0.1 do
3933
swait()
3934
if rainbowmode == true then
3935
rng.Color = Color3.new(r/255,g/255,b/255)
3936
end
3937
if type == "Add" then
3938
scaler2 = scaler2 - 0.01*value/bonuspeed
3939
elseif type == "Divide" then
3940
scaler2 = scaler2 - 0.01/value*bonuspeed
3941
end
3942
if chaosmode == true then
3943
rng.BrickColor = BrickColor.random()
3944
end
3945
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
3946
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3947
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3948
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3949
end
3950
rng:Destroy()
3951
end))
3952
end
3953
3954
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
3955
local type = type
3956
local rng = Instance.new("Part", char)
3957
        rng.Anchored = true
3958
        rng.BrickColor = color
3959
        rng.Color = color3
3960
        rng.CanCollide = false
3961
        rng.FormFactor = 3
3962
        rng.Name = "Ring"
3963
        rng.Material = "Neon"
3964
        rng.Size = Vector3.new(1, 1, 1)
3965
        rng.Transparency = 0
3966
        rng.TopSurface = 0
3967
        rng.BottomSurface = 0
3968
        rng.CFrame = pos
3969
        local rngm = Instance.new("SpecialMesh", rng)
3970
        rngm.MeshType = "Brick"
3971
rngm.Scale = scale
3972
local scaler2 = 1
3973
local scaler2b = 1
3974
local scaler2c = 1
3975
if type == "Add" then
3976
scaler2 = 1*value
3977
scaler2b = 1*value2
3978
scaler2c = 1*value3
3979
elseif type == "Divide" then
3980
scaler2 = 1/value
3981
scaler2b = 1/value2
3982
scaler2c = 1/value3
3983
end
3984
coroutine.resume(coroutine.create(function()
3985
for i = 0,10/bonuspeed,0.1 do
3986
swait()
3987
if type == "Add" then
3988
scaler2 = scaler2 - 0.01*value/bonuspeed
3989
scaler2b = scaler2b - 0.01*value/bonuspeed
3990
scaler2c = scaler2c - 0.01*value/bonuspeed
3991
elseif type == "Divide" then
3992
scaler2 = scaler2 - 0.01/value*bonuspeed
3993
scaler2b = scaler2b - 0.01/value*bonuspeed
3994
scaler2c = scaler2c - 0.01/value*bonuspeed
3995
end
3996
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3997
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3998
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3999
end
4000
rng:Destroy()
4001
end))
4002
end
4003
4004
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4005
local type = type
4006
local rng = Instance.new("Part", char)
4007
        rng.Anchored = true
4008
if ModeOfGlitch ~= 9 then
4009
        rng.BrickColor = color
4010
elseif ModeOfGlitch == 9 then
4011
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4012
end
4013
        rng.CanCollide = false
4014
        rng.FormFactor = 3
4015
        rng.Name = "Ring"
4016
        rng.Material = "Neon"
4017
        rng.Size = Vector3.new(1, 1, 1)
4018
        rng.Transparency = 0
4019
        rng.TopSurface = 0
4020
        rng.BottomSurface = 0
4021
        rng.CFrame = pos
4022
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
4023
        local rngm = Instance.new("SpecialMesh", rng)
4024
        rngm.MeshType = "Sphere"
4025
rngm.Scale = vt(x1,y1,z1)
4026
if rainbowmode == true then
4027
rng.Color = Color3.new(r/255,g/255,b/255)
4028
end
4029
if ModeOfGlitch == 9 then
4030
coroutine.resume(coroutine.create(function()
4031
while true do
4032
swait()
4033
if rng.Parent ~= nil then
4034
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4035
else
4036
break
4037
end
4038
end
4039
end))
4040
end
4041
local scaler2 = 1
4042
local speeder = FastSpeed
4043
if type == "Add" then
4044
scaler2 = 1*value
4045
elseif type == "Divide" then
4046
scaler2 = 1/value
4047
end
4048
coroutine.resume(coroutine.create(function()
4049
for i = 0,10/bonuspeed,0.1 do
4050
swait()
4051
if rainbowmode == true then
4052
rng.Color = Color3.new(r/255,g/255,b/255)
4053
end
4054
if type == "Add" then
4055
scaler2 = scaler2 - 0.01*value/bonuspeed
4056
elseif type == "Divide" then
4057
scaler2 = scaler2 - 0.01/value*bonuspeed
4058
end
4059
if chaosmode == true then
4060
rng.BrickColor = BrickColor.random()
4061
end
4062
speeder = speeder - 0.01*FastSpeed*bonuspeed
4063
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4064
rng.Transparency = rng.Transparency + 0.01*bonuspeed
4065
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
4066
end
4067
rng:Destroy()
4068
end))
4069
end
4070
4071
4072
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4073
local type = type
4074
local rng = Instance.new("Part", char)
4075
        rng.Anchored = true
4076
if ModeOfGlitch ~= 9 then
4077
        rng.BrickColor = color
4078
elseif ModeOfGlitch == 9 then
4079
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4080
end
4081
        rng.CanCollide = false
4082
        rng.FormFactor = 3
4083
        rng.Name = "Ring"
4084
        rng.Material = "Neon"
4085
        rng.Size = Vector3.new(1, 1, 1)
4086
        rng.Transparency = 1
4087
        rng.TopSurface = 0
4088
        rng.BottomSurface = 0
4089
        rng.CFrame = pos
4090
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
4091
        local rngm = Instance.new("SpecialMesh", rng)
4092
        rngm.MeshType = "Sphere"
4093
rngm.Scale = vt(x1,y1,z1)
4094
if rainbowmode == true then
4095
rng.Color = Color3.new(r/255,g/255,b/255)
4096
end
4097
if ModeOfGlitch == 9 then
4098
coroutine.resume(coroutine.create(function()
4099
while true do
4100
swait()
4101
if rng.Parent ~= nil then
4102
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4103
else
4104
break
4105
end
4106
end
4107
end))
4108
end
4109
local scaler2 = 1
4110
local speeder = FastSpeed
4111
if type == "Add" then
4112
scaler2 = 1*value
4113
elseif type == "Divide" then
4114
scaler2 = 1/value
4115
end
4116
coroutine.resume(coroutine.create(function()
4117
for i = 0,10/bonuspeed,0.1 do
4118
swait()
4119
if rainbowmode == true then
4120
rng.Color = Color3.new(r/255,g/255,b/255)
4121
end
4122
if type == "Add" then
4123
scaler2 = scaler2 - 0.01*value/bonuspeed
4124
elseif type == "Divide" then
4125
scaler2 = scaler2 - 0.01/value*bonuspeed
4126
end
4127
if chaosmode == true then
4128
rng.BrickColor = BrickColor.random()
4129
end
4130
speeder = speeder - 0.01*FastSpeed*bonuspeed
4131
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
4132
rng.Transparency = rng.Transparency - 0.01*bonuspeed
4133
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
4134
end
4135
rng:Destroy()
4136
end))
4137
end
4138
4139
function dmg(dude)
4140
if dude.Name ~= Character then
4141
local keptcolor = MAINRUINCOLOR
4142
local bgf = Instance.new("BodyGyro",dude.Head)
4143
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
4144
--[[local val = Instance.new("BoolValue",dude)
4145
val.Name = "IsHit"]]--
4146
local ds = coroutine.wrap(function()
4147
dude:WaitForChild("Head"):BreakJoints()
4148
for i, v in pairs(dude:GetChildren()) do
4149
if v:IsA("Part") or v:IsA("MeshPart") then
4150
v.Name = "DEMINISHED"
4151
end
4152
end
4153
wait(0.5)
4154
targetted = nil
4155
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
4156
coroutine.resume(coroutine.create(function()
4157
for i, v in pairs(dude:GetChildren()) do
4158
if v:IsA("Accessory") then
4159
v:Destroy()
4160
end
4161
if v:IsA("Humanoid") then
4162
v:Destroy()
4163
end
4164
if v:IsA("CharacterMesh") then
4165
v:Destroy()
4166
end
4167
if v:IsA("Model") then
4168
v:Destroy()
4169
end
4170
if v:IsA("Part") or v:IsA("MeshPart") then
4171
for x, o in pairs(v:GetChildren()) do
4172
if o:IsA("Decal") then
4173
o:Destroy()
4174
end
4175
end
4176
coroutine.resume(coroutine.create(function()
4177
v.Material = "Neon"
4178
v.CanCollide = false
4179
v.Anchored = false
4180
local bld = Instance.new("ParticleEmitter",v)
4181
bld.LightEmission = 0.75
4182
bld.Texture = "rbxassetid://363275192" ---284205403
4183
bld.Color = ColorSequence.new(keptcolor.Color)
4184
bld.Rate = 500
4185
bld.Lifetime = NumberRange.new(1)
4186
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
4187
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
4188
bld.Speed = NumberRange.new(2,5)
4189
bld.VelocitySpread = 50000
4190
bld.Rotation = NumberRange.new(-500,500)
4191
bld.RotSpeed = NumberRange.new(-500,500)
4192
        local sbs = Instance.new("BodyPosition", v)
4193
        sbs.P = 3000
4194
        sbs.D = 1000
4195
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
4196
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
4197
v.Color = keptcolor.Color
4198
coroutine.resume(coroutine.create(function()
4199
for i = 0, 49 do
4200
swait(1)
4201
v:BreakJoints()
4202
v.Transparency = v.Transparency + 0.02
4203
end
4204
v:BreakJoints()
4205
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
4206
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
4207
bld.Speed = NumberRange.new(10,25)
4208
bld.Drag = 5
4209
bld.Acceleration = vt(0,2,0)
4210
wait(0.5)
4211
bld.Enabled = false
4212
wait(8)
4213
v:Destroy()
4214
dude:Destroy()
4215
end))
4216
end))
4217
end
4218
end
4219
end))
4220
end)
4221
ds()
4222
end
4223
end
4224
4225
4226
function FindNearestHead(Position, Distance, SinglePlayer)
4227
	if SinglePlayer then
4228
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
4229
	end
4230
	local List = {}
4231
	for i, v in pairs(workspace:GetChildren()) do
4232
		if v:IsA("Model") then
4233
			if v:findFirstChild("Head") then
4234
				if v ~= Character then
4235
					if (v.Head.Position - Position).magnitude <= Distance then
4236
						table.insert(List, v)
4237
					end 
4238
				end 
4239
			end 
4240
		end 
4241
	end
4242
	return List
4243
end
4244
4245
function FaceMouse()
4246
  Cam = workspace.CurrentCamera
4247
  return {
4248
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
4249
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
4250
  }
4251
end
4252
4253
function FaceMouse2()
4254
  Cam = workspace.CurrentCamera
4255
  return {
4256
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
4257
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
4258
  }
4259
end
4260
4261
local ModeOfGlitch = 1
4262
-- Functions are ready.
4263
local storehumanoidWS = 16
4264
4265
function BinaryBLINK()
4266
for i = 0, 9 do
4267
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)
4268
end
4269
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4270
coroutine.resume(coroutine.create(function()
4271
local eff = Instance.new("ParticleEmitter",root)
4272
eff.Texture = "rbxassetid://1175838406"
4273
eff.LightEmission = 0.95
4274
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4275
eff.Rate = 10000
4276
eff.Lifetime = NumberRange.new(1)
4277
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
4278
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4279
eff.Speed = NumberRange.new(30,160)
4280
eff.Drag = 5
4281
eff.Rotation = NumberRange.new(-500,500)
4282
eff.VelocitySpread = 100000
4283
wait(0.25)
4284
eff.Enabled = false
4285
wait(4)
4286
eff:Destroy()
4287
end))
4288
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
4289
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
4290
CameraEnshaking(2,11)
4291
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
4292
if v:FindFirstChild('Head') then
4293
dmg(v)
4294
end
4295
end
4296
for i = 0, 9 do
4297
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)
4298
end
4299
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4300
end
4301
4302
function Fireball()
4303
attack = true
4304
hum.WalkSpeed = 0
4305
local keptcolor = MAINRUINCOLOR
4306
    for i = 0,2,0.1 do
4307
        swait()
4308
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
4309
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
4310
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
4311
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
4312
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)
4313
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)
4314
    end
4315
local orb = Instance.new("Part", char)
4316
        orb.BrickColor = keptcolor
4317
        orb.CanCollide = false
4318
        orb.FormFactor = 3
4319
        orb.Name = "Ring"
4320
        orb.Material = "Neon"
4321
        orb.Size = Vector3.new(1, 1, 1)
4322
        orb.Transparency = 0
4323
        orb.TopSurface = 0
4324
        orb.BottomSurface = 0
4325
        local orbm = Instance.new("SpecialMesh", orb)
4326
        orbm.MeshType = "Sphere"
4327
orbm.Name = "SizeMesh"
4328
orbm.Scale = vt(4,4,4)
4329
orb.CFrame = root.CFrame + root.CFrame.lookVector*3
4330
local eff = Instance.new("ParticleEmitter",orb)
4331
eff.Texture = "rbxassetid://296874871"
4332
eff.LightEmission = 0.95
4333
eff.Color = ColorSequence.new(orb.BrickColor.Color)
4334
eff.Rate = 10000
4335
eff.Lifetime = NumberRange.new(1.5)
4336
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)})
4337
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4338
eff.Speed = NumberRange.new(25)
4339
eff.Drag = 5
4340
eff.Rotation = NumberRange.new(-500,500)
4341
eff.VelocitySpread = 9000
4342
eff.RotSpeed = NumberRange.new(-500,500)
4343
    local a = Instance.new("Part",workspace)
4344
    a.Name = "Direction"   
4345
    a.Anchored = true
4346
    a.BrickColor = bc("Bright red")
4347
a.Material = "Neon"
4348
a.Transparency = 1
4349
    a.CanCollide = false
4350
    local ray = Ray.new(
4351
        orb.CFrame.p,                           -- origin
4352
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4353
    )
4354
    local ignore = orb
4355
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4356
    a.BottomSurface = 10
4357
    a.TopSurface = 10
4358
    local distance = (orb.CFrame.p - position).magnitude
4359
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4360
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4361
orb.CFrame = a.CFrame
4362
a:Destroy()
4363
CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
4364
local bv = Instance.new("BodyVelocity")
4365
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4366
bv.velocity = orb.CFrame.lookVector*75
4367
bv.Parent = orb
4368
game:GetService("Debris"):AddItem(orb, 10)
4369
local hitted = false
4370
coroutine.resume(coroutine.create(function()
4371
while true do
4372
swait()
4373
if orb.Parent ~= nil and hitted == false then
4374
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)
4375
elseif orb.Parent == nil and hitted == true then
4376
break
4377
end
4378
end
4379
end))
4380
local hit =orb.Touched:connect(function(hit)
4381
    if hitted == false and hit.Parent ~= char then
4382
    hitted = true
4383
    eff.Enabled = false
4384
CameraEnshaking(2,11)
4385
CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
4386
CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
4387
    MagniDamage(orb, 25, 20,30, 0, "Normal")
4388
sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4389
sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4390
sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4391
for i = 0, 9 do
4392
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)
4393
end
4394
for i = 0, 49 do
4395
local rsiz = math.random(10,30)
4396
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)
4397
end
4398
local eff = Instance.new("ParticleEmitter",orb)
4399
eff.Texture = "rbxassetid://296874871"
4400
eff.LightEmission = 0.95
4401
eff.Color = ColorSequence.new(orb.BrickColor.Color)
4402
eff.Rate = 10000
4403
eff.Lifetime = NumberRange.new(1.5)
4404
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)})
4405
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4406
eff.Speed = NumberRange.new(150)
4407
eff.Drag = 5
4408
eff.Rotation = NumberRange.new(-500,500)
4409
eff.VelocitySpread = 9000
4410
eff.RotSpeed = NumberRange.new(-500,500)
4411
coroutine.resume(coroutine.create(function()
4412
    wait(0.25)
4413
    eff.Enabled = false
4414
end))
4415
local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
4416
orb.Anchored = true
4417
orb.Transparency = 1
4418
coroutine.resume(coroutine.create(function()
4419
if hfr ~= nil then
4420
orb.Size = vt(50,1,50)
4421
orb.Orientation = vt(0,0,0)
4422
orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
4423
orbm:Destroy()
4424
local firef = eff:Clone()
4425
firef.Parent = orb
4426
firef.VelocitySpread = 50
4427
firef.Rate = 500
4428
firef.Drag = 3
4429
firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4430
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)})
4431
firef.Speed = NumberRange.new(10,30)
4432
for i = 0, 24 do
4433
wait(0.25)
4434
MagniDamage(orb, 25, 3,6, 0, "Normal")
4435
end
4436
firef.Enabled = false
4437
end
4438
end))
4439
wait(10)
4440
orb:Destroy()
4441
end
4442
end)
4443
    for i = 0,1,0.1 do
4444
        swait()
4445
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
4446
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
4447
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
4448
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
4449
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)
4450
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)
4451
    end
4452
hum.WalkSpeed = storehumanoidWS
4453
attack = false
4454
end
4455
4456
function smiter()
4457
local targetted = nil
4458
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
4459
targetted = mouse.Target.Parent
4460
end
4461
if targetted ~= nil then
4462
RootPart.CFrame = FaceMouse()[1]
4463
attack = true
4464
hum.WalkSpeed = 0
4465
coroutine.resume(coroutine.create(function()
4466
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
4467
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
4468
local vel = Instance.new("BodyPosition", targetted.Head)
4469
vel.P = 12500
4470
vel.D = 1000
4471
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
4472
vel.position = targetted.Head.CFrame.p
4473
end))
4474
CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
4475
    for i = 0,4,0.1 do
4476
        swait()
4477
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)
4478
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
4479
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
4480
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)
4481
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
4482
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)
4483
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)
4484
    end
4485
coroutine.resume(coroutine.create(function()
4486
CameraEnshaking(6,5)
4487
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
4488
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
4489
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
4490
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
4491
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
4492
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
4493
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
4494
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
4495
coroutine.resume(coroutine.create(function()
4496
local eff = Instance.new("ParticleEmitter",targetted.Head)
4497
eff.Texture = "rbxassetid://363275192"
4498
eff.LightEmission = 0.95
4499
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4500
eff.Rate = 10000
4501
eff.Lifetime = NumberRange.new(1.5)
4502
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
4503
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4504
eff.Speed = NumberRange.new(25,150)
4505
eff.Drag = 5
4506
eff.Rotation = NumberRange.new(-500,500)
4507
eff.VelocitySpread = 9000
4508
eff.RotSpeed = NumberRange.new(-50,50)
4509
local eff2 = eff:Clone()
4510
eff2.Parent = targetted.Head
4511
eff2.Texture = "rbxassetid://284205403"
4512
eff2.Rate = 10000
4513
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4514
eff2.Drag = 5
4515
eff2.Rotation = NumberRange.new(-500,500)
4516
eff2.VelocitySpread = 9000
4517
wait(0.5)
4518
eff2.Enabled = false
4519
eff.Enabled = false
4520
end))
4521
for i = 0, 9 do
4522
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)
4523
end
4524
for i = 0, 49 do
4525
local rsiz = math.random(10,50)
4526
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)
4527
end
4528
game:GetService("Debris"):AddItem(vel,1)
4529
dmg(targetted)
4530
end))
4531
    for i = 0,1,0.1 do
4532
        swait()
4533
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
4534
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
4535
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)
4536
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
4537
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)
4538
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)
4539
    end
4540
attack = false
4541
hum.WalkSpeed = storehumanoidWS
4542
end
4543
end
4544
4545
function BinaryE()
4546
local posit = -2
4547
attack = true
4548
hum.WalkSpeed = 5
4549
CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
4550
    for i = 0,2,0.1 do
4551
        swait()
4552
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)
4553
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
4554
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
4555
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
4556
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
4557
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)
4558
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)
4559
    end
4560
for i = 0, 2 do
4561
CameraEnshaking(2,11)
4562
local hite = Instance.new("Part", char)
4563
        hite.Anchored = true
4564
        hite.CanCollide = false
4565
        hite.FormFactor = 3
4566
        hite.Name = "Ring"
4567
        hite.Material = "Neon"
4568
        hite.Size = Vector3.new(1, 1, 1)
4569
        hite.Transparency = 1
4570
        hite.TopSurface = 0
4571
        hite.BottomSurface = 0
4572
hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
4573
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
4574
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
4575
coroutine.resume(coroutine.create(function()
4576
local eff = Instance.new("ParticleEmitter",hite)
4577
eff.Texture = "rbxassetid://1175838406"
4578
eff.LightEmission = 0.95
4579
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4580
eff.Rate = 1000
4581
eff.Lifetime = NumberRange.new(1)
4582
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
4583
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4584
eff.Speed = NumberRange.new(10,50)
4585
eff.Drag = 5
4586
eff.Rotation = NumberRange.new(-500,500)
4587
eff.VelocitySpread = 100000
4588
wait(0.25)
4589
eff.Enabled = false
4590
end))
4591
coroutine.resume(coroutine.create(function()
4592
for i = 0, 1 do
4593
    swait()
4594
        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)
4595
        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)
4596
end
4597
end))
4598
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)
4599
MagniDamage(hite, 3, 30,40, 0, "Normal")
4600
game:GetService("Debris"):AddItem(hite, 5)
4601
posit = posit + 2
4602
end
4603
    for i = 0,1,0.1 do
4604
        swait()
4605
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)
4606
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
4607
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
4608
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
4609
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
4610
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)
4611
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)
4612
    end
4613
    for i = 0,1,0.1 do
4614
        swait()
4615
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)
4616
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
4617
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
4618
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
4619
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
4620
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)
4621
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)
4622
    end
4623
    posit = -6
4624
    for i = 0, 6 do
4625
CameraEnshaking(2,11)
4626
local hite = Instance.new("Part", char)
4627
        hite.Anchored = true
4628
        hite.CanCollide = false
4629
        hite.FormFactor = 3
4630
        hite.Name = "Ring"
4631
        hite.Material = "Neon"
4632
        hite.Size = Vector3.new(1, 1, 1)
4633
        hite.Transparency = 1
4634
        hite.TopSurface = 0
4635
        hite.BottomSurface = 0
4636
hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
4637
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
4638
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
4639
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)
4640
coroutine.resume(coroutine.create(function()
4641
local eff = Instance.new("ParticleEmitter",hite)
4642
eff.Texture = "rbxassetid://1175838406"
4643
eff.LightEmission = 0.95
4644
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4645
eff.Rate = 1000
4646
eff.Lifetime = NumberRange.new(1)
4647
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
4648
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4649
eff.Speed = NumberRange.new(20,70)
4650
eff.Drag = 5
4651
eff.Rotation = NumberRange.new(-500,500)
4652
eff.VelocitySpread = 100000
4653
wait(0.25)
4654
eff.Enabled = false
4655
end))
4656
coroutine.resume(coroutine.create(function()
4657
for i = 0, 2 do
4658
    swait()
4659
        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)
4660
        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)
4661
        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)
4662
end
4663
end))
4664
MagniDamage(hite, 5, 40,70, 0, "Normal")
4665
game:GetService("Debris"):AddItem(hite, 5)
4666
posit = posit + 2
4667
    end
4668
    for i = 0,1,0.1 do
4669
        swait()
4670
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)
4671
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
4672
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
4673
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
4674
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
4675
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)
4676
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)
4677
    end
4678
    hum.WalkSpeed = storehumanoidWS
4679
attack = false
4680
end
4681
4682
function CorruptBlink()
4683
for i = 0, 14 do
4684
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)
4685
end
4686
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4687
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
4688
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
4689
CameraEnshaking(2,10)
4690
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
4691
if v:FindFirstChild('Head') then
4692
dmg(v)
4693
end
4694
end
4695
for i = 0, 14 do
4696
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)
4697
end
4698
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4699
end
4700
function PureBomb()
4701
disably = false
4702
warnedpeople("☻","SourceSansBold",BrickColor.new("Black").Color,BrickColor.new("Toothpaste").Color)
4703
disably = true
4704
RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Toothpaste"),0,BrickColor.new("Toothpaste"),true,true)
4705
attack = true
4706
hum.WalkSpeed = 0
4707
local orb = Instance.new("Part", char)
4708
        orb.Anchored = true
4709
        orb.BrickColor = BrickColor.new("Toothpaste")
4710
        orb.CanCollide = false
4711
        orb.FormFactor = 3
4712
        orb.Name = "Ring"
4713
        orb.Material = "Neon"
4714
        orb.Size = Vector3.new(1, 1, 1)
4715
        orb.Transparency = 0
4716
        orb.TopSurface = 0
4717
        orb.BottomSurface = 0
4718
        local orbm = Instance.new("SpecialMesh", orb)
4719
        orbm.MeshType = "Sphere"
4720
orbm.Name = "SizeMesh"
4721
orbm.Scale = vt(0,0,0)
4722
local scaled = 0.1
4723
local posid = 0
4724
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
4725
for i = 0, 5, 0.1 do
4726
swait()
4727
scaled = scaled - 0.001
4728
posid = posid - scaled
4729
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4730
local scaled = 0.1
4731
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4732
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)
4733
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)
4734
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)
4735
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)
4736
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)
4737
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4738
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4739
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)
4740
end
4741
for i = 0, 2, 0.1 do
4742
swait()
4743
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4744
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)
4745
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)
4746
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)
4747
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
4748
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
4749
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)
4750
end
4751
coroutine.resume(coroutine.create(function()
4752
orb.Anchored = false
4753
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
4754
    local a = Instance.new("Part",workspace)
4755
    a.Name = "Direction"   
4756
    a.Anchored = true
4757
    a.BrickColor = bc("Bright red")
4758
a.Material = "Neon"
4759
a.Transparency = 1
4760
    a.CanCollide = false
4761
    local ray = Ray.new(
4762
        orb.CFrame.p,                           -- origin
4763
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4764
    )
4765
    local ignore = orb
4766
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4767
    a.BottomSurface = 10
4768
    a.TopSurface = 10
4769
    local distance = (orb.CFrame.p - position).magnitude
4770
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4771
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4772
orb.CFrame = a.CFrame
4773
a:Destroy()
4774
local bv = Instance.new("BodyVelocity")
4775
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4776
bv.velocity = orb.CFrame.lookVector*125
4777
bv.Parent = orb
4778
local hitted = false
4779
game:GetService("Debris"):AddItem(orb, 15)
4780
wait()
4781
local hit =orb.Touched:connect(function(hit)
4782
    if hitted == false then
4783
    hitted = true
4784
CameraEnshaking(10,2.5)
4785
CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
4786
    MagniDamage(orb, 65, 65,90, 0, "Normal")
4787
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
4788
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
4789
for i = 0, 49 do
4790
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)
4791
end
4792
for i = 0, 9 do
4793
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)
4794
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)
4795
end
4796
orb.Anchored = true
4797
orb.Transparency = 1
4798
wait(8)
4799
orb:Destroy()
4800
end
4801
end)
4802
end))
4803
for i = 0, 1, 0.1 do
4804
swait()
4805
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)
4806
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)
4807
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)
4808
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
4809
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
4810
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)
4811
end
4812
hum.WalkSpeed = storehumanoidWS
4813
attack = false
4814
end
4815
4816
function BanishingOrb()
4817
attack = true
4818
hum.WalkSpeed = 0
4819
local orb = Instance.new("Part", char)
4820
        orb.Anchored = true
4821
        orb.BrickColor = BrickColor.new("Black")
4822
        orb.CanCollide = false
4823
        orb.FormFactor = 3
4824
        orb.Name = "Ring"
4825
        orb.Material = "Neon"
4826
        orb.Size = Vector3.new(1, 1, 1)
4827
        orb.Transparency = 0
4828
        orb.TopSurface = 0
4829
        orb.BottomSurface = 0
4830
        local orbm = Instance.new("SpecialMesh", orb)
4831
        orbm.MeshType = "Sphere"
4832
orbm.Name = "SizeMesh"
4833
orbm.Scale = vt(0,0,0)
4834
local scaled = 0.1
4835
local posid = 0
4836
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
4837
for i = 0, 5, 0.1 do
4838
swait()
4839
scaled = scaled - 0.001
4840
posid = posid - scaled
4841
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4842
local scaled = 0.1
4843
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4844
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)
4845
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)
4846
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)
4847
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)
4848
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4849
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4850
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)
4851
end
4852
for i = 0, 2, 0.1 do
4853
swait()
4854
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4855
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)
4856
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)
4857
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)
4858
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
4859
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
4860
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)
4861
end
4862
coroutine.resume(coroutine.create(function()
4863
orb.Anchored = false
4864
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
4865
	local a = Instance.new("Part",workspace)
4866
	a.Name = "Direction"	
4867
	a.Anchored = true
4868
	a.BrickColor = bc("Bright red")
4869
a.Material = "Neon"
4870
a.Transparency = 1
4871
	a.CanCollide = false
4872
	local ray = Ray.new(
4873
	    orb.CFrame.p,                           -- origin
4874
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4875
	) 
4876
	local ignore = orb
4877
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4878
	a.BottomSurface = 10
4879
	a.TopSurface = 10
4880
	local distance = (orb.CFrame.p - position).magnitude
4881
	a.Size = Vector3.new(0.1, 0.1, 0.1)
4882
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4883
orb.CFrame = a.CFrame
4884
a:Destroy()
4885
local bv = Instance.new("BodyVelocity")
4886
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4887
bv.velocity = orb.CFrame.lookVector*0
4888
bv.Parent = orb
4889
local hitted = false
4890
local rate = 0
4891
coroutine.resume(coroutine.create(function()
4892
for i = 0, 24 do
4893
wait(0.1)
4894
rate = rate + 0.25
4895
bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
4896
for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
4897
if v:FindFirstChild('Head') then
4898
dmg(v)
4899
end
4900
end
4901
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
4902
sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4903
sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
4904
end
4905
orb.Anchored = true
4906
orb.Transparency = 1
4907
for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
4908
if v:FindFirstChild('Head') then
4909
dmg(v)
4910
end
4911
end
4912
local eff = Instance.new("ParticleEmitter",orb)
4913
eff.Texture = "rbxassetid://296874871"
4914
eff.LightEmission = 0.95
4915
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4916
eff.Rate = 1000000000
4917
eff.Lifetime = NumberRange.new(3)
4918
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)})
4919
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4920
eff.Speed = NumberRange.new(30)
4921
eff.Acceleration = vt(0,-15,0)
4922
eff.Rotation = NumberRange.new(-500,500)
4923
eff.VelocitySpread = 100000
4924
eff.RotSpeed = NumberRange.new(-500,500)
4925
coroutine.resume(coroutine.create(function()
4926
	wait(0.6)
4927
	eff.Enabled = false
4928
end))
4929
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
4930
CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
4931
sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
4932
sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4933
sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
4934
game:GetService("Debris"):AddItem(orb, 15)
4935
end))
4936
end))
4937
for i = 0, 1, 0.1 do
4938
swait()
4939
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)
4940
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)
4941
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)
4942
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
4943
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
4944
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)
4945
end
4946
hum.WalkSpeed = storehumanoidWS
4947
attack = false
4948
end
4949
4950
4951
function ChaosGroundStrike()
4952
attack = true
4953
for i = 0, 2, 0.1 do
4954
swait()
4955
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)
4956
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)
4957
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4958
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4959
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
4960
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
4961
end
4962
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
4963
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
4964
CameraEnshaking(100,100)
4965
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
4966
if v:FindFirstChild('Head') then
4967
dmg(v)
4968
end
4969
end
4970
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
4971
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
4972
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
4973
for i = 0, 2, 0.1 do
4974
swait()
4975
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)
4976
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)
4977
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)
4978
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)
4979
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4980
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4981
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
4982
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
4983
end
4984
attack = false
4985
end
4986
4987
4988
4989
function Starfall()
4990
attack = true
4991
hum.WalkSpeed = 0
4992
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
4993
for i = 0, 5, 0.1 do
4994
swait()
4995
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)
4996
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)
4997
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)
4998
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)
4999
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)
5000
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
5001
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)
5002
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)
5003
end
5004
local Overed = false
5005
CameraEnshaking(2,20)
5006
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5007
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5008
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
5009
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
5010
local orb = Instance.new("Part", char)
5011
        orb.Anchored = true
5012
        orb.BrickColor = BrickColor.new("Toothpaste")
5013
        orb.CanCollide = false
5014
        orb.FormFactor = 3
5015
        orb.Name = "Remenant"
5016
        orb.Material = "Neon"
5017
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
5018
        orb.Size = Vector3.new(1, 1, 1)
5019
        orb.Transparency = 1
5020
        orb.TopSurface = 0
5021
        orb.BottomSurface = 0
5022
hum.WalkSpeed = storehumanoidWS
5023
coroutine.resume(coroutine.create(function()
5024
for i = 0, 9 do
5025
swait(10)
5026
				 local lb = Instance.new("Part")
5027
    lb.Color = MAINRUINCOLOR.Color
5028
     lb.CanCollide = false
5029
lb.Material = "Neon"
5030
     lb.Anchored = true
5031
lb.TopSurface = 0
5032
        lb.BottomSurface = 0
5033
     lb.Transparency = 0
5034
     lb.Size = vt(1,1,1)
5035
     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)))
5036
lb.Anchored = false
5037
  lb.Parent = char
5038
local thingery = Instance.new("SpecialMesh",lb)
5039
     thingery.MeshType = "Sphere"
5040
thingery.Scale = vt(20,20,20)
5041
game:GetService("Debris"):AddItem(lb, 10)
5042
  local bv = Instance.new("BodyVelocity")
5043
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5044
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
5045
  bv.Parent = lb
5046
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
5047
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
5048
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
5049
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
5050
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
5051
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
5052
local hitted = false
5053
coroutine.resume(coroutine.create(function()
5054
while true do
5055
swait(1)
5056
if lb.Parent ~= nil and hitted == false then
5057
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)
5058
elseif lb.Parent == nil then
5059
break
5060
end
5061
end
5062
end))
5063
5064
game:GetService("Debris"):AddItem(a, 0.1)
5065
5066
coroutine.resume(coroutine.create(function()
5067
swait(1)
5068
lb.Touched:connect(function(hit)
5069
if hitted == false then
5070
hitted = true
5071
lb.Transparency = 1
5072
lb.Anchored = true
5073
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
5074
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
5075
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
5076
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
5077
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
5078
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
5079
MagniDamage(lb, 45, 45,85, 0, "Normal")
5080
CameraEnshaking(1,5)
5081
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
5082
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
5083
for i = 0, 9 do
5084
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)
5085
end
5086
for i = 0, 49 do
5087
swait()
5088
MagniDamage(lb, 30, 2,4, 0, "Normal")
5089
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)
5090
end
5091
end
5092
end)
5093
end))
5094
end
5095
Overed = true
5096
orb:Destroy()
5097
end))
5098
5099
attack = false
5100
end
5101
5102
function StarfallEX()
5103
attack = true
5104
hum.WalkSpeed = 0
5105
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
5106
for i = 0, 10, 0.1 do
5107
swait()
5108
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)
5109
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)
5110
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)
5111
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)
5112
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)
5113
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
5114
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)
5115
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)
5116
end
5117
local Overed = false
5118
CameraEnshaking(2,20)
5119
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5120
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5121
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
5122
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
5123
local orb = Instance.new("Part", char)
5124
        orb.Anchored = true
5125
        orb.BrickColor = BrickColor.new("Toothpaste")
5126
        orb.CanCollide = false
5127
        orb.FormFactor = 3
5128
        orb.Name = "Remenant"
5129
        orb.Material = "Neon"
5130
orb.CFrame = root.CFrame*CFrame.new(0,250,0)
5131
        orb.Size = Vector3.new(1, 1, 1)
5132
        orb.Transparency = 1
5133
        orb.TopSurface = 0
5134
        orb.BottomSurface = 0
5135
hum.WalkSpeed = storehumanoidWS
5136
coroutine.resume(coroutine.create(function()
5137
for i = 0, 4 do
5138
swait(15)
5139
				 local lb = Instance.new("Part")
5140
    lb.Color = MAINRUINCOLOR.Color
5141
     lb.CanCollide = false
5142
lb.Material = "Neon"
5143
     lb.Anchored = true
5144
lb.TopSurface = 0
5145
        lb.BottomSurface = 0
5146
     lb.Transparency = 0
5147
     lb.Size = vt(1,1,1)
5148
     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)))
5149
lb.Anchored = false
5150
  lb.Parent = char
5151
local thingery = Instance.new("SpecialMesh",lb)
5152
     thingery.MeshType = "Sphere"
5153
thingery.Scale = vt(50,50,50)
5154
game:GetService("Debris"):AddItem(lb, 10)
5155
  local bv = Instance.new("BodyVelocity")
5156
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5157
  bv.velocity = lb.CFrame.lookVector*math.random(50,420)
5158
  bv.Parent = lb
5159
sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
5160
sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
5161
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
5162
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
5163
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
5164
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
5165
local hitted = false
5166
coroutine.resume(coroutine.create(function()
5167
while true do
5168
swait(1)
5169
if lb.Parent ~= nil and hitted == false then
5170
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)
5171
elseif lb.Parent == nil then
5172
break
5173
end
5174
end
5175
end))
5176
5177
game:GetService("Debris"):AddItem(a, 0.1)
5178
5179
coroutine.resume(coroutine.create(function()
5180
swait(1)
5181
lb.Touched:connect(function(hit)
5182
if hitted == false then
5183
hitted = true
5184
lb.Transparency = 1
5185
lb.Anchored = true
5186
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
5187
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
5188
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
5189
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
5190
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
5191
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
5192
MagniDamage(lb, 50, 60,99, 0, "Normal")
5193
CameraEnshaking(1,5)
5194
sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
5195
sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
5196
for i = 0, 9 do
5197
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)
5198
end
5199
for i = 0, 99 do
5200
swait()
5201
MagniDamage(lb, 30, 6,18, 0, "Normal")
5202
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)
5203
end
5204
end
5205
end)
5206
end))
5207
end
5208
Overed = true
5209
orb:Destroy()
5210
end))
5211
5212
attack = false
5213
end
5214
5215
function DivineBlast()
5216
attack = true
5217
hum.WalkSpeed = 0
5218
local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
5219
elocacenter.Anchored = true
5220
elocacenter.CFrame = sorb.CFrame
5221
local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5222
eloca1.Anchored = true
5223
eloca1.CFrame = elocacenter.CFrame
5224
local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5225
eloca2.Anchored = true
5226
eloca2.CFrame = elocacenter.CFrame
5227
local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5228
eloca3.Anchored = true
5229
eloca3.CFrame = elocacenter.CFrame
5230
local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5231
eloca4.Anchored = true
5232
eloca4.CFrame = elocacenter.CFrame
5233
local lookavec = 0 
5234
local speeds = 0
5235
CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
5236
for i = 0, 3, 0.1 do
5237
swait()
5238
---
5239
lookavec = lookavec + 0.1
5240
speeds = speeds + 10
5241
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5242
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5243
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)
5244
5245
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5246
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)
5247
5248
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5249
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)
5250
5251
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5252
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)
5253
---
5254
root.CFrame = FaceMouse()[1]
5255
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)
5256
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)
5257
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)
5258
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)
5259
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5260
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)
5261
end
5262
for i = 0, 3, 0.1 do
5263
swait()
5264
---
5265
speeds = speeds + 10
5266
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5267
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5268
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)
5269
5270
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5271
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)
5272
5273
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5274
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)
5275
5276
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5277
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)
5278
---
5279
root.CFrame = FaceMouse()[1]
5280
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)
5281
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)
5282
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)
5283
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)
5284
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5285
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)
5286
end
5287
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
5288
for i = 0, 3, 0.1 do
5289
swait()
5290
---
5291
speeds = speeds + 10
5292
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5293
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5294
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)
5295
5296
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5297
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)
5298
5299
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5300
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)
5301
5302
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5303
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)
5304
---
5305
root.CFrame = FaceMouse()[1]
5306
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)
5307
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)
5308
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)
5309
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)
5310
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
5311
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)
5312
end
5313
coroutine.resume(coroutine.create(function()
5314
local a = Instance.new("Part",Character)
5315
	a.Name = "Direction"	
5316
	a.Anchored = true
5317
	a.BrickColor = bc("White")
5318
a.Material = "Neon"
5319
a.Transparency = 0
5320
a.Shape = "Cylinder"
5321
	a.CanCollide = false
5322
local a2 = Instance.new("Part",Character)
5323
	a2.Name = "Direction"	
5324
	a2.Anchored = true
5325
	a2.BrickColor = bc("Bright yellow")
5326
a2.Material = "Neon"
5327
a2.Transparency = 0
5328
a2.Shape = "Cylinder"
5329
	a2.CanCollide = false
5330
local b = Instance.new("Part",Character)
5331
	b.Name = "HitDirect"	
5332
	b.Anchored = true
5333
	b.BrickColor = bc("Cool yellow")
5334
b.Material = "Neon"
5335
b.Transparency = 1
5336
	b.CanCollide = false
5337
	local ray = Ray.new(
5338
	    elocacenter.CFrame.p,                           -- origin
5339
	    (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
5340
	) 
5341
	local ignore = Character
5342
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5343
	a.BottomSurface = 10
5344
	a.TopSurface = 10
5345
	a2.BottomSurface = 10
5346
	a2.TopSurface = 10
5347
	local distance = (elocacenter.CFrame.p - position).magnitude
5348
	a.Size = Vector3.new(distance, 1, 1)
5349
	a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5350
	a2.Size = Vector3.new(distance, 1, 1)
5351
	a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5352
b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
5353
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5354
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
5355
game:GetService("Debris"):AddItem(a, 10)
5356
game:GetService("Debris"):AddItem(a2, 10)
5357
game:GetService("Debris"):AddItem(b, 10)
5358
local msh = Instance.new("SpecialMesh",a)
5359
msh.MeshType = "Cylinder"
5360
msh.Scale = vt(1,2,2)
5361
local msh2 = Instance.new("SpecialMesh",a2)
5362
msh2.MeshType = "Cylinder"
5363
msh2.Scale = vt(1,2.5,2.5)
5364
CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
5365
coroutine.resume(coroutine.create(function()
5366
for i = 0,10,0.1 do
5367
swait()
5368
msh.Scale = msh.Scale + vt(0,0.05,0.05)
5369
a.Transparency = a.Transparency + 0.025
5370
msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
5371
a2.Transparency = a2.Transparency + 0.05
5372
end
5373
a:Destroy()
5374
a2:Destroy()
5375
end))
5376
CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
5377
CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
5378
CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
5379
CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
5380
CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
5381
CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
5382
MagniDamage(b, 25, 40,65, 0, "Normal")
5383
for i = 0, 49 do
5384
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)
5385
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)
5386
end
5387
sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
5388
sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
5389
sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5390
sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5391
sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5392
sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5393
end))
5394
game:GetService("Debris"):AddItem(elocacenter, 5)
5395
hum.WalkSpeed = storehumanoidWS
5396
attack = false
5397
end
5398
5399
function StarDivision()
5400
attack = true
5401
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
5402
for i = 0, 2, 0.1 do
5403
swait()
5404
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)
5405
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)
5406
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)
5407
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)
5408
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
5409
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)
5410
end
5411
local orb = Instance.new("Part", char)
5412
        orb.BrickColor = MAINRUINCOLOR
5413
        orb.CanCollide = false
5414
        orb.FormFactor = 3
5415
        orb.Name = "Ring"
5416
        orb.Material = "Neon"
5417
        orb.Size = Vector3.new(1, 1, 1)
5418
        orb.Transparency = 0
5419
        orb.TopSurface = 0
5420
        orb.BottomSurface = 0
5421
        local orbm = Instance.new("SpecialMesh", orb)
5422
        orbm.MeshType = "Sphere"
5423
orbm.Name = "SizeMesh"
5424
orbm.Scale = vt(2,2,2)
5425
local a = Instance.new("Part",workspace)
5426
	a.Name = "Direction"	
5427
	a.Anchored = true
5428
	a.BrickColor = bc("Bright red")
5429
a.Material = "Neon"
5430
a.Transparency = 1
5431
	a.CanCollide = false
5432
	local ray = Ray.new(
5433
	    sorb.CFrame.p,                           -- origin
5434
	    (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
5435
	) 
5436
	local ignore = sorb
5437
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5438
	a.BottomSurface = 10
5439
	a.TopSurface = 10
5440
	local distance = (sorb.CFrame.p - position).magnitude
5441
	a.Size = Vector3.new(0.1, 0.1, 0.1)
5442
	a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
5443
orb.CFrame = a.CFrame
5444
a:Destroy()
5445
local bv = Instance.new("BodyVelocity")
5446
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5447
bv.velocity = orb.CFrame.lookVector*100
5448
bv.Parent = orb
5449
local hitted = false
5450
game:GetService("Debris"):AddItem(orb, 10)
5451
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
5452
CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
5453
CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
5454
CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
5455
CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
5456
coroutine.resume(coroutine.create(function()
5457
while true do
5458
swait(1)
5459
if orb.Parent ~= nil and hitted == false then
5460
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)
5461
elseif orb.Parent == nil then
5462
break
5463
end
5464
end
5465
end))
5466
coroutine.resume(coroutine.create(function()
5467
swait(1)
5468
orb.Touched:connect(function(hit)
5469
if hitted == false then
5470
hitted = true
5471
game:GetService("Debris"):AddItem(orb, 5)
5472
orb.Transparency = 1
5473
orb.Anchored = true
5474
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5475
elocacenter.Anchored = true
5476
elocacenter.CFrame = orb.CFrame
5477
elocacenter.Orientation = vt(0,0,0)
5478
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5479
eloca1.Anchored = true
5480
eloca1.CFrame = elocacenter.CFrame
5481
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5482
eloca2.Anchored = true
5483
eloca2.CFrame = elocacenter.CFrame
5484
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5485
eloca3.Anchored = true
5486
eloca3.CFrame = elocacenter.CFrame
5487
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5488
eloca4.Anchored = true
5489
eloca4.CFrame = elocacenter.CFrame
5490
local lookavec = 0 
5491
local speeds = 0
5492
CameraEnshaking(1,1)
5493
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
5494
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5495
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5496
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5497
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5498
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5499
for i = 0, 99 do
5500
swait()
5501
lookavec = lookavec + 1
5502
speeds = speeds + 0.1
5503
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5504
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5505
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)
5506
5507
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5508
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)
5509
5510
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5511
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)
5512
5513
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5514
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)
5515
end
5516
5517
for i = 0, 149 do
5518
swait()
5519
speeds = speeds + 0.1
5520
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5521
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5522
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)
5523
5524
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5525
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)
5526
5527
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5528
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)
5529
5530
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5531
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)
5532
end
5533
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
5534
if v:FindFirstChild('Head') then
5535
dmg(v)
5536
end
5537
end
5538
CameraEnshaking(7,30)
5539
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
5540
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
5541
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
5542
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
5543
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
5544
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
5545
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
5546
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5547
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5548
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5549
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5550
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5551
for i = 0, 24 do
5552
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)
5553
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)
5554
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)
5555
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)
5556
end
5557
coroutine.resume(coroutine.create(function()
5558
for i = 0, 499 do
5559
swait(1)
5560
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
5561
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)
5562
end
5563
elocacenter:Destroy()
5564
eloca1:Destroy()
5565
eloca2:Destroy()
5566
eloca3:Destroy()
5567
eloca4:Destroy()
5568
end))
5569
end
5570
end)
5571
end))
5572
attack = false
5573
end
5574
5575
5576
function THE_TRUE_POWER_OF_VIOLENCE()
5577
attack = true
5578
hum.WalkSpeed = 0
5579
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
5580
for i = 0, 10, 0.1 do
5581
swait()
5582
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)
5583
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)
5584
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)
5585
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)
5586
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
5587
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5588
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)
5589
end
5590
local orb = Instance.new("Part", char)
5591
        orb.BrickColor = MAINRUINCOLOR
5592
        orb.CanCollide = false
5593
        orb.FormFactor = 3
5594
        orb.Name = "Ring"
5595
        orb.Material = "Neon"
5596
        orb.Size = Vector3.new(1, 1, 1)
5597
        orb.Transparency = 0
5598
        orb.TopSurface = 0
5599
        orb.BottomSurface = 0
5600
orb.CFrame = sorb.CFrame
5601
        local orbm = Instance.new("SpecialMesh", orb)
5602
        orbm.MeshType = "Sphere"
5603
orbm.Name = "SizeMesh"
5604
orbm.Scale = vt(0,0,0)
5605
        local sbs = Instance.new("BodyPosition", orb)
5606
        sbs.P = 3000
5607
        sbs.D = 1000
5608
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5609
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
5610
CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
5611
sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5612
sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5613
sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5614
sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5615
sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5616
for i = 0, 10, 0.1 do
5617
swait()
5618
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)
5619
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)
5620
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)
5621
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)
5622
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5623
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5624
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)
5625
end
5626
orb.Anchored = true
5627
local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5628
elocacenter.Anchored = true
5629
elocacenter.CFrame = orb.CFrame
5630
elocacenter.Orientation = vt(0,0,0)
5631
local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5632
eloca1.Anchored = true
5633
eloca1.CFrame = elocacenter.CFrame
5634
local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5635
eloca2.Anchored = true
5636
eloca2.CFrame = elocacenter.CFrame
5637
local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5638
eloca3.Anchored = true
5639
eloca3.CFrame = elocacenter.CFrame
5640
local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5641
eloca4.Anchored = true
5642
eloca4.CFrame = elocacenter.CFrame
5643
local lookavec = 0 
5644
local speeds = 0
5645
CameraEnshaking(1,1)
5646
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
5647
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
5648
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
5649
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
5650
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5651
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5652
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5653
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5654
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5655
for i = 0, 99 do
5656
swait()
5657
lookavec = lookavec + 2.5
5658
speeds = speeds + 0.25
5659
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5660
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5661
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)
5662
5663
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5664
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)
5665
5666
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5667
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)
5668
5669
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5670
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)
5671
end
5672
5673
for i = 0, 149 do
5674
swait()
5675
speeds = speeds + 0.25
5676
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5677
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5678
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)
5679
5680
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5681
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)
5682
5683
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5684
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)
5685
5686
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5687
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)
5688
end
5689
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
5690
for i = 0, 99 do
5691
swait()
5692
lookavec = lookavec - 2.5
5693
speeds = speeds + 0.25
5694
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5695
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5696
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)
5697
5698
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5699
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)
5700
5701
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5702
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)
5703
5704
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5705
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)
5706
end
5707
local scaled = 0.1*75
5708
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
5709
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
5710
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
5711
CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
5712
CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
5713
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
5714
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5715
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5716
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5717
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5718
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5719
for i = 0, 10, 0.1 do
5720
swait()
5721
scaled = scaled - 0.001*75
5722
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
5723
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)
5724
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)
5725
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)
5726
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)
5727
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5728
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5729
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)
5730
end
5731
for x = 0, 4 do
5732
for i = 0, 9 do
5733
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)
5734
end
5735
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
5736
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
5737
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5738
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5739
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5740
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5741
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5742
for i = 0, 5, 0.1 do
5743
swait()
5744
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)
5745
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)
5746
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)
5747
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)
5748
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)
5749
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
5750
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
5751
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
5752
end
5753
end
5754
local speedearn = 0
5755
CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
5756
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
5757
CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
5758
for i = 0, 30, 0.1 do
5759
swait()
5760
scaled = scaled - 0.001*75/10
5761
speedearn = speedearn + 0.5
5762
for i = 0, 4 do 
5763
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)
5764
end
5765
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)
5766
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
5767
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)
5768
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)
5769
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)
5770
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)
5771
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)
5772
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
5773
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
5774
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
5775
end
5776
orb.Transparency = 1
5777
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
5778
if v:FindFirstChild('Head') then
5779
dmg(v)
5780
end
5781
end
5782
CameraEnshaking(7,30)
5783
MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
5784
CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
5785
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
5786
CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
5787
CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
5788
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5789
CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
5790
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
5791
CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
5792
CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
5793
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
5794
CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
5795
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
5796
CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
5797
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5798
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5799
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5800
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5801
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5802
for i = 0, 99 do
5803
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)
5804
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)
5805
end
5806
for i = 0, 24 do
5807
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)
5808
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)
5809
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)
5810
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)
5811
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)
5812
end
5813
game:GetService("Debris"):AddItem(orb, 10)
5814
hum.WalkSpeed = storehumanoidWS
5815
attack = false
5816
end
5817
5818
5819
function ViolentRing()
5820
attack = true
5821
CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
5822
for i = 0, 2, 0.1 do
5823
swait()
5824
local snap = math.random(1,10)
5825
if snap == 1 then
5826
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)
5827
end
5828
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)
5829
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)
5830
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)
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(50)),.6)
5834
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
5835
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
5836
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)
5837
RootPart.CFrame = FaceMouse()[1]
5838
end
5839
local orb = Instance.new("Part", char)
5840
        orb.BrickColor = MAINRUINCOLOR
5841
        orb.CanCollide = false
5842
        orb.FormFactor = 3
5843
        orb.Name = "Ring"
5844
        orb.Material = "Neon"
5845
        orb.Size = Vector3.new(1, 1, 1)
5846
        orb.Transparency = 0
5847
        orb.TopSurface = 0
5848
        orb.BottomSurface = 0
5849
        local orbm = Instance.new("SpecialMesh", orb)
5850
        orbm.MeshType = "Sphere"
5851
orbm.Name = "SizeMesh"
5852
orbm.Scale = vt(2,2,2)
5853
orb.CFrame = mouse.Hit
5854
local bv = Instance.new("BodyVelocity")
5855
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5856
bv.velocity = orb.CFrame.lookVector*100
5857
bv.Parent = orb
5858
local hitted = false
5859
coroutine.resume(coroutine.create(function()
5860
game:GetService("Debris"):AddItem(orb, 5)
5861
orb.Transparency = 1
5862
orb.Anchored = true
5863
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5864
elocacenter.Anchored = true
5865
elocacenter.CFrame = orb.CFrame
5866
elocacenter.Orientation = vt(0,0,0)
5867
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5868
eloca1.Anchored = true
5869
eloca1.CFrame = elocacenter.CFrame
5870
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5871
eloca2.Anchored = true
5872
eloca2.CFrame = elocacenter.CFrame
5873
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5874
eloca3.Anchored = true
5875
eloca3.CFrame = elocacenter.CFrame
5876
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5877
eloca4.Anchored = true
5878
eloca4.CFrame = elocacenter.CFrame
5879
local lookavec = 0 
5880
local speeds = 0
5881
CameraEnshaking(1,1)
5882
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
5883
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5884
sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5885
sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5886
sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5887
sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5888
for i = 0, 24 do
5889
swait()
5890
lookavec = lookavec + 3.5
5891
speeds = speeds + 1
5892
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5893
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5894
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)
5895
5896
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5897
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)
5898
5899
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5900
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)
5901
5902
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5903
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)
5904
end
5905
5906
local risen = 0
5907
for i = 0, 49 do
5908
swait()
5909
risen = risen + 0.05
5910
speeds = speeds + 0.1
5911
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5912
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5913
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)
5914
5915
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5916
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)
5917
5918
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5919
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)
5920
5921
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5922
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)
5923
end
5924
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
5925
if v:FindFirstChild('Head') then
5926
dmg(v)
5927
end
5928
end
5929
CameraEnshaking(4,10)
5930
MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
5931
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
5932
CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
5933
CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
5934
CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
5935
CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
5936
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
5937
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
5938
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5939
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5940
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5941
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5942
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5943
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
5944
for i = 0, 24 do
5945
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)
5946
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)
5947
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)
5948
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)
5949
end
5950
coroutine.resume(coroutine.create(function()
5951
wait(10)
5952
elocacenter:Destroy()
5953
eloca1:Destroy()
5954
eloca2:Destroy()
5955
eloca3:Destroy()
5956
eloca4:Destroy()
5957
end))
5958
end))
5959
attack = false
5960
end
5961
5962
function UniversalCollapse()
5963
attack = true
5964
local speedearn = 0
5965
hum.WalkSpeed = 0
5966
        local sbs = Instance.new("BodyPosition", root)
5967
        sbs.P = 3000
5968
        sbs.D = 1000
5969
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5970
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
5971
CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
5972
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
5973
for i = 0, 110, 0.1 do
5974
swait()
5975
speedearn = speedearn + 0.1
5976
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)
5977
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)
5978
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)
5979
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)
5980
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)
5981
sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
5982
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)
5983
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)
5984
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)
5985
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
5986
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)
5987
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)
5988
end
5989
CameraEnshaking(5,50)
5990
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
5991
for i = 0, 2 do 
5992
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
5993
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5994
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
5995
CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
5996
end
5997
for i = 0, 49 do
5998
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)
5999
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)
6000
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)
6001
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)
6002
end
6003
sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6004
sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6005
sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6006
sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6007
sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6008
sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6009
sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6010
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6011
sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6012
sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6013
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6014
sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6015
for i = 0, 99 do
6016
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)
6017
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)
6018
end
6019
for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
6020
if v:FindFirstChild('Head') then
6021
dmg(v)
6022
end
6023
end
6024
MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
6025
sbs:Destroy()
6026
hum.WalkSpeed = storehumanoidWS
6027
attack = false
6028
end
6029
6030
function th1rt3en_trans()
6031
    storehumanoidWS = 275
6032
    hum.WalkSpeed = 0
6033
    attack=true
6034
    newThemeCust("rbxassetid://723652641",0,1,1.25)
6035
   
6036
    repeat
6037
        swait()
6038
        local snap = math.random(1,10)
6039
        if snap == 1 then
6040
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
6041
        end
6042
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6043
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6044
        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)
6045
        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)
6046
        RW.C0=clerp(RW.C0,cf(1.5,.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)
6047
        LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
6048
 
6049
    until kan.TimePosition > 2.4
6050
    for i = 0, 5, .1 do
6051
        swait()
6052
        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)),.4)
6053
        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)),.4)
6054
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6055
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6056
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6057
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6058
        modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6059
        modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
6060
        fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6061
    end
6062
   
6063
    repeat
6064
        swait()
6065
        modet.Position = UDim2.new(0,0,0,0)
6066
        fullscreenz.Position = UDim2.new(0,0,0,0)
6067
        modet.Rotation = -5 * math.cos(sine / 32)
6068
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6069
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6070
        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)
6071
        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)
6072
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)
6073
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
6074
    until kan.TimePosition > 6.5
6075
    for i = 0, 5, .1 do
6076
        swait()
6077
        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)),.4)
6078
        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)),.4)
6079
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6080
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6081
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6082
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6083
        modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6084
        modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
6085
        fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6086
    end
6087
    bosschatfunc("Look at my hands..",MAINRUINCOLOR.Color,2)
6088
    for i = 0, 10, .1 do
6089
        modet.Position = UDim2.new(0,0,0,0)
6090
        modet.Rotation = -5 * math.cos(sine / 32)
6091
        fullscreenz.Position = UDim2.new(0,0,0,0)
6092
        swait()
6093
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6094
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6095
        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)
6096
        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)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
6097
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
6098
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
6099
    end
6100
    bosschatfunc("They're shaking..",MAINRUINCOLOR.Color,2)
6101
    for i = 0, 6, .1 do
6102
        swait()
6103
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6104
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6105
        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)
6106
        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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6107
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6108
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6109
    end
6110
    bosschatfunc("All my body is shaking..",MAINRUINCOLOR.Color,2)
6111
    for i = 0, 24, .1 do
6112
        swait()
6113
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6114
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6115
        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)
6116
        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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6117
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6118
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6119
    end
6120
    bosschatfunc("He was there!",MAINRUINCOLOR.Color,2)
6121
    for i = 0, 5, .1 do
6122
        swait()
6123
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-22 - 2 * math.cos(sine / 32))),.1)
6124
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-10 + 2 * math.cos(sine / 32))),.1)
6125
        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(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6126
        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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6127
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(0))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6128
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6129
    end
6130
    for i = 0, 6, .1 do
6131
        swait()
6132
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6133
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6134
        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)
6135
        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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6136
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6137
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6138
    end
6139
    bosschatfunc("But I was watching him, through the mirror..",MAINRUINCOLOR.Color,2)
6140
    for i = 0, 9, .1 do
6141
        swait()
6142
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6143
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6144
        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)
6145
        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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6146
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * 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)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6147
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6148
    end
6149
    bosschatfunc("I knew he was looking at me..",MAINRUINCOLOR.Color,2)
6150
    for i = 0, 11, .1 do
6151
        swait()
6152
        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)),.4)
6153
        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)),.4)
6154
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6155
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6156
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6157
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6158
    end
6159
    bosschatfunc("Two invisible eyes..",MAINRUINCOLOR.Color,2)
6160
    for i = 0, 10, .1 do
6161
        swait()
6162
        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)),.4)
6163
        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)),.4)
6164
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6165
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6166
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6167
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6168
    end
6169
    local inc = 0
6170
    bosschatfunc("Two invisible--",MAINRUINCOLOR.Color,2)
6171
    for i = 0, 6, .1 do
6172
        swait()
6173
        inc=inc+1
6174
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6175
        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(50)),.4)
6176
        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(-50)),.4)
6177
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4)
6178
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6179
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6180
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6181
    end
6182
    CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25)
6183
    for i = 0, 3, .1 do
6184
        swait()
6185
        inc=inc+1
6186
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6187
        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)),.4)
6188
        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)),.4)
6189
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6190
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(-20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6191
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6192
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4)
6193
    end
6194
    CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1)
6195
    for i = 0, 3, .1 do
6196
        swait()
6197
        inc=inc+1
6198
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6199
        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)),.4)
6200
        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)),.4)
6201
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6202
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6203
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4)
6204
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6205
    end
6206
    for i = 0, 6, .1 do
6207
        swait()
6208
        inc=inc+5
6209
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6210
        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)),.4)
6211
        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)),.4)
6212
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6213
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4)
6214
        RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
6215
        LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
6216
    end
6217
    fullscreenz.Position = UDim2.new(0,0,0,0)
6218
    attack=false
6219
    MAINRUINCOLOR = BrickColor.new("Really black")
6220
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6221
for i = 0, 49 do
6222
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)
6223
end
6224
for i = 0, 24 do
6225
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)
6226
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"))
6227
end
6228
for i = 0,3,0.1 do
6229
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)
6230
end
6231
currentVol=5
6232
    Humanoid.WalkSpeed = storehumanoidWS
6233
               ModeOfGlitch = 738
6234
rainbowmode = false
6235
chaosmode = false
6236
RecolorTextAndRename("INFINITE",Color3.new(0.1,.1,.1),BrickColor.new("Really black").Color,"Antique")
6237
6238
 MAINRUINCOLOR = BrickColor.new("Really black")
6239
warnedpeople("DEPTHS OF HELL!!!","Antique",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color)
6240
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.9,BrickColor.new("Dark stone grey"),0,BrickColor.new("Black"),true)
6241
end
6242
6243
function hugg()
6244
attack = true
6245
hum.WalkSpeed = 5
6246
local rsiz = math.random(5,15)
6247
for i = 0, 2, 0.1 do
6248
swait()
6249
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)
6250
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)
6251
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)
6252
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)
6253
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
6254
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
6255
end
6256
CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
6257
	local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6258
	hb.Anchored = true
6259
	hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6260
local huggedperson = nil
6261
local act = false
6262
local alreadydid = false
6263
for i = 0, 3, 0.1 do
6264
swait()
6265
if act == false then
6266
for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
6267
if v:FindFirstChild('Head') then
6268
if alreadydid == false then
6269
huggedperson = v
6270
hum.WalkSpeed = 0
6271
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6272
CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
6273
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
6274
CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
6275
local radm = math.random(1,3)
6276
if radm == 1 then
6277
bosschatfunc2("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
6278
elseif radm == 2 then
6279
bosschatfunc2("I..I'm interested in you..",MAINRUINCOLOR.Color,1)
6280
elseif radm == 3 then
6281
bosschatfunc2("Don't worry.. I'm with you..",MAINRUINCOLOR.Color,1)
6282
end
6283
root.Anchored = true
6284
coroutine.resume(coroutine.create(function()
6285
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
6286
huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
6287
end))
6288
chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
6289
alreadydid = true
6290
act = true
6291
print(huggedperson.Name)
6292
end
6293
end
6294
end
6295
hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6296
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)
6297
elseif act == true then
6298
coroutine.resume(coroutine.create(function()
6299
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6300
end))
6301
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)
6302
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6303
end
6304
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)
6305
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)
6306
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)
6307
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6308
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6309
end
6310
hb:Destroy()
6311
if act == true then
6312
for x = 0, 2 do
6313
for i = 0, 2, 0.1 do
6314
swait()
6315
coroutine.resume(coroutine.create(function()
6316
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6317
end))
6318
rsiz = math.random(5,15)
6319
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)
6320
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6321
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)
6322
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)
6323
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)
6324
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6325
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6326
end
6327
for i = 0, 2, 0.1 do
6328
swait()
6329
coroutine.resume(coroutine.create(function()
6330
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6331
end))
6332
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)
6333
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6334
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)
6335
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)
6336
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)
6337
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6338
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6339
end
6340
end
6341
end
6342
hum.WalkSpeed = storehumanoidWS
6343
root.Anchored = false
6344
if act == true then
6345
coroutine.resume(coroutine.create(function()
6346
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
6347
huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
6348
end))
6349
end
6350
hum.WalkSpeed = storehumanoidWS
6351
attack = false
6352
end
6353
6354
function lovesqueal()
6355
attack = true
6356
hum.WalkSpeed = 0
6357
CFuncs["Sound"].Create("rbxassetid://2500548008", root, 1, 1)
6358
local blush = Instance.new("Decal",hed)
6359
blush.Texture = "rbxassetid://898404027"
6360
blush.Face = "Front"
6361
for i = 0, 11, 0.1 do
6362
	swait()
6363
	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)
6364
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)
6365
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)
6366
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)
6367
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)
6368
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)
6369
end
6370
for x = 0, 1 do
6371
for i = 0, 1, 0.2 do
6372
	swait()
6373
	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)
6374
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)
6375
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)
6376
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)
6377
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)
6378
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)
6379
end
6380
for i = 0, 1, 0.2 do
6381
	swait()
6382
	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)
6383
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)
6384
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)
6385
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)
6386
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)
6387
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)
6388
end
6389
end
6390
coroutine.resume(coroutine.create(function()
6391
for i = 0, 49 do
6392
swait()
6393
blush.Transparency = blush.Transparency + 0.02
6394
end
6395
blush:Destroy()
6396
end))
6397
attack = false
6398
hum.WalkSpeed = storehumanoidWS	
6399
end
6400
6401
function cutesigh()
6402
attack = true
6403
hum.WalkSpeed = 0
6404
hum.JumpPower = 0
6405
bosschatfunc2("sigh~~",MAINRUINCOLOR.Color,1)
6406
local blush = Instance.new("Decal",hed)
6407
blush.Texture = "rbxassetid://898404027"
6408
blush.Face = "Front"
6409
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6410
for i = 0, 9, 0.1 do
6411
swait()
6412
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)
6413
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)
6414
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)
6415
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)
6416
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)
6417
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)
6418
end
6419
coroutine.resume(coroutine.create(function()
6420
for i = 0, 49 do
6421
swait()
6422
blush.Transparency = blush.Transparency + 0.02
6423
end
6424
blush:Destroy()
6425
end))
6426
hum.WalkSpeed = storehumanoidWS
6427
hum.JumpPower = 50
6428
attack = false
6429
end
6430
6431
6432
6433
function ChaosEND()
6434
attack = true
6435
local speedearn = 0
6436
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
6437
for i = 0, 15, 0.1 do
6438
swait()
6439
speedearn = speedearn + 0.25
6440
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)
6441
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)
6442
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)
6443
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)
6444
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)
6445
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)
6446
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)
6447
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
6448
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
6449
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
6450
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
6451
end
6452
CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
6453
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
6454
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
6455
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
6456
CameraEnshaking(5,25)
6457
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
6458
if v:FindFirstChild('Head') then
6459
dmg(v)
6460
end
6461
end
6462
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
6463
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
6464
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
6465
for i = 0, 3, 0.1 do
6466
swait()
6467
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)
6468
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)
6469
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)
6470
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)
6471
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)
6472
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)
6473
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
6474
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
6475
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
6476
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
6477
end
6478
attack = false
6479
end
6480
6481
function createBGCircle(size,parent,color)
6482
local bgui = Instance.new("BillboardGui",parent)
6483
bgui.Size = UDim2.new(size, 0, size, 0)
6484
local imgc = Instance.new("ImageLabel",bgui)
6485
imgc.BackgroundTransparency = 1
6486
imgc.ImageTransparency = 0
6487
imgc.Size = UDim2.new(1,0,1,0)
6488
imgc.Image = "rbxassetid://997291547" --997291547,521073910
6489
imgc.ImageColor3 = color
6490
return bgui,imgc
6491
end
6492
6493
6494
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
6495
local bgui,imgc = createBGCircle(size,guipar,color)
6496
bgui.AlwaysOnTop = true
6497
imgc.Image = "rbxassetid://" ..img
6498
local rrot = math.random(1,2)
6499
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
6500
coroutine.resume(coroutine.create(function()
6501
for i = 0, 24*delay do
6502
swait()
6503
if rotationenabled == true then
6504
if rrot == 1 then
6505
imgc.Rotation = imgc.Rotation + rotsp
6506
elseif rrot == 2 then
6507
imgc.Rotation = imgc.Rotation - rotsp
6508
end
6509
end
6510
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
6511
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
6512
end
6513
bgui:Destroy()
6514
end))
6515
end
6516
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
6517
for i, v in pairs(mw2:GetChildren()) do
6518
if v:IsA("Part") then
6519
v.BrickColor = one
6520
v.Material = "Neon"
6521
end
6522
end
6523
CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
6524
symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
6525
symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
6526
tr1.Color = ColorSequence.new(one.Color)
6527
tr2.Color = ColorSequence.new(one.Color)
6528
tr3.Color = ColorSequence.new(one.Color)
6529
for i, v in pairs(mw1:GetChildren()) do
6530
if v:IsA("Part") then
6531
if secondaryenabled == false then
6532
v.Transparency = 1
6533
elseif secondaryenabled == true then
6534
v.Transparency = 0
6535
end
6536
v.BrickColor = two
6537
v.Material = "Neon"
6538
end
6539
end
6540
if secondaryenabled == false then
6541
tl1.Enabled = false
6542
tl2.Enabled = false
6543
tl3.Enabled = false
6544
elseif secondaryenabled == true then
6545
tl1.Enabled = true
6546
tl2.Enabled = true
6547
tl3.Enabled = true
6548
end
6549
tl1.Color = ColorSequence.new(two.Color)
6550
tl2.Color = ColorSequence.new(two.Color)
6551
tl3.Color = ColorSequence.new(two.Color)
6552
for i, v in pairs(m:GetChildren()) do
6553
if v:IsA("Part") then
6554
v.BrickColor = three
6555
v.Material = "Ice"
6556
end
6557
end
6558
for i, v in pairs(m2:GetChildren()) do
6559
if v:IsA("Part") then
6560
v.BrickColor = four
6561
v.Material = "Ice"
6562
end
6563
end
6564
for i, v in pairs(m3:GetChildren()) do
6565
if v:IsA("Part") then
6566
v.BrickColor = five
6567
v.Material = "Neon"
6568
end
6569
end
6570
for i, v in pairs(extrawingmod1:GetChildren()) do
6571
if v:IsA("Part") then
6572
v.Transparency = exonetran
6573
v.BrickColor = exone
6574
v.Material = "Neon"
6575
end
6576
end
6577
for i, v in pairs(extrawingmod2:GetChildren()) do
6578
if v:IsA("Part") then
6579
v.Transparency = extwotran
6580
v.BrickColor = extwo
6581
v.Material = "Neon"
6582
end
6583
end
6584
end
6585
6586
6587
function normalmog()
6588
attack = true
6589
hum.WalkSpeed = 0
6590
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
6591
for i = 0,6,0.1 do
6592
swait()
6593
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)
6594
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)
6595
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)
6596
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)
6597
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
6598
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)
6599
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
6600
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
6601
end
6602
CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
6603
CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
6604
CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
6605
CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
6606
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
6607
CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
6608
CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
6609
rainbowmode = false
6610
chaosmode = false
6611
ModeOfGlitch = 1
6612
storehumanoidWS = 16
6613
newTheme("rbxassetid://614032233",48.6,1,1.25)
6614
RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
6615
CameraEnshaking(5,2.5)
6616
MAINRUINCOLOR = BrickColor.new("Really red")
6617
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6618
for i = 0, 49 do
6619
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)
6620
end
6621
for i = 0, 24 do
6622
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)
6623
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"))
6624
end
6625
for i = 0,3,0.1 do
6626
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)
6627
end
6628
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
6629
for i = 0,2,0.1 do
6630
swait()
6631
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)
6632
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)
6633
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
6634
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)
6635
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)
6636
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)
6637
end
6638
hum.WalkSpeed = storehumanoidWS
6639
attack = false
6640
end
6641
6642
function attackone()
6643
	attack = true
6644
	for i = 0,1,0.1 do
6645
		swait()
6646
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
6647
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
6648
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6649
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6650
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)
6651
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)
6652
	end
6653
	CFuncs["Sound"].Create("rbxassetid://1448033299", root, 1, 1)
6654
6655
local hitb = Instance.new("Part", char)
6656
        hitb.Anchored = true
6657
        hitb.CanCollide = false
6658
        hitb.FormFactor = 3
6659
        hitb.Name = "Ring"
6660
        hitb.Material = "Neon"
6661
        hitb.Size = Vector3.new(1, 1, 1)
6662
        hitb.Transparency = 1
6663
        hitb.TopSurface = 0
6664
        hitb.BottomSurface = 0
6665
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6666
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6667
hitb:Destroy()
6668
	for i = 0,1,0.1 do
6669
		swait()
6670
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
6671
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
6672
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
6673
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
6674
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)
6675
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)
6676
	end
6677
6678
	attack = false
6679
end
6680
6681
function attacktwo()
6682
	attack = true
6683
	for i = 0,1,0.1 do
6684
		swait()
6685
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
6686
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
6687
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
6688
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
6689
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)
6690
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)
6691
	end
6692
	CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
6693
local hitb = Instance.new("Part", char)
6694
        hitb.Anchored = true
6695
        hitb.CanCollide = false
6696
        hitb.FormFactor = 3
6697
        hitb.Name = "Ring"
6698
        hitb.Material = "Neon"
6699
        hitb.Size = Vector3.new(1, 1, 1)
6700
        hitb.Transparency = 1
6701
        hitb.TopSurface = 0
6702
        hitb.BottomSurface = 0
6703
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6704
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6705
hitb:Destroy()
6706
	for i = 0,1,0.1 do
6707
		swait()
6708
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
6709
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
6710
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
6711
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
6712
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)
6713
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)
6714
	end
6715
	attack = false
6716
end
6717
6718
function attackthree()
6719
	attack = true
6720
	for i = 0,1,0.1 do
6721
		swait()
6722
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
6723
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
6724
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6725
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6726
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)
6727
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)
6728
	end
6729
	CFuncs["Sound"].Create("rbxassetid://1690476035", root, 1, 1)
6730
6731
local hitb = Instance.new("Part", char)
6732
        hitb.Anchored = true
6733
        hitb.CanCollide = false
6734
        hitb.FormFactor = 3
6735
        hitb.Name = "Ring"
6736
        hitb.Material = "Neon"
6737
        hitb.Size = Vector3.new(1, 1, 1)
6738
        hitb.Transparency = 1
6739
        hitb.TopSurface = 0
6740
        hitb.BottomSurface = 0
6741
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6742
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6743
hitb:Destroy()
6744
	for i = 0,1,0.1 do
6745
		swait()
6746
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
6747
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
6748
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
6749
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
6750
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)
6751
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)
6752
	end
6753
	attack = false
6754
end
6755
----------------------------------- Abilities
6756
function ExtinctiveHeartbreak()
6757
local targetted = nil
6758
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
6759
targetted = mouse.Target.Parent
6760
end
6761
if targetted ~= nil then
6762
attack = true
6763
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
6764
for i = 0, 9 do
6765
--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)
6766
end
6767
for i = 0, 24 do
6768
--
6769
end
6770
--sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6771
local originalpos = root.CFrame
6772
RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
6773
for i = 0, 9 do
6774
--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)
6775
end
6776
for i = 0, 24 do
6777
end
6778
hum.WalkSpeed = 0
6779
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6780
local radm = math.random(1,3)
6781
if radm == 1 then
6782
bosschatfunc("👎□ ⍓□◆ ⧫♒♓■& ⍓□◆ ♍♋■ ♏⬧♍♋◻♏✍",MAINRUINCOLOR.Color,2)
6783
elseif radm == 2 then
6784
bosschatfunc("GOTCHA!",MAINRUINCOLOR.Color,2)
6785
elseif radm == 3 then
6786
bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
6787
end
6788
for i = 0,2,0.1 do
6789
swait()
6790
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)
6791
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)
6792
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)
6793
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
6794
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)
6795
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)
6796
end
6797
CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
6798
CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
6799
for i = 0,2,0.1 do
6800
swait()
6801
coroutine.resume(coroutine.create(function()
6802
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
6803
for i,v in pairs(targetted:GetChildren()) do
6804
if v:IsA("Part") or v:IsA("MeshPart") then
6805
v.Velocity = vt(0,0,0)
6806
end
6807
end
6808
end))
6809
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)
6810
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)
6811
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)
6812
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
6813
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)
6814
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)
6815
end
6816
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
6817
CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
6818
for i = 0, 1 do
6819
CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
6820
end
6821
CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
6822
chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
6823
for i = 0,4,0.1 do
6824
swait()
6825
coroutine.resume(coroutine.create(function()
6826
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6827
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)))
6828
local at1 = Instance.new("Attachment",dis)
6829
at1.Position = vt(-25000,0,0)
6830
local at2 = Instance.new("Attachment",dis)
6831
at2.Position = vt(25000,0,0)
6832
local trl = Instance.new('Trail',dis)
6833
trl.Attachment0 = at1
6834
trl.FaceCamera = true
6835
trl.Attachment1 = at2
6836
trl.Texture = "rbxassetid://1049219073"
6837
trl.LightEmission = 1
6838
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6839
trl.Color = ColorSequence.new(Color3.new(1,0,0))
6840
trl.Lifetime = 5
6841
local bv = Instance.new("BodyVelocity")
6842
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6843
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6844
bv.Parent = dis
6845
game:GetService("Debris"):AddItem(dis, 5)
6846
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
6847
CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
6848
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
6849
CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
6850
CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
6851
CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
6852
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)
6853
targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
6854
for i = 0, 2 do
6855
--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"))
6856
end
6857
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)
6858
for i,v in pairs(targetted:GetChildren()) do
6859
if v:IsA("Part") or v:IsA("MeshPart") then
6860
v.Velocity = vt(0,0,0)
6861
end
6862
end
6863
end))
6864
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
6865
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)
6866
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)
6867
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)
6868
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
6869
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)
6870
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)
6871
end
6872
hum.CameraOffset = vt(0,0,0)
6873
for i = 0, 49 do
6874
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6875
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)))
6876
local at1 = Instance.new("Attachment",dis)
6877
at1.Position = vt(-50000,0,0)
6878
local at2 = Instance.new("Attachment",dis)
6879
at2.Position = vt(50000,0,0)
6880
local trl = Instance.new('Trail',dis)
6881
trl.Attachment0 = at1
6882
trl.FaceCamera = true
6883
trl.Attachment1 = at2
6884
trl.Texture = "rbxassetid://1049219073"
6885
trl.LightEmission = 1
6886
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6887
trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
6888
trl.Lifetime = 5
6889
local bv = Instance.new("BodyVelocity")
6890
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6891
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6892
bv.Parent = dis
6893
game:GetService("Debris"):AddItem(dis, 5)
6894
end
6895
for i = 0, 49 do
6896
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)
6897
--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"))
6898
end
6899
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
6900
for i = 0, 1 do
6901
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
6902
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
6903
end
6904
for i = 0, 4 do
6905
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
6906
end
6907
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
6908
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
6909
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
6910
dmg(targetted)
6911
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
6912
for i = 0, 9 do
6913
--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)
6914
end
6915
for i = 0, 24 do
6916
end
6917
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6918
root.CFrame = originalpos
6919
for i = 0, 9 do
6920
--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)
6921
end
6922
for i = 0, 24 do
6923
end
6924
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6925
attack = false
6926
hum.WalkSpeed = storehumanoidWS
6927
end
6928
end
6929
6930
6931
function CorruptionEvent()
6932
attack = true
6933
hum.WalkSpeed = 0
6934
CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
6935
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
6936
local keptcolor = MAINRUINCOLOR
6937
for i = 0,4,0.1 do
6938
swait()
6939
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6940
block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6941
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)
6942
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)
6943
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
6944
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
6945
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
6946
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
6947
end
6948
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
6949
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
6950
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
6951
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
6952
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
6953
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
6954
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
6955
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
6956
hum.CameraOffset = vt(0,0,0)
6957
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6958
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6959
for i = 0, 24 do
6960
--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"))
6961
end
6962
local rrot = 0
6963
coroutine.resume(coroutine.create(function()
6964
for i = 0, 4 do
6965
rrot = rrot + 45
6966
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6967
xa.Anchored = true
6968
local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6969
xb.Anchored = true
6970
local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6971
xc.Anchored = true
6972
local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6973
xd.Anchored = true
6974
CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
6975
CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
6976
CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
6977
CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
6978
CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
6979
CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
6980
CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
6981
CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
6982
CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
6983
CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
6984
CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
6985
CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
6986
xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
6987
xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
6988
xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
6989
xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
6990
MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6991
MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6992
MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6993
MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6994
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6995
block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6996
block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6997
block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6998
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)
6999
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)
7000
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)
7001
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)
7002
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))
7003
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))
7004
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))
7005
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))
7006
game:GetService("Debris"):AddItem(xa, 5)
7007
game:GetService("Debris"):AddItem(xb, 5)
7008
game:GetService("Debris"):AddItem(xc, 5)
7009
game:GetService("Debris"):AddItem(xd, 5)
7010
coroutine.resume(coroutine.create(function()
7011
for i = 0, 19 do
7012
swait()
7013
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7014
end
7015
hum.CameraOffset = vt(0,0,0)
7016
end))
7017
swait(9)
7018
end
7019
end))
7020
for i = 0,2,0.1 do
7021
swait()
7022
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)
7023
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)
7024
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
7025
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
7026
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
7027
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7028
end
7029
attack = false
7030
hum.WalkSpeed = storehumanoidWS
7031
end
7032
7033
function EndGROUND()
7034
	attack = true
7035
hum.WalkSpeed = 0
7036
bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
7037
--CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
7038
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
7039
CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
7040
CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
7041
local keptcolor = MAINRUINCOLOR
7042
for i = 0,4,0.1 do
7043
swait()
7044
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7045
block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7046
--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"))
7047
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)
7048
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)
7049
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
7050
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
7051
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
7052
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
7053
end
7054
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
7055
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
7056
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
7057
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
7058
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
7059
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
7060
coroutine.resume(coroutine.create(function()
7061
	local shval = 10
7062
	for i = 0, 99 do
7063
		swait()
7064
		shval = shval - 0.1
7065
		hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
7066
	end
7067
	hum.CameraOffset = vt(0,0,0)
7068
end))
7069
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7070
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7071
for i = 0, 24 do
7072
--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"))
7073
end
7074
local rrot = 0
7075
local xam = 1
7076
coroutine.resume(coroutine.create(function()
7077
for i = 0, 14 do
7078
--swait()
7079
rrot = rrot + 40*xam
7080
xam = xam + 0.25
7081
local bonus = xam
7082
local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
7083
xa.Anchored = true
7084
xa.Color = Color3.new(0,0,0)
7085
xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
7086
CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
7087
local xc = 0
7088
coroutine.resume(coroutine.create(function()
7089
for i = 0, 99 do
7090
	swait()
7091
	xc = xc + 0.01
7092
	xa.Color = Color3.new(xc,0,0)
7093
end
7094
xa.Transparency = 1
7095
CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
7096
MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
7097
for i = 0, 9 do
7098
--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"))
7099
end
7100
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)
7101
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)
7102
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))
7103
game:GetService("Debris"):AddItem(xa, 5)
7104
coroutine.resume(coroutine.create(function()
7105
for i = 0, 19 do
7106
swait()
7107
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7108
end
7109
hum.CameraOffset = vt(0,0,0)
7110
end))
7111
end))
7112
end
7113
end))
7114
for i = 0,2,0.1 do
7115
swait()
7116
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)
7117
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)
7118
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
7119
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
7120
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
7121
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7122
end
7123
attack = false
7124
hum.WalkSpeed = storehumanoidWS
7125
end
7126
7127
function HeavenlyDisk()
7128
attack = true
7129
hum.WalkSpeed = 2
7130
local keptcolor = MAINRUINCOLOR
7131
local radm = math.random(1,3)
7132
if radm == 1 then
7133
bosschatfunc("DONT COME TO ME CLOSER!",MAINRUINCOLOR.Color,1)
7134
elseif radm == 2 then
7135
bosschatfunc("LEAVE ME ALONE!",MAINRUINCOLOR.Color,1)
7136
elseif radm == 3 then
7137
bosschatfunc("WHY YOU REDUSE?!",MAINRUINCOLOR.Color,1)
7138
end
7139
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
7140
CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
7141
for i = 0, 14 do
7142
--
7143
end
7144
for i = 0,2,0.1 do
7145
swait()
7146
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)
7147
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)
7148
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)
7149
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7150
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
7151
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
7152
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
7153
end
7154
CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
7155
for i = 0,1,0.6 do
7156
swait()
7157
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)
7158
--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"))
7159
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)
7160
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)
7161
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
7162
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7163
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7164
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7165
end
7166
for i = 0,1,0.6 do
7167
swait()
7168
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)
7169
--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"))
7170
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)
7171
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)
7172
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
7173
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7174
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7175
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7176
end
7177
for i = 0,1,0.6 do
7178
swait()
7179
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)
7180
--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"))
7181
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)
7182
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)
7183
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
7184
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7185
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7186
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7187
end
7188
for i = 0,1,0.6 do
7189
swait()
7190
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)
7191
--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"))
7192
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)
7193
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)
7194
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
7195
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7196
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7197
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7198
end
7199
local rot = 15
7200
for i = 0, 2 do
7201
local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Really black"))
7202
CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
7203
dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
7204
CreateMesh(dis,"Sphere",10,1,10)
7205
local at1 = Instance.new("Attachment",dis)
7206
at1.Position = vt(-5,0,0)
7207
local at2 = Instance.new("Attachment",dis)
7208
at2.Position = vt(5,0,0)
7209
local trl = Instance.new('Trail',wed)
7210
trl.Attachment0 = at1
7211
trl.Attachment1 = at2
7212
trl.Texture = "rbxassetid://1049219073"
7213
trl.LightEmission = 1
7214
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7215
trl.Color = ColorSequence.new(dis.Color)
7216
trl.Lifetime = 0.6
7217
local a = Instance.new("Part",workspace)
7218
	a.Name = "Direction"	
7219
	a.Anchored = true
7220
	a.BrickColor = bc("Bright red")
7221
a.Material = "Neon"
7222
a.Transparency = 1
7223
	a.CanCollide = false
7224
	local ray = Ray.new(
7225
	    dis.CFrame.p,                           -- origin
7226
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
7227
	) 
7228
	local ignore = dis
7229
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7230
	a.BottomSurface = 10
7231
	a.TopSurface = 10
7232
	local distance = (dis.CFrame.p - position).magnitude
7233
	a.Size = Vector3.new(0.1, 0.1, 0.1)
7234
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
7235
dis.CFrame = a.CFrame
7236
dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
7237
a:Destroy()
7238
local bv = Instance.new("BodyVelocity")
7239
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7240
bv.velocity = dis.CFrame.lookVector*250
7241
bv.Parent = dis
7242
game:GetService("Debris"):AddItem(dis, 5)
7243
local hitted = false
7244
coroutine.resume(coroutine.create(function()
7245
dis.Touched:connect(function(hit) 
7246
	if hitted == false and hit.Parent ~= char then
7247
	hitted = true
7248
	CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
7249
	MagniDamage(dis, 30, 82,34575, 0, "Normal")
7250
	--sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
7251
	--sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
7252
	--sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
7253
	coroutine.resume(coroutine.create(function()
7254
		for i = 0, 9 do
7255
local disr = CreateParta(char,1,1,"Neon",keptcolor)
7256
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
7257
local at1 = Instance.new("Attachment",disr)
7258
at1.Position = vt(-2,0,0)
7259
local at2 = Instance.new("Attachment",disr)
7260
at2.Position = vt(2,0,0)
7261
local trl = Instance.new('Trail',disr)
7262
trl.Attachment0 = at1
7263
trl.FaceCamera = true
7264
trl.Attachment1 = at2
7265
trl.Texture = "rbxassetid://2342682798"
7266
trl.LightEmission = 1
7267
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7268
trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
7269
trl.Lifetime = 0.5
7270
local bv = Instance.new("BodyVelocity")
7271
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7272
bv.velocity = disr.CFrame.lookVector*math.random(50,200)
7273
bv.Parent = disr
7274
local val = 0
7275
coroutine.resume(coroutine.create(function()
7276
	swait(30)
7277
	for i = 0, 9 do
7278
		swait()
7279
		val = val + 0.1
7280
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
7281
	end
7282
game:GetService("Debris"):AddItem(disr, 3)
7283
end))
7284
end
7285
local eff = Instance.new("ParticleEmitter",dis)
7286
eff.Texture = "rbxassetid://2273224484"
7287
eff.LightEmission = 1
7288
eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
7289
eff.Rate = 500000
7290
eff.Lifetime = NumberRange.new(0.5,2)
7291
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)})
7292
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)})
7293
eff.Speed = NumberRange.new(20,250)
7294
eff.Drag = 5
7295
eff.Rotation = NumberRange.new(-500,500)
7296
eff.VelocitySpread = 9000
7297
eff.RotSpeed = NumberRange.new(-50,50)
7298
wait(0.25)
7299
eff.Enabled = false
7300
end))
7301
	for i = 0, 9 do
7302
		--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"))
7303
	end
7304
for i = 0, 19 do
7305
--
7306
end
7307
coroutine.resume(coroutine.create(function()
7308
for i = 0, 19 do
7309
swait()
7310
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
7311
end
7312
hum.CameraOffset = vt(0,0,0)
7313
end))
7314
dis.Anchored = true
7315
dis.Transparency = 1
7316
wait(8)
7317
dis:Destroy()
7318
end
7319
end)
7320
end))
7321
rot = rot - 15
7322
end
7323
for i = 0,2,0.1 do
7324
swait()
7325
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)
7326
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)
7327
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
7328
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
7329
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
7330
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
7331
end
7332
attack = false
7333
hum.WalkSpeed = storehumanoidWS
7334
end
7335
7336
function RapidBurst()
7337
attack = true
7338
hum.WalkSpeed = 0
7339
CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
7340
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
7341
CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
7342
bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
7343
local keptcolor = MAINRUINCOLOR
7344
for i = 0,8,0.1 do
7345
swait()
7346
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7347
--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())
7348
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)
7349
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)
7350
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)
7351
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)
7352
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)
7353
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)
7354
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)
7355
end
7356
for i = 0, 99 do
7357
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7358
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)))
7359
local at1 = Instance.new("Attachment",dis)
7360
at1.Position = vt(-25000,0,0)
7361
local at2 = Instance.new("Attachment",dis)
7362
at2.Position = vt(25000,0,0)
7363
local trl = Instance.new('Trail',dis)
7364
trl.Attachment0 = at1
7365
trl.FaceCamera = true
7366
trl.Attachment1 = at2
7367
trl.Texture = "rbxassetid://1049219073"
7368
trl.LightEmission = 1
7369
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7370
trl.Color = ColorSequence.new(BrickColor.random().Color)
7371
trl.Lifetime = 5
7372
local bv = Instance.new("BodyVelocity")
7373
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7374
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
7375
bv.Parent = dis
7376
game:GetService("Debris"):AddItem(dis, 5)
7377
end
7378
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
7379
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
7380
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
7381
sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
7382
sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
7383
sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
7384
sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
7385
CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
7386
CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
7387
CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
7388
hum.CameraOffset = vt(0,0,0)
7389
for i = 0, 24 do
7390
--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())
7391
end
7392
local distam = 0
7393
coroutine.resume(coroutine.create(function()
7394
for i = 0, 99 do
7395
	wait()
7396
distam = distam + 1
7397
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7398
xa.Anchored = true
7399
xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
7400
game:GetService("Debris"):AddItem(xa, 5)
7401
for i = 0, 4 do
7402
--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())
7403
end
7404
coroutine.resume(coroutine.create(function()
7405
local eff = Instance.new("ParticleEmitter",xa)
7406
eff.Texture = "rbxassetid://2273224484"
7407
eff.LightEmission = 1
7408
eff.Color = ColorSequence.new(BrickColor.random().Color)
7409
eff.Rate = 500000
7410
eff.Lifetime = NumberRange.new(1,3)
7411
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)})
7412
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)})
7413
eff.Speed = NumberRange.new(50,500)
7414
eff.Drag = 5
7415
eff.Rotation = NumberRange.new(-500,500)
7416
eff.VelocitySpread = 9000
7417
eff.RotSpeed = NumberRange.new(-50,50)
7418
wait(0.25)
7419
eff.Enabled = false
7420
end))
7421
coroutine.resume(coroutine.create(function()
7422
for i = 0, 19 do
7423
swait()
7424
hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
7425
end
7426
hum.CameraOffset = vt(0,0,0)
7427
end))
7428
CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
7429
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
7430
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
7431
MagniDamage(xa, 60, 9999,99999, 0, "Normal")
7432
end
7433
end))
7434
attack = false
7435
hum.WalkSpeed = storehumanoidWS
7436
end
7437
7438
function FallenOrbs()
7439
attack = true
7440
hum.WalkSpeed = 2
7441
local keptcolor = MAINRUINCOLOR
7442
CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
7443
CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
7444
local radm = math.random(1,3)
7445
if radm == 1 then
7446
bosschatfunc("SWARM!",MAINRUINCOLOR.Color,1)
7447
elseif radm == 2 then
7448
bosschatfunc("Weakling!",MAINRUINCOLOR.Color,1)
7449
elseif radm == 3 then
7450
bosschatfunc("RAAAAAGGGGGGHHHHHH!!!!!",MAINRUINCOLOR.Color,1)
7451
end
7452
coroutine.resume(coroutine.create(function()
7453
for i = 0, 29 do
7454
swait(2)
7455
local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
7456
dis.Anchored = true
7457
CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
7458
dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
7459
CreateMesh(dis,"Sphere",2,2,2)
7460
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
7461
--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"))
7462
coroutine.resume(coroutine.create(function()
7463
wait(0.5)
7464
dis.Anchored = false
7465
CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
7466
local at1 = Instance.new("Attachment",dis)
7467
at1.Position = vt(-1,0,0)
7468
local at2 = Instance.new("Attachment",dis)
7469
at2.Position = vt(1,0,0)
7470
local trl = Instance.new('Trail',dis)
7471
trl.Attachment0 = at1
7472
trl.FaceCamera = true
7473
trl.Attachment1 = at2
7474
trl.Texture = "rbxassetid://1049219073"
7475
trl.LightEmission = 1
7476
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7477
trl.Color = ColorSequence.new(dis.Color)
7478
trl.Lifetime = 0.6
7479
local a = Instance.new("Part",workspace)
7480
	a.Name = "Direction"	
7481
	a.Anchored = true
7482
	a.BrickColor = bc("Bright red")
7483
a.Material = "Neon"
7484
a.Transparency = 1
7485
	a.CanCollide = false
7486
	local ray = Ray.new(
7487
	    dis.CFrame.p,                           -- origin
7488
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
7489
	) 
7490
	local ignore = dis
7491
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7492
	a.BottomSurface = 10
7493
	a.TopSurface = 10
7494
	local distance = (dis.CFrame.p - position).magnitude
7495
	a.Size = Vector3.new(0.1, 0.1, 0.1)
7496
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
7497
dis.CFrame = a.CFrame
7498
a:Destroy()
7499
local bv = Instance.new("BodyVelocity")
7500
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7501
bv.velocity = dis.CFrame.lookVector*500
7502
bv.Parent = dis
7503
game:GetService("Debris"):AddItem(dis, 5)
7504
local hitted = false
7505
coroutine.resume(coroutine.create(function()
7506
dis.Touched:connect(function(hit) 
7507
	if hitted == false and hit.Parent ~= char then
7508
	hitted = true
7509
	CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
7510
	MagniDamage(dis, 60, 25456,124672, 0, "Normal")
7511
	--sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
7512
	--sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
7513
	coroutine.resume(coroutine.create(function()
7514
for i = 0, 4 do
7515
local disr = CreateParta(char,1,1,"Neon",keptcolor)
7516
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
7517
local at1 = Instance.new("Attachment",disr)
7518
at1.Position = vt(-10,0,0)
7519
local at2 = Instance.new("Attachment",disr)
7520
at2.Position = vt(10,0,0)
7521
local trl = Instance.new('Trail',disr)
7522
trl.Attachment0 = at1
7523
trl.FaceCamera = true
7524
trl.Attachment1 = at2
7525
trl.Texture = "rbxassetid://2342682798"
7526
trl.LightEmission = 1
7527
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7528
trl.Color = ColorSequence.new(disr.Color)
7529
trl.Lifetime = 0.5
7530
local bv = Instance.new("BodyVelocity")
7531
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7532
bv.velocity = disr.CFrame.lookVector*math.random(125,250)
7533
bv.Parent = disr
7534
local val = 0
7535
coroutine.resume(coroutine.create(function()
7536
	swait(30)
7537
	for i = 0, 9 do
7538
		swait()
7539
		val = val + 0.1
7540
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
7541
	end
7542
game:GetService("Debris"):AddItem(disr, 3)
7543
end))
7544
end
7545
local eff = Instance.new("ParticleEmitter",dis)
7546
eff.Texture = "rbxassetid://2273224484"
7547
eff.LightEmission = 1
7548
eff.Color = ColorSequence.new(dis.Color)
7549
eff.Rate = 500000
7550
eff.Lifetime = NumberRange.new(0.5,2)
7551
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)})
7552
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)})
7553
eff.Speed = NumberRange.new(20,250)
7554
eff.Drag = 5
7555
eff.Rotation = NumberRange.new(-500,500)
7556
eff.VelocitySpread = 9000
7557
eff.RotSpeed = NumberRange.new(-50,50)
7558
wait(0.5)
7559
eff.Enabled = false
7560
end))
7561
	for i = 0, 4 do
7562
		--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"))
7563
	end
7564
coroutine.resume(coroutine.create(function()
7565
for i = 0, 19 do
7566
swait()
7567
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
7568
end
7569
hum.CameraOffset = vt(0,0,0)
7570
end))
7571
dis.Anchored = true
7572
dis.Transparency = 1
7573
wait(8)
7574
dis:Destroy()
7575
end
7576
end)
7577
end))
7578
end))
7579
end
7580
end))
7581
for i = 0,9,0.1 do
7582
swait()
7583
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)
7584
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)
7585
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)
7586
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)
7587
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)
7588
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)
7589
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)
7590
end
7591
attack = false
7592
hum.WalkSpeed = storehumanoidWS
7593
end
7594
7595
function EquinoxOrbs()
7596
hum.WalkSpeed = 0
7597
attack = true
7598
for i = 0,1,0.1 do
7599
swait()
7600
	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)
7601
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)
7602
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
7603
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
7604
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
7605
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
7606
end
7607
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
7608
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
7609
for i = 0, 24 do
7610
		--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"))
7611
end
7612
CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
7613
CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
7614
CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
7615
CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
7616
for i = 0,4,0.1 do
7617
swait()
7618
root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
7619
local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
7620
CreateMesh(dis,"Sphere",1,1,1)
7621
dis.Anchored = true
7622
dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
7623
local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
7624
CreateMesh(dis2,"Sphere",1,1,1)
7625
dis2.Anchored = true
7626
dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
7627
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
7628
--sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
7629
coroutine.resume(coroutine.create(function()
7630
	swait(60)
7631
	dis.Transparency = 1
7632
	dis2.Transparency = 1
7633
coroutine.resume(coroutine.create(function()
7634
for i = 0, 19 do
7635
swait()
7636
hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
7637
end
7638
hum.CameraOffset = vt(0,0,0)
7639
end))
7640
coroutine.resume(coroutine.create(function()
7641
local eff = Instance.new("ParticleEmitter",dis)
7642
eff.Texture = "rbxassetid://2273224484"
7643
eff.LightEmission = 1
7644
eff.Color = ColorSequence.new(dis.Color)
7645
eff.Rate = 500000
7646
eff.Lifetime = NumberRange.new(0.5,2)
7647
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)})
7648
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)})
7649
eff.Speed = NumberRange.new(50,450)
7650
eff.Drag = 5
7651
eff.Rotation = NumberRange.new(-500,500)
7652
eff.VelocitySpread = 9000
7653
eff.RotSpeed = NumberRange.new(-50,50)
7654
local eff2 = eff:Clone()
7655
eff2.Parent = dis2
7656
eff2.LightEmission = 0
7657
eff2.Color = ColorSequence.new(dis2.Color)
7658
wait(0.25)
7659
eff.Enabled = false
7660
eff2.Enabled = false
7661
end))
7662
MagniDamage(dis, 55, 89,219788936, 0, "Normal")
7663
MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
7664
	CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
7665
	CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
7666
	CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
7667
	CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
7668
	CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
7669
	CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
7670
	sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
7671
	sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
7672
end))
7673
game:GetService("Debris"):AddItem(dis, 5)
7674
game:GetService("Debris"):AddItem(dis2, 5)
7675
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)
7676
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)
7677
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
7678
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
7679
RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
7680
LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
7681
end
7682
attack = false
7683
hum.WalkSpeed = storehumanoidWS
7684
end
7685
function FallenDEMISE()
7686
attack = true
7687
hum.WalkSpeed = 0
7688
local keptcolor = MAINRUINCOLOR
7689
--bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!!!",MAINRUINCOLOR.Color,3)
7690
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
7691
CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
7692
for i = 0, 15, 0.1 do
7693
swait()
7694
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7695
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)))
7696
local at1 = Instance.new("Attachment",dis)
7697
at1.Position = vt(-25000,0,0)
7698
local at2 = Instance.new("Attachment",dis)
7699
at2.Position = vt(25000,0,0)
7700
local trl = Instance.new('Trail',dis)
7701
trl.Attachment0 = at1
7702
trl.FaceCamera = true
7703
trl.Attachment1 = at2
7704
trl.Texture = "rbxassetid://1049219073"
7705
trl.LightEmission = 1
7706
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7707
trl.Color = ColorSequence.new(dis.Color)
7708
trl.Lifetime = 5
7709
local bv = Instance.new("BodyVelocity")
7710
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7711
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
7712
bv.Parent = dis
7713
game:GetService("Debris"):AddItem(dis, 1)
7714
sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
7715
--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"))
7716
--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"))
7717
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)
7718
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)
7719
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
7720
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
7721
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
7722
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
7723
end
7724
CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
7725
for i = 0, 30, 0.1 do
7726
swait()
7727
coroutine.resume(coroutine.create(function()
7728
for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
7729
if v:FindFirstChild('Head') then
7730
dmg(v)
7731
end
7732
end
7733
end))
7734
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7735
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)))
7736
local at1 = Instance.new("Attachment",dis)
7737
at1.Position = vt(-50000,0,0)
7738
local at2 = Instance.new("Attachment",dis)
7739
at2.Position = vt(50000,0,0)
7740
local trl = Instance.new('Trail',dis)
7741
trl.Attachment0 = at1
7742
trl.FaceCamera = true
7743
trl.Attachment1 = at2
7744
trl.Texture = "rbxassetid://1049219073"
7745
trl.LightEmission = 1
7746
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7747
trl.Color = ColorSequence.new(dis.Color)
7748
trl.Lifetime = 10
7749
local bv = Instance.new("BodyVelocity")
7750
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7751
bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
7752
bv.Parent = dis
7753
game:GetService("Debris"):AddItem(dis, math.random(1,4))
7754
--sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
7755
--sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
7756
--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"))
7757
--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"))
7758
--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"))
7759
--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"))
7760
for i = 0, 2 do
7761
--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)
7762
end
7763
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)
7764
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)
7765
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
7766
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
7767
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
7768
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
7769
end
7770
attack = false
7771
hum.WalkSpeed = storehumanoidWS
7772
end
7773
-------------------------------------
7774
7775
Humanoid.Animator.Parent = nil
7776
7777
-------------------------------------
7778
7779
local attacktype = 1
7780
mouse.Button1Down:connect(function()
7781
  if attack == false and attacktype == 1 then
7782
    attacktype = 2
7783
    attackone()
7784
  elseif attack == false and attacktype == 2 then
7785
    attacktype = 3
7786
    attacktwo()
7787
  elseif attack == false and attacktype == 3 then
7788
    attacktype = 1
7789
    attackthree()
7790
  elseif attack == false and attacktype == 4 then
7791
    attacktype = 1
7792
    --attackfour()
7793
  end
7794
end)
7795
mouse.KeyDown:connect(function(k)
7796
if k == "q" and attack == false and ModeOfGlitch ~= 1 then
7797
--normalmog() ---Disabled due to crashing... only in VSB
7798
ModeOfGlitch = 1
7799
storehumanoidWS = 16
7800
hum.WalkSpeed = 16
7801
rainbowmode = false
7802
chaosmode = false
7803
newTheme("rbxassetid://614032233",0,1,1)
7804
RecolorTextAndRename("MAYHEM V",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
7805
MAINRUINCOLOR = BrickColor.new("Really red")
7806
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
7807
end
7808
if k == "e" and attack == false and ModeOfGlitch ~= 2 then
7809
ModeOfGlitch = 2
7810
storehumanoidWS = 16
7811
hum.WalkSpeed = 16
7812
rainbowmode = false
7813
chaosmode = false
7814
RecolorTextAndRename("Purity V",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
7815
newTheme("rbxassetid://1539245059",0,1,1.25)
7816
MAINRUINCOLOR = BrickColor.new("Toothpaste")
7817
disably = false
7818
warnedpeople("☻","SourceSansBold",BrickColor.new("Black").Color,BrickColor.new("Toothpaste").Color)
7819
disably = true
7820
RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Toothpaste"),0,BrickColor.new("Toothpaste"),true,true)
7821
end
7822
if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 11111 then
7823
                 ModeOfGlitch = 11111
7824
storehumanoidWS = 50
7825
hum.WalkSpeed = 50
7826
rainbowmode = false
7827
chaosmode = false
7828
RecolorTextAndRename("CRYSTAL",Color3.new(1,1,1),BrickColor.new("Pastel light blue").Color,"Code")
7829
newTheme("rbxassetid://1861780345",0,1,1)
7830
MAINRUINCOLOR = BrickColor.new("Pastel light blue")
7831
RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
7832
end
7833
if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 242424 then
7834
                 ModeOfGlitch = 242424
7835
storehumanoidWS = 16
7836
hum.WalkSpeed = 16
7837
rainbowmode = false
7838
chaosmode = false
7839
RecolorTextAndRename("CLARITY V",Color3.new(0,0,0.65),Color3.new(0,0,2),"Code")
7840
newTheme("rbxassetid://2650791818",0,0.97,0.97)
7841
MAINRUINCOLOR = BrickColor.new("Really blue")
7842
RecolorThing(MAINRUINCOLOR,BrickColor.new("Baby blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
7843
end
7844
if k == "r" and attack == false and ModeOfGlitch ~= 3 then
7845
               ModeOfGlitch = 3
7846
storehumanoidWS = 16
7847
hum.WalkSpeed = 16
7848
rainbowmode = false
7849
chaosmode = false
7850
RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
7851
newTheme("rbxassetid://303570180",0.6,0.6,0.6)
7852
MAINRUINCOLOR = BrickColor.new("Royal purple")
7853
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7854
7855
disably = true
7856
end
7857
if k == "t" and attack == false and ModeOfGlitch ~= 4 then
7858
               ModeOfGlitch = 4
7859
storehumanoidWS = 50
7860
hum.WalkSpeed = 50
7861
rainbowmode = false
7862
chaosmode = false
7863
RecolorTextAndRename("SOLITUDE V",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
7864
newTheme("rbxassetid://723652641",0,1,1.5)
7865
MAINRUINCOLOR = BrickColor.new("Really black")
7866
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7867
end
7868
if k == "y" and attack == false and ModeOfGlitch ~= 5 then
7869
               ModeOfGlitch = 5
7870
storehumanoidWS = 16
7871
hum.WalkSpeed = 16
7872
rainbowmode = false
7873
chaosmode = false
7874
RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
7875
newTheme("rbxassetid://661079869",0,1,1)
7876
MAINRUINCOLOR = BrickColor.new("Bright yellow")
7877
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7878
end
7879
if k == "k" and attack == false and ModeOfGlitch ~= 2335 then
7880
               ModeOfGlitch = 2335
7881
storehumanoidWS = 250
7882
hum.WalkSpeed = 250
7883
rainbowmode = true
7884
chaosmode = false
7885
RecolorTextAndRename("RAINBOW",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
7886
newTheme("rbxassetid://1747430851",0,1,1.15)
7887
MAINRUINCOLOR = BrickColor.new("Pastel green")
7888
RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
7889
end
7890
if k == "u" and attack == false and ModeOfGlitch ~= 6 then
7891
               ModeOfGlitch = 6
7892
storehumanoidWS = 100
7893
hum.WalkSpeed = 100
7894
rainbowmode = false
7895
chaosmode = false
7896
RecolorTextAndRename("EQUINOX V",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
7897
newTheme("rbxassetid://1347011178",0,1.01,1.25)
7898
MAINRUINCOLOR = BrickColor.new("White")
7899
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7900
end
7901
if k == "m" and attack == false and ModeOfGlitch == 6 then
7902
attack = true
7903
newTheme("rbxassetid://1369263130",0,1,1.25)
7904
7905
attack = false
7906
ModeOfGlitch = 420
7907
storehumanoidWS = 12
7908
hum.WalkSpeed = 12
7909
rainbowmode = false
7910
chaosmode = false
7911
Error = false
7912
RecolorTextAndRename("UNSTABLE",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
7913
disably = true
7914
warnedpeople("AAAAAAGH!","Arcade",BrickColor.new("Red").Color,MAINRUINCOLOR.Color)
7915
disably = false
7916
MAINRUINCOLOR = BrickColor.new("Really black")
7917
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true)
7918
end
7919
7920
if k == "f" and attack == false and ModeOfGlitch ~= 8 then
7921
               ModeOfGlitch = 8
7922
storehumanoidWS = 140
7923
hum.WalkSpeed = 140
7924
rainbowmode = false
7925
chaosmode = false
7926
RecolorTextAndRename("DESTINY V",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
7927
newTheme("rbxassetid://1495032271",0,1.01,1.25)
7928
MAINRUINCOLOR = BrickColor.new("Alder")
7929
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7930
end
7931
7932
if k == "j" and attack == false and ModeOfGlitch ~= 67966 then
7933
               ModeOfGlitch = 67966
7934
storehumanoidWS = 16
7935
hum.WalkSpeed = 16
7936
rainbowmode = false
7937
chaosmode = false
7938
RecolorTextAndRename("LOVE",Color3.new(1,0,1),Color3.new(1,0.5,1),"Highway")
7939
newTheme("rbxassetid://736003449",0,1,1.75)
7940
MAINRUINCOLOR = BrickColor.new("Hot pink")
7941
		disably = false
7942
		warnedpeople("Love <3","Antique",BrickColor.new("White").Color,BrickColor.new("Pink").Color)
7943
		disably = true
7944
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
7945
end
7946
if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 1055 then
7947
               ModeOfGlitch = 1055
7948
storehumanoidWS = 50
7949
hum.WalkSpeed = 50
7950
rainbowmode = false
7951
chaosmode = false
7952
insanitymode = false
7953
glitching = false
7954
RecolorTextAndRename("Pandora",BrickColor.new("White").Color,BrickColor.new("Lavender").Color,"Code")
7955
newTheme("rbxassetid://1382488262",0,1,1.25)
7956
MAINRUINCOLOR = BrickColor.new("Lavender")
7957
RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
7958
end
7959
if k == "g" and attack == false and ModeOfGlitch ~= 9 then
7960
               ModeOfGlitch = 9
7961
storehumanoidWS = 150
7962
hum.WalkSpeed = 150
7963
rainbowmode = false
7964
chaosmode = false
7965
RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
7966
newTheme("rbxassetid://2573921783",0,1.01,1.25)
7967
MAINRUINCOLOR = BrickColor.new("Lime green")
7968
RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7969
end
7970
7971
if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
7972
               ModeOfGlitch = 8889
7973
storehumanoidWS = 180
7974
hum.WalkSpeed = 180
7975
rainbowmode = false
7976
chaosmode = false
7977
RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
7978
newTheme("rbxassetid://1359036559",0,1.01,1.25)
7979
MAINRUINCOLOR = BrickColor.new("Lilac")
7980
RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7981
end
7982
if k == "n" and attack == false and ModeOfGlitch == 8889 then
7983
               ModeOfGlitch = 88893333388
7984
bosschatfunc("Catastrophic acsend!",MAINRUINCOLOR.Color,1)
7985
wait(1)
7986
CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
7987
CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
7988
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
7989
CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
7990
wait(0.2)
7991
storehumanoidWS = 200
7992
hum.WalkSpeed = 200
7993
rainbowmode = false
7994
chaosmode = false
7995
CRAZED = false
7996
RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
7997
newTheme("rbxassetid://1504604335",0,1,1.5)
7998
MAINRUINCOLOR = BrickColor.new("Royal purple")
7999
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Lilac"),0,BrickColor.new("Really blue"),0,BrickColor.new("Navy blue"),true,true)
8000
end
8001
if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 808080808080808080808080 then
8002
               ModeOfGlitch = 808080808080808080808080
8003
storehumanoidWS = 250
8004
hum.WalkSpeed = 250
8005
rainbowmode = false
8006
chaosmode = false
8007
CRAZED = true
8008
CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
8009
CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
8010
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
8011
CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
8012
RecolorTextAndRename("TRUE GALAXY",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
8013
newTheme("rbxassetid://250408242",0,1,10)
8014
MAINRUINCOLOR = BrickColor.new("Really blue")
8015
bosschatfunc("I'M BACK!!!",MAINRUINCOLOR.Color,1)
8016
disably = false
8017
warnedpeople("GALAXY?!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
8018
disably = false
8019
RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.,BrickColor.new("Deep orange"),0,BrickColor.new("Pastel light blue"),true,true)
8020
end
8021
if k == "m" and attack == false and ModeOfGlitch == 3 then
8022
attack = true
8023
ModeOfGlitch = 3
8024
hum.WalkSpeed = 0
8025
newTheme("rbxassetid://2368327428",9,1,1.25)
8026
wait(2)
8027
for i = 0, 15, 0.1 do
8028
		swait()
8029
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)
8030
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)
8031
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)
8032
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)
8033
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)
8034
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)
8035
end
8036
sphere(2,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
8037
sphere(3,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
8038
sphere(1,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
8039
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
8040
sphere(3,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
8041
CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
8042
               ModeOfGlitch = 146536
8043
storehumanoidWS = 12
8044
hum.WalkSpeed = 12
8045
rainbowmode = false
8046
chaosmode = false
8047
CRAZED = false
8048
RecolorTextAndRename("MATTER-V",Color3.new(0.15,0.15,0.15),Color3.new(0.35,0,1),"Fantasy")
8049
MAINRUINCOLOR = BrickColor.new("Gold")
8050
RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
8051
attack = false
8052
end
8053
if k == "b" and attack == false and ModeOfGlitch == 67966 then
8054
               ModeOfGlitch = -5
8055
storehumanoidWS = 16
8056
hum.WalkSpeed = 16
8057
rainbowmode = false
8058
chaosmode = false
8059
Error = false
8060
CRAZED = false
8061
RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Antique")
8062
newTheme("rbxassetid://685323634",0,1,1.25)
8063
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8064
end
8065
if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 676767 then
8066
               ModeOfGlitch = 676767
8067
storehumanoidWS = 200
8068
hum.WalkSpeed = 200
8069
rainbowmode = false
8070
chaosmode = false
8071
ASTRA = false
8072
dragon = true
8073
vis = false
8074
RecolorTextAndRename("OMEGA V",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
8075
newTheme("rbxassetid://643309199",0,1.01,1.25)
8076
MAINRUINCOLOR = BrickColor.new("Bright bluish green")
8077
RecolorThing(BrickColor.new("Bright bluish green"),BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.3,BrickColor.new("Bright bluish green"),0.3,BrickColor.new("Black"),true,true)
8078
end
8079
if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 61 then
8080
               ModeOfGlitch = 61
8081
storehumanoidWS = 16
8082
hum.WalkSpeed = 16
8083
rainbowmode = false
8084
chaosmode = false
8085
RecolorTextAndRename("NANO",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
8086
newTheme("rbxassetid://2234873423",0,1,1)
8087
MAINRUINCOLOR = BrickColor.new("Pink")
8088
RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8089
end
8090
if k == "m" and attack == false and ModeOfGlitch == 2335 and ModeOfGlitch ~= 911 then
8091
               ModeOfGlitch = 911
8092
storehumanoidWS = 250
8093
hum.WalkSpeed = 250
8094
rainbowmode = true
8095
chaosmode = false
8096
disably = false
8097
warnedpeople("! RAINBOW V !","Highway",Color3.new(1,0,1),Color3.new(1,1,1))
8098
disably = true
8099
RecolorTextAndRename("! RAINBOW V !",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
8100
newTheme("rbxassetid://147930134",0,1,1.15)
8101
MAINRUINCOLOR = BrickColor.new("Pastel green")
8102
RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
8103
end
8104
 if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 55469696922 then
8105
               ModeOfGlitch = 55469696922
8106
storehumanoidWS = 12
8107
hum.WalkSpeed = 12
8108
rainbowmode = false
8109
chaosmode = false
8110
RecolorTextAndRename("PLAGUES",Color3.new(0,0.3,0),BrickColor.new("Lime green").Color,"Code")
8111
newTheme("rbxassetid://577543579",0,1.005,1.25)
8112
MAINRUINCOLOR = BrickColor.new("Lime green")
8113
chatfunc("The plague is already inside..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.7)
8114
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8115
end
8116
if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
8117
               ModeOfGlitch = 4367677813
8118
storehumanoidWS = 225
8119
hum.WalkSpeed = 225
8120
rainbowmode = false
8121
chaosmode = false
8122
RecolorTextAndRename("S-H-D",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
8123
newTheme("rbxassetid://363284685",0,1.01,1.25)
8124
MAINRUINCOLOR = BrickColor.new("Baby blue")
8125
RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8126
end
8127
if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 103 then
8128
               ModeOfGlitch = 103
8129
storehumanoidWS = 200
8130
hum.WalkSpeed = 200
8131
rainbowmode = false
8132
chaosmode = false
8133
CRAZED = false
8134
RecolorTextAndRename("ANCIENT",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi")
8135
newTheme("rbxassetid://256251217",0,1.02,1.2)
8136
MAINRUINCOLOR = BrickColor.new("Gold")
8137
disably = false
8138
warnedpeople("PAST PRESENT AND FUTURE","Arcade",BrickColor.new("White").Color,BrickColor.new("New Yeller").Color)
8139
disably = true
8140
RecolorThing(MAINRUINCOLOR,BrickColor.new("New Yeller"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("White"),0,BrickColor.new("Black"),true,true)
8141
end
8142
if k == "b" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 453453484635345 then
8143
               ModeOfGlitch = 453453484635345
8144
storehumanoidWS = 25
8145
hum.WalkSpeed = 25
8146
rainbowmode = false
8147
chaosmode = false
8148
CRAZED = false
8149
RecolorTextAndRename("DEATH",Color3.new(0.2,0.2,0.2),Color3.new(0,0,0),"Bodoni")
8150
newTheme("rbxassetid://318062766",0,1.01,0.85)
8151
MAINRUINCOLOR = BrickColor.new("Really black")
8152
chatfunc("Death is not an escape..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.2)
8153
RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark stone grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
8154
end
8155
if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
8156
               ModeOfGlitch = 999999999556
8157
8158
storehumanoidWS = 500
8159
hum.WalkSpeed = 500
8160
rainbowmode = false
8161
chaosmode = false
8162
RecolorTextAndRename("THE BIG BLACK",BrickColor.new("Really black").Color,BrickColor.new("Dark stone grey").Color,"Code")
8163
newTheme("rbxassetid://1681272944",0,1.02,1.25)
8164
MAINRUINCOLOR = BrickColor.new("Really black")
8165
warnedpeople("BIG BLACK","Arcade",BrickColor.new("White").Color,BrickColor.new("Really black").Color)
8166
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Dark stone grey"),0.5,BrickColor.new("Dark stone grey"),true,true)
8167
end
8168
if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
8169
               ModeOfGlitch = 1264532489
8170
storehumanoidWS = 250
8171
hum.WalkSpeed = 250
8172
rainbowmode = false
8173
chaosmode = false
8174
RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
8175
newTheme("rbxassetid://1505487022",0,1.01,1.25)
8176
MAINRUINCOLOR = BrickColor.new("Pastel green")
8177
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Deep orange"),0.5,BrickColor.new("Gold"),true,true)
8178
end
8179
if rainbowmode == true then
8180
RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(1,1,1),"Highway")
8181
if ModeOfGlitch == 911 then
8182
RecolorTextAndRename("! RAINBOW V !",Color3.new(r/255,g/255,b/255),Color3.new(r/255,g/255,b/255),"Fantasy")
8183
end
8184
MAINRUINCOLOR = BrickColor.new(r/255,g/255,b/255)
8185
modet.TextColor3 = Color3.new(r/255,g/255,b/255)
8186
refec.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8187
tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8188
tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8189
tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8190
tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8191
tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8192
tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8193
for i, v in pairs(m:GetChildren()) do
8194
if v:IsA("Part") then
8195
v.Color = Color3.new(r/255,g/255,b/255)
8196
end
8197
end
8198
for i, v in pairs(m2:GetChildren()) do
8199
if v:IsA("Part") then
8200
v.Color = Color3.new(r/255,g/255,b/255)
8201
end
8202
end
8203
for i, v in pairs(m3:GetChildren()) do
8204
if v:IsA("Part") then
8205
v.Color = Color3.new(r/255,g/255,b/255)
8206
end
8207
end
8208
for i, v in pairs(mw1:GetChildren()) do
8209
if v:IsA("Part") then
8210
v.Color = Color3.new(r/255,g/255,b/255)
8211
v.Material = "Neon"
8212
end
8213
end
8214
for i, v in pairs(mw2:GetChildren()) do
8215
if v:IsA("Part") then
8216
v.Color = Color3.new(r/255,g/255,b/255)
8217
v.Material = "Neon"
8218
end
8219
end
8220
end
8221
if k == "l" and mutedtog == false then
8222
mutedtog = true
8223
kan.Volume = 0
8224
elseif k == "l" and mutedtog == true then
8225
mutedtog = false
8226
kan.Volume = 1.25
8227
end
8228
if k == "p" and toggleTag == false then
8229
toggleTag = true
8230
modet.TextTransparency = 0
8231
modet.TextStrokeTransparency = 0
8232
elseif k == "p" and toggleTag == true then
8233
toggleTag = false
8234
modet.TextTransparency = 1
8235
modet.TextStrokeTransparency = 1
8236
end
8237
8238
if k == "z" and attack == false and ModeOfGlitch == 1 then
8239
ExtinctiveHeartbreak()
8240
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
8241
HeavenlyDisk()
8242
elseif k == "x" and attack == false and ModeOfGlitch == 2 then
8243
Fireball()
8244
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
8245
CorruptionEvent()
8246
elseif k == "x" and attack == false and ModeOfGlitch == 3 then
8247
CorruptBlink()
8248
elseif k == "z" and attack == false and ModeOfGlitch == 4 then
8249
RapidBurst()
8250
elseif k == "z" and attack == false and ModeOfGlitch == 146536 then
8251
HeavenlyDisk()
8252
elseif k == "x" and attack == false and ModeOfGlitch == 146536 then
8253
CorruptBlink()
8254
elseif k == "z" and attack == false and ModeOfGlitch == 5 then
8255
--DivineLights()
8256
elseif k == "z" and attack == false and ModeOfGlitch == 6 then
8257
EquinoxOrbs()
8258
elseif k == "z" and attack == false and ModeOfGlitch == 67966 then
8259
cutesigh()
8260
elseif k == "z" and attack == false and ModeOfGlitch == 420 then
8261
EquinoxOrbs()
8262
elseif k == "z" and attack == false and ModeOfGlitch == 738 then
8263
EquinoxOrbs()
8264
elseif k == "x" and attack == false and ModeOfGlitch == 67966 then
8265
hugg()
8266
elseif k == "c" and attack == false and ModeOfGlitch == 67966 then
8267
lovesqueal()
8268
elseif k == "x" and attack == false and ModeOfGlitch == 420 then
8269
FallenOrbs()
8270
elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
8271
FallenOrbs()
8272
end
8273
if k == "z" and attack == false and ModeOfGlitch == 103 then
8274
smiter()
8275
end
8276
if k == "c" and attack == false and ModeOfGlitch == 420 then
8277
smiter()
8278
end
8279
if k == "x" and attack == false and ModeOfGlitch == 242424 then
8280
BinaryE()
8281
end
8282
if k == "z" and attack == false and ModeOfGlitch == 242424 then
8283
BinaryBLINK()
8284
end
8285
if k == "c" and attack == false and ModeOfGlitch == 738 then
8286
BinaryE()
8287
end
8288
if k == "v" and attack == false and ModeOfGlitch == 1 then
8289
HolyBarrier()
8290
end
8291
if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
8292
FallenDEMISE()
8293
end
8294
if k == "v" and attack == false and ModeOfGlitch == 738 then
8295
FallenDEMISE()
8296
end
8297
if k == "x" and attack == false and ModeOfGlitch == 4 then
8298
ChaosGroundStrike()
8299
end
8300
if k == "b" and attack == false and ModeOfGlitch == 420 then
8301
ChaosEND()
8302
end
8303
if k == "c" and attack == false and ModeOfGlitch == 4 then
8304
ChaosEND()
8305
end
8306
if k == "v" and attack == false and ModeOfGlitch == 4 then
8307
th1rt3en_trans()
8308
end
8309
if k == "v" and attack == false and ModeOfGlitch == 420 then
8310
EndGROUND()
8311
end
8312
if k == "x" and attack == false and ModeOfGlitch == 1 then
8313
EndGROUND()
8314
end
8315
if k == "x" and attack == false and ModeOfGlitch == 738 then
8316
EndGROUND()
8317
end
8318
end)
8319
8320
plr.Chatted:connect(function(message)
8321
if ModeOfGlitch == 911 then
8322
if message:sub(1,5) == "play/" then
8323
OVMID = message:sub(6)
8324
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8325
elseif message:sub(1,6) == "pitch/" then
8326
OVMPIT = message:sub(7)
8327
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8328
elseif message:sub(1,4) == "vol/" then
8329
OVMVOL = message:sub(5)
8330
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8331
elseif message:sub(1,7) == "skipto/" then
8332
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8333
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
8334
elseif message:sub(1,9) == "telltime/" then
8335
chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8336
end
8337
end
8338
end)
8339
8340
--[[coroutine.resume(coroutine.create(function()
8341
while true do
8342
swait(2)
8343
if chaosmode == true then
8344
tl1.Color = ColorSequence.new(BrickColor.random().Color)
8345
tl2.Color = ColorSequence.new(BrickColor.random().Color)
8346
tl3.Color = ColorSequence.new(BrickColor.random().Color)
8347
RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
8348
for i, v in pairs(mw1:GetChildren()) do
8349
if v:IsA("Part") then
8350
v.Transparency = 0.75
8351
v.BrickColor = BrickColor.random()
8352
v.Material = "Neon"
8353
end
8354
end
8355
for i, v in pairs(m2:GetChildren()) do
8356
if v:IsA("Part") then
8357
v.BrickColor = BrickColor.random()
8358
v.Material = "Neon"
8359
end
8360
end
8361
end
8362
end
8363
end))]]--
8364
Humanoid.Name = "STARGLITCHER"
8365
Humanoid.MaxHealth = math.huge
8366
Humanoid.Health = math.huge
8367
Instance.new("ForceField",char).Visible = false
8368
8369
local bguis = Instance.new("BillboardGui",tors)
8370
bguis.Size = UDim2.new(25, 0, 25, 0)
8371
local bguis2 = Instance.new("BillboardGui",tors)
8372
bguis2.Size = UDim2.new(25, 0, 25, 0)
8373
local imgca = Instance.new("ImageLabel",bguis)
8374
imgca.BackgroundTransparency = 1
8375
imgca.ImageTransparency = 1
8376
imgca.Size = UDim2.new(1,0,1,0)
8377
imgca.Image = "rbxassetid://2076458450" --997291547,521073910,2312119891
8378
imgca.ImageColor3 = Color3.new(0,0,0)
8379
local imgca2 = Instance.new("ImageLabel",bguis2)
8380
imgca2.BackgroundTransparency = 1
8381
imgca2.ImageTransparency = 1
8382
imgca2.Size = UDim2.new(1,0,1,0)
8383
imgca2.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891,2344830904
8384
imgca2.ImageColor3 = Color3.new(0,0,0)
8385
8386
idleanim=.4
8387
while true do
8388
if mutedtog == false then
8389
kan.Volume = currentVol
8390
elseif mutedtog == true then
8391
kan.Volume = 0
8392
end
8393
kan.PlaybackSpeed = currentPitch
8394
kan.Pitch = currentPitch
8395
kan.SoundId = currentThemePlaying
8396
kan.Looped = true
8397
kan.Parent = char
8398
kan:Resume()
8399
if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 738 and ModeOfGlitch ~= 61 and ModeOfGlitch ~= 88893333388 then
8400
imgca.ImageTransparency = 1
8401
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 738 or ModeOfGlitch == 61 or ModeOfGlitch == 88893333388 then
8402
imgca.ImageColor3 = MAINRUINCOLOR.Color
8403
imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
8404
end
8405
if ModeOfGlitch ~= 11111 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 738 then
8406
imgca2.ImageTransparency = 1
8407
elseif ModeOfGlitch == 11111 or ModeOfGlitch == 738 then
8408
imgca2.ImageColor3 = MAINRUINCOLOR.Color
8409
imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
8410
elseif ModeOfGlitch == 676767 or ModeOfGlitch == 55469696922 then
8411
imgca2.ImageColor3 = MAINRUINCOLOR.Color
8412
imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
8413
end
8414
imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
8415
imgca2.Rotation = imgca.Rotation - 5 - kan.PlaybackLoudness/100
8416
bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
8417
coroutine.resume(coroutine.create(function()
8418
	if chaosmode == true then
8419
for i, v in pairs(mw1:GetChildren()) do
8420
if v:IsA("Part") then
8421
v.Transparency = 0
8422
v.BrickColor = BrickColor.random()
8423
v.Material = "Neon"
8424
end
8425
end
8426
tl1.Color = ColorSequence.new(BrickColor.random().Color)
8427
tl2.Color = ColorSequence.new(BrickColor.random().Color)
8428
tl3.Color = ColorSequence.new(BrickColor.random().Color)
8429
	RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
8430
	end
8431
end))
8432
if chaosmode == false then
8433
modet.Position = UDim2.new(0,0,0,0)
8434
modet.Rotation = -5 * math.cos(sine / 32)
8435
techc.Rotation = techc.Rotation + 1
8436
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
8437
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
8438
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
8439
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
8440
ned.Rotation = 0 - 2 * math.cos(sine / 24)
8441
ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
8442
else
8443
	techc.Rotation = techc.Rotation + 1
8444
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
8445
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
8446
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
8447
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
8448
ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
8449
ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
8450
modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
8451
modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
8452
end
8453
CameraManager()
8454
swait()
8455
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
8456
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8457
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8458
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 12)),math.rad(0),math.rad(12.5 + 8 * math.cos(sine / 12))),.3)
8459
lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 25 * math.cos(sine / 16)),math.rad(0),math.rad(25 + 11.5 * math.cos(sine / 16))),.3)
8460
lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 35 * math.cos(sine / 20)),math.rad(0),math.rad(37.5 + 14 * math.cos(sine / 20))),.3)
8461
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 20 * math.cos(sine / 12)),math.rad(0),math.rad(-12.5 - 8 * math.cos(sine / 12))),.3)
8462
rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 25 * math.cos(sine / 16)),math.rad(0),math.rad(-25 - 11.5 * math.cos(sine / 16))),.3)
8463
rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 30 * math.cos(sine / 20)),math.rad(0),math.rad(-37.5 - 14 * math.cos(sine / 20))),.3)
8464
 sine = sine + change
8465
elseif ModeOfGlitch == 3444 then
8466
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8467
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8468
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)
8469
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)
8470
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)
8471
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)
8472
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)
8473
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)
8474
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)
8475
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)
8476
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)
8477
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)
8478
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)
8479
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)
8480
 sine = sine + change
8481
elseif ModeOfGlitch == 3 then
8482
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8483
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8484
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)
8485
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)
8486
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)
8487
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)
8488
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)
8489
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)
8490
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)
8491
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)
8492
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)
8493
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)
8494
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)
8495
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)
8496
 sine = sine + change
8497
8498
elseif ModeOfGlitch == -666666 then
8499
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8500
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8501
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
8502
lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
8503
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8504
lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
8505
lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8506
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
8507
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
8508
rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
8509
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8510
rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
8511
rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8512
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
8513
 sine = sine + change
8514
8515
elseif ModeOfGlitch == 112 then
8516
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8517
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8518
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
8519
lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
8520
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8521
lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
8522
lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8523
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
8524
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
8525
rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
8526
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8527
rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
8528
rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8529
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
8530
 sine = sine + change
8531
8532
elseif ModeOfGlitch == 46874 then
8533
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8534
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8535
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)
8536
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)
8537
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)
8538
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)
8539
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)
8540
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)
8541
 sine = sine + change
8542
elseif ModeOfGlitch == 146536 then
8543
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8544
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8545
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)
8546
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)
8547
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)
8548
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)
8549
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)
8550
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)
8551
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)
8552
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)
8553
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)
8554
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)
8555
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)
8556
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)
8557
sine = sine + change
8558
elseif ModeOfGlitch == 124 then
8559
handleweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8560
handlexweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8561
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)
8562
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)
8563
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)
8564
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)
8565
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)
8566
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)
8567
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)
8568
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)
8569
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)
8570
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)
8571
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)
8572
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)
8573
sine = sine + change
8574
elseif ModeOfGlitch == 7888 then
8575
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)
8576
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)
8577
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)
8578
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)
8579
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)
8580
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)
8581
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)
8582
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)
8583
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)
8584
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)
8585
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)
8586
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)
8587
sine = sine + change
8588
elseif ModeOfGlitch == 666666666 then
8589
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)
8590
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)
8591
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)
8592
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)
8593
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)
8594
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)
8595
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)
8596
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)
8597
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)
8598
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)
8599
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)
8600
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)
8601
sine = sine + change
8602
elseif ModeOfGlitch == 78213 then
8603
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8604
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8605
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)
8606
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)
8607
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)
8608
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)
8609
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)
8610
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)
8611
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)
8612
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)
8613
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)
8614
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)
8615
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)
8616
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)
8617
sine =  sine + change
8618
elseif ModeOfGlitch == -99 then
8619
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)
8620
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)
8621
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)
8622
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)
8623
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)
8624
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)
8625
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)
8626
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)
8627
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)
8628
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)
8629
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)
8630
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)
8631
 sine = sine + change
8632
elseif ModeOfGlitch == 102 or ModeOfGlitch == 4434 then
8633
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)
8634
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)
8635
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)
8636
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)
8637
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)
8638
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)
8639
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)
8640
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)
8641
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)
8642
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)
8643
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)
8644
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)
8645
 sine = sine + change
8646
elseif ModeOfGlitch == 906 or glitchermode == "universal" then
8647
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8648
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)
8649
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)
8650
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)
8651
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)
8652
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)
8653
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)
8654
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)
8655
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)
8656
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)
8657
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)
8658
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)
8659
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)
8660
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)
8661
sine = sine + change
8662
elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 or ModeOfGlitch == 8889 then
8663
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8664
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)
8665
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)
8666
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)
8667
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)
8668
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)
8669
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)
8670
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)
8671
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)
8672
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)
8673
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)
8674
sine = sine + change
8675
elseif ModeOfGlitch == 2102 then
8676
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8677
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8678
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)
8679
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)
8680
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)
8681
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)
8682
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)
8683
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)
8684
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)
8685
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)
8686
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)
8687
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)
8688
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)
8689
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)
8690
sine = sine + change
8691
elseif ModeOfGlitch == 555 or ModeOfGlitch == 7621 or ModeOfGlitch == 3141 or ModeOfGlitch == 101010 or ModeOfGlitch == 44444 or ModeOfGlitch == 404 or ModeOfGlitch == 55846 then
8692
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8693
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8694
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)
8695
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)
8696
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)
8697
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)
8698
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)
8699
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)
8700
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)
8701
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)
8702
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)
8703
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)
8704
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)
8705
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)
8706
sine = sine + change
8707
elseif ModeOfGlitch == 2019 then
8708
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)
8709
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)
8710
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)
8711
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)
8712
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)
8713
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)
8714
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)
8715
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)
8716
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)
8717
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)
8718
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)
8719
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)
8720
 sine = sine + change
8721
elseif ModeOfGlitch == 81 then
8722
handleweld.C0=clerp(handleweld.C0,cf(0,-6.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
8723
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)
8724
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)
8725
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)
8726
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)
8727
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)
8728
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)
8729
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)
8730
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)
8731
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)
8732
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)
8733
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)
8734
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)
8735
sine = sine + change
8736
elseif ModeOfGlitch == 841 or ModeOfGlitch == 2222222 or ModeOfGlitch == -3 or ModeOfGlitch == -4 then
8737
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8738
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8739
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)
8740
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)
8741
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)
8742
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)
8743
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)
8744
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)
8745
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)
8746
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)
8747
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)
8748
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)
8749
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)
8750
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)
8751
sine = sine + change
8752
elseif ModeOfGlitch == 2335 then
8753
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8754
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8755
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)
8756
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)
8757
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)
8758
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)
8759
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)
8760
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)
8761
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)
8762
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)
8763
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)
8764
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)
8765
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)
8766
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)
8767
sine = sine + change
8768
elseif ModeOfGlitch == 412 or ModeOfGlitch == 738  then
8769
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8770
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8771
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)
8772
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)
8773
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)
8774
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)
8775
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)
8776
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)
8777
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)
8778
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)
8779
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)
8780
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)
8781
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)
8782
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)
8783
sine = sine + change
8784
elseif ModeOfGlitch == 2304 or ModeOfGlitch == 765688533321 then
8785
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8786
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8787
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)
8788
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)
8789
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)
8790
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)
8791
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)
8792
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)
8793
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)
8794
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)
8795
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)
8796
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)
8797
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)
8798
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)
8799
sine = sine + change 
8800
else
8801
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8802
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8803
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)
8804
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)
8805
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)
8806
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)
8807
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)
8808
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)
8809
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)
8810
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)
8811
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)
8812
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)
8813
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)
8814
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)
8815
sine = sine + change
8816
end
8817
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude 
8818
local velderp=RootPart.Velocity.y
8819
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
8820
if equipped==true or equipped==false then
8821
if attack==false then
8822
idle=idle+1
8823
else
8824
idle=0
8825
end
8826
if idle>=500 then
8827
if attack==false then
8828
--Sheath()
8829
end
8830
end
8831
if RootPart.Velocity.y > 1 and hitfloor==nil then 
8832
Anim="Jump"
8833
if attack==false then
8834
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)
8835
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)
8836
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)
8837
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
8838
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)
8839
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)
8840
end
8841
elseif RootPart.Velocity.y < -1 and hitfloor==nil then 
8842
Anim="Fall"
8843
if attack==false then
8844
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)
8845
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)
8846
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)
8847
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
8848
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)
8849
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)
8850
end
8851
elseif torvel<1 and hitfloor~=nil then
8852
Anim="Idle"
8853
if attack==false then
8854
if ModeOfGlitch == 1 then
8855
local snap = math.random(1,10)
8856
if snap == 1 then
8857
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
8858
end
8859
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
8860
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
8861
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)
8862
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)
8863
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)
8864
LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
8865
elseif ModeOfGlitch == 2335 then
8866
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)
8867
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)
8868
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)
8869
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)
8870
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)
8871
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)
8872
elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then
8873
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)
8874
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)
8875
RootJoint.C0 = clerp(RootJoint.C0,cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
8876
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
8877
LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
8878
RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
8879
elseif ModeOfGlitch == 5 then
8880
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)
8881
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)
8882
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)
8883
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)
8884
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)
8885
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)
8886
elseif ModeOfGlitch == 738 then
8887
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)
8888
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)
8889
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)
8890
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
8891
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)
8892
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)
8893
elseif ModeOfGlitch == 666666666 then
8894
	local snap = math.random(1,3)
8895
if snap == 1 then
8896
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),0.6)
8897
end
8898
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(83),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
8899
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)
8900
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)
8901
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)
8902
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 13 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
8903
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)
8904
elseif ModeOfGlitch == 67966 then
8905
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)
8906
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)
8907
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)
8908
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)
8909
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)
8910
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)
8911
elseif ModeOfGlitch == 11 then
8912
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)
8913
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)
8914
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)
8915
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)
8916
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)
8917
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)
8918
elseif ModeOfGlitch == 1055 then
8919
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(-20 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.2)
8920
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(3 + 2 * math.cos(sine / 32))),.2)
8921
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(30)),.2)
8922
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-10 + 2 * math.cos(sine / 58)),math.rad(-30)),.2)
8923
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.2)
8924
LW.C0=clerp(LW.C0,cf(-1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(67 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.2)
8925
elseif ModeOfGlitch == -666666 then
8926
local snap = math.random(1,30)
8927
if snap == 1 then
8928
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)
8929
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)
8930
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)
8931
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)
8932
end
8933
elseif ModeOfGlitch == 420 then
8934
local snap = math.random(1,5)
8935
if snap == 1 then
8936
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)
8937
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)
8938
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)
8939
end
8940
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)
8941
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)
8942
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)
8943
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)
8944
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)
8945
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)
8946
elseif ModeOfGlitch == 676767 then
8947
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
8948
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
8949
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
8950
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
8951
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
8952
LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
8953
elseif ModeOfGlitch == 11111 then
8954
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)
8955
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)
8956
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)
8957
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)
8958
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)
8959
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)
8960
elseif ModeOfGlitch == 242424 then
8961
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)
8962
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)
8963
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)
8964
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)
8965
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)
8966
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)
8967
elseif ModeOfGlitch == 3 or ModeOfGlitch == -2 or ModeOfGlitch == 25 or ModeOfGlitch == 3141 or ModeOfGlitch == 146536 then
8968
local snap = math.random(1,32)
8969
if snap == 1 then
8970
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
8971
end
8972
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(1 - 2 * math.cos(sine / 32))),.1)
8973
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(-1 + 2 * math.cos(sine / 32))),.1)
8974
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 - 1 * math.cos(sine / 44))),.1)
8975
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
8976
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)
8977
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)
8978
elseif ModeOfGlitch == 3 then
8979
local snap = math.random(1,32)
8980
elseif ModeOfGlitch == 88893333388 then
8981
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)
8982
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)
8983
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)
8984
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)
8985
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)
8986
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)
8987
elseif ModeOfGlitch == 103 then
8988
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)
8989
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)
8990
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(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
8991
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)
8992
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)
8993
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(149 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-17 - 4 * math.cos(sine / 45))),.1)
8994
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
8995
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)
8996
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)
8997
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)
8998
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)
8999
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)
9000
elseif ModeOfGlitch == 2 then
9001
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)
9002
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)
9003
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)
9004
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)
9005
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)
9006
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)
9007
elseif ModeOfGlitch == 3 then
9008
local snap = math.random(1,32)
9009
if snap == 1 then
9010
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
9011
end
9012
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(1 - 2 * math.cos(sine / 32))),.1)
9013
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(-1 + 2 * math.cos(sine / 32))),.1)
9014
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 - 1 * math.cos(sine / 44))),.1)
9015
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
9016
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)
9017
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)
9018
elseif ModeOfGlitch == 453453484635345 then
9019
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)
9020
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)
9021
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)
9022
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)
9023
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)
9024
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)
9025
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)
9026
elseif ModeOfGlitch == 4 then
9027
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)
9028
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)
9029
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)
9030
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)
9031
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)
9032
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)
9033
elseif ModeOfGlitch == 765688533321 then
9034
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)
9035
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)
9036
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)
9037
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)
9038
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)
9039
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)
9040
elseif ModeOfGlitch == 146536 then
9041
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)
9042
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)
9043
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)
9044
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)
9045
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)
9046
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)
9047
elseif ModeOfGlitch == 2339 then
9048
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)
9049
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)
9050
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)
9051
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)
9052
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)
9053
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)
9054
elseif ModeOfGlitch == 5 then
9055
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)
9056
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)
9057
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)
9058
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)
9059
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)
9060
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)
9061
elseif ModeOfGlitch == 6 then
9062
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)
9063
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)
9064
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)
9065
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)
9066
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)
9067
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)
9068
elseif ModeOfGlitch == 8 then
9069
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)
9070
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)
9071
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)
9072
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)
9073
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)
9074
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)
9075
elseif ModeOfGlitch == 9 then
9076
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)
9077
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)
9078
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)
9079
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)
9080
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)
9081
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)
9082
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
9083
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)
9084
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)
9085
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)
9086
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)
9087
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)
9088
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)
9089
elseif ModeOfGlitch == 999999999 then
9090
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)
9091
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)
9092
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)
9093
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)
9094
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)
9095
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)
9096
elseif ModeOfGlitch == 8889 or ModeOfGlitch == 911  then
9097
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)
9098
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)
9099
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)
9100
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)
9101
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)
9102
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)
9103
elseif ModeOfGlitch == 1264532489 then
9104
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)
9105
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)
9106
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)
9107
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)
9108
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)
9109
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)
9110
elseif ModeOfGlitch == 9999999921111 then
9111
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)
9112
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)
9113
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)
9114
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)
9115
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)
9116
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)
9117
elseif ModeOfGlitch == 4367677813 then
9118
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)
9119
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)
9120
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)
9121
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)
9122
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)
9123
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)
9124
elseif ModeOfGlitch == 61 then
9125
RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
9126
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
9127
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(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
9128
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
9129
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 + 14 * math.cos(sine / 45))),.1)
9130
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(35 - 8 * math.cos(sine / 51))),.1)
9131
elseif ModeOfGlitch == 55469696922 then
9132
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)
9133
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)
9134
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)
9135
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)
9136
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)
9137
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)
9138
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)
9139
elseif ModeOfGlitch == 999999999556 then
9140
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)
9141
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)
9142
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)
9143
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)
9144
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)
9145
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)
9146
end
9147
end
9148
elseif torvel>2 and torvel<22 and hitfloor~=nil then
9149
Anim="Walk"
9150
if attack==false then
9151
if ModeOfGlitch ~= 102 and ModeOfGlitch ~= 2334 then
9152
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)
9153
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)
9154
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)
9155
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)
9156
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)
9157
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)
9158
if ModeOfGlitch == 71 then
9159
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)
9160
end
9161
elseif ModeOfGlitch == 2334 then
9162
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)
9163
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
9164
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)
9165
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)
9166
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)
9167
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)
9168
elseif ModeOfGlitch == 102 then
9169
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)
9170
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)
9171
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)
9172
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)
9173
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)
9174
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)
9175
end
9176
end
9177
elseif torvel>=22 and hitfloor~=nil then
9178
Anim="Run"
9179
if attack==false then
9180
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
9181
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)
9182
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)
9183
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)
9184
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)
9185
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)
9186
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)
9187
if ModeOfGlitch == 9 then
9188
--
9189
end
9190
elseif ModeOfGlitch == -666666 then
9191
local snap = math.random(1,30)
9192
if snap == 1 then
9193
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)
9194
end
9195
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)
9196
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)
9197
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)
9198
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)
9199
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)
9200
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)
9201
elseif ModeOfGlitch == 404 or ModeOfGlitch == 246758 then
9202
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)
9203
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)
9204
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)
9205
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)
9206
RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.5, -0.5) * angles(math.rad(90), math.rad(-80), math.rad(-40)),.2)
9207
LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.2)
9208
9209
elseif ModeOfGlitch == 8686 then
9210
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)
9211
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)
9212
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)
9213
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)
9214
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)
9215
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)
9216
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
9217
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)
9218
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)
9219
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)
9220
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)
9221
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)
9222
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
9223
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)
9224
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)
9225
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)
9226
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)
9227
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)
9228
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)
9229
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 == 74 or ModeOfGlitch == 8008135 or ModeOfGlitch == 4434 or ModeOfGlitch == 911 then
9230
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)
9231
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)
9232
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)
9233
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)
9234
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)
9235
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)
9236
elseif ModeOfGlitch == 2335 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 then
9237
wait(0.5)
9238
sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
9239
elseif ModeOfGlitch == 5 then
9240
wait(0.5)
9241
local rsiz = math.random(1,3)
9242
sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
9243
sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
9244
elseif ModeOfGlitch == 999999999556 then
9245
handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
9246
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)
9247
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)
9248
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)
9249
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)
9250
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)
9251
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)
9252
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)
9253
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)
9254
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)
9255
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)
9256
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)
9257
9258
end
9259
end
9260
end
9261
end
9262
end