View difference between Paste ID: QJTX2vj7 and s1vrHL34
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
attack = true
4702
hum.WalkSpeed = 0
4703
local orb = Instance.new("Part", char)
4704
        orb.Anchored = true
4705
        orb.BrickColor = BrickColor.new("Toothpaste")
4706
        orb.CanCollide = false
4707
        orb.FormFactor = 3
4708
        orb.Name = "Ring"
4709
        orb.Material = "Neon"
4710
        orb.Size = Vector3.new(1, 1, 1)
4711
        orb.Transparency = 0
4712
        orb.TopSurface = 0
4713
        orb.BottomSurface = 0
4714
        local orbm = Instance.new("SpecialMesh", orb)
4715
        orbm.MeshType = "Sphere"
4716
orbm.Name = "SizeMesh"
4717
orbm.Scale = vt(0,0,0)
4718
local scaled = 0.1
4719
local posid = 0
4720
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
4721
for i = 0, 5, 0.1 do
4722
swait()
4723
scaled = scaled - 0.001
4724
posid = posid - scaled
4725
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4726
local scaled = 0.1
4727
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4728
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)
4729
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)
4730
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)
4731
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)
4732
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)
4733
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4734
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4735
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)
4736
end
4737
for i = 0, 2, 0.1 do
4738
swait()
4739
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4740
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)
4741
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)
4742
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)
4743
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
4744
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
4745
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)
4746
end
4747
coroutine.resume(coroutine.create(function()
4748
orb.Anchored = false
4749
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
4750
    local a = Instance.new("Part",workspace)
4751
    a.Name = "Direction"  
4752
    a.Anchored = true
4753
    a.BrickColor = bc("Bright red")
4754
a.Material = "Neon"
4755
a.Transparency = 1
4756
    a.CanCollide = false
4757
    local ray = Ray.new(
4758
        orb.CFrame.p,                           -- origin
4759
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4760
    )
4761
    local ignore = orb
4762
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4763
    a.BottomSurface = 10
4764
    a.TopSurface = 10
4765
    local distance = (orb.CFrame.p - position).magnitude
4766
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4767
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4768
orb.CFrame = a.CFrame
4769
a:Destroy()
4770
local bv = Instance.new("BodyVelocity")
4771
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4772
bv.velocity = orb.CFrame.lookVector*125
4773
bv.Parent = orb
4774
local hitted = false
4775
game:GetService("Debris"):AddItem(orb, 15)
4776
wait()
4777
local hit =orb.Touched:connect(function(hit)
4778
    if hitted == false then
4779
    hitted = true
4780
CameraEnshaking(10,2.5)
4781
CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
4782
    MagniDamage(orb, 65, 65,90, 0, "Normal")
4783
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
4784
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
4785
for i = 0, 49 do
4786
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)
4787
end
4788
for i = 0, 9 do
4789
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)
4790
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)
4791
end
4792
orb.Anchored = true
4793
orb.Transparency = 1
4794
wait(8)
4795
orb:Destroy()
4796
end
4797
end)
4798
end))
4799
for i = 0, 1, 0.1 do
4800
swait()
4801
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)
4802
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)
4803
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)
4804
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
4805
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
4806
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)
4807
end
4808
hum.WalkSpeed = storehumanoidWS
4809
attack = false
4810
end
4811
 
4812
function BanishingOrb()
4813
attack = true
4814
hum.WalkSpeed = 0
4815
local orb = Instance.new("Part", char)
4816
        orb.Anchored = true
4817
        orb.BrickColor = BrickColor.new("Black")
4818
        orb.CanCollide = false
4819
        orb.FormFactor = 3
4820
        orb.Name = "Ring"
4821
        orb.Material = "Neon"
4822
        orb.Size = Vector3.new(1, 1, 1)
4823
        orb.Transparency = 0
4824
        orb.TopSurface = 0
4825
        orb.BottomSurface = 0
4826
        local orbm = Instance.new("SpecialMesh", orb)
4827
        orbm.MeshType = "Sphere"
4828
orbm.Name = "SizeMesh"
4829
orbm.Scale = vt(0,0,0)
4830
local scaled = 0.1
4831
local posid = 0
4832
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
4833
for i = 0, 5, 0.1 do
4834
swait()
4835
scaled = scaled - 0.001
4836
posid = posid - scaled
4837
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4838
local scaled = 0.1
4839
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4840
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)
4841
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
4842
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
4843
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4844
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4845
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4846
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
4847
end
4848
for i = 0, 2, 0.1 do
4849
swait()
4850
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4851
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
4852
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
4853
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
4854
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
4855
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
4856
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
4857
end
4858
coroutine.resume(coroutine.create(function()
4859
orb.Anchored = false
4860
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
4861
    local a = Instance.new("Part",workspace)
4862
    a.Name = "Direction"   
4863
    a.Anchored = true
4864
    a.BrickColor = bc("Bright red")
4865
a.Material = "Neon"
4866
a.Transparency = 1
4867
    a.CanCollide = false
4868
    local ray = Ray.new(
4869
        orb.CFrame.p,                           -- origin
4870
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4871
    )
4872
    local ignore = orb
4873
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4874
    a.BottomSurface = 10
4875
    a.TopSurface = 10
4876
    local distance = (orb.CFrame.p - position).magnitude
4877
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4878
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4879
orb.CFrame = a.CFrame
4880
a:Destroy()
4881
local bv = Instance.new("BodyVelocity")
4882
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4883
bv.velocity = orb.CFrame.lookVector*0
4884
bv.Parent = orb
4885
local hitted = false
4886
local rate = 0
4887
coroutine.resume(coroutine.create(function()
4888
for i = 0, 24 do
4889
wait(0.1)
4890
rate = rate + 0.25
4891
bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
4892
for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
4893
if v:FindFirstChild('Head') then
4894
dmg(v)
4895
end
4896
end
4897
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
4898
sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4899
sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
4900
end
4901
orb.Anchored = true
4902
orb.Transparency = 1
4903
for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
4904
if v:FindFirstChild('Head') then
4905
dmg(v)
4906
end
4907
end
4908
local eff = Instance.new("ParticleEmitter",orb)
4909
eff.Texture = "rbxassetid://296874871"
4910
eff.LightEmission = 0.95
4911
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4912
eff.Rate = 1000000000
4913
eff.Lifetime = NumberRange.new(3)
4914
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)})
4915
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4916
eff.Speed = NumberRange.new(30)
4917
eff.Acceleration = vt(0,-15,0)
4918
eff.Rotation = NumberRange.new(-500,500)
4919
eff.VelocitySpread = 100000
4920
eff.RotSpeed = NumberRange.new(-500,500)
4921
coroutine.resume(coroutine.create(function()
4922
    wait(0.6)
4923
    eff.Enabled = false
4924
end))
4925
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
4926
CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
4927
sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
4928
sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4929
sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
4930
game:GetService("Debris"):AddItem(orb, 15)
4931
end))
4932
end))
4933
for i = 0, 1, 0.1 do
4934
swait()
4935
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)
4936
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)
4937
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)
4938
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
4939
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
4940
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)
4941
end
4942
hum.WalkSpeed = storehumanoidWS
4943
attack = false
4944
end
4945
 
4946
 
4947
function ChaosGroundStrike()
4948
attack = true
4949
for i = 0, 2, 0.1 do
4950
swait()
4951
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)
4952
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)
4953
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4954
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4955
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
4956
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
4957
end
4958
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
4959
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
4960
CameraEnshaking(100,100)
4961
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
4962
if v:FindFirstChild('Head') then
4963
dmg(v)
4964
end
4965
end
4966
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
4967
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
4968
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
4969
for i = 0, 2, 0.1 do
4970
swait()
4971
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)
4972
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)
4973
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)
4974
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)
4975
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4976
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4977
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
4978
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
4979
end
4980
attack = false
4981
end
4982
 
4983
 
4984
 
4985
function Starfall()
4986
attack = true
4987
hum.WalkSpeed = 0
4988
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
4989
for i = 0, 5, 0.1 do
4990
swait()
4991
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)
4992
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)
4993
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)
4994
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)
4995
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)
4996
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4997
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)
4998
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)
4999
end
5000
local Overed = false
5001
CameraEnshaking(2,20)
5002
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5003
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5004
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
5005
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
5006
local orb = Instance.new("Part", char)
5007
        orb.Anchored = true
5008
        orb.BrickColor = BrickColor.new("Toothpaste")
5009
        orb.CanCollide = false
5010
        orb.FormFactor = 3
5011
        orb.Name = "Remenant"
5012
        orb.Material = "Neon"
5013
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
5014
        orb.Size = Vector3.new(1, 1, 1)
5015
        orb.Transparency = 1
5016
        orb.TopSurface = 0
5017
        orb.BottomSurface = 0
5018
hum.WalkSpeed = storehumanoidWS
5019
coroutine.resume(coroutine.create(function()
5020
for i = 0, 9 do
5021
swait(10)
5022
                 local lb = Instance.new("Part")
5023
    lb.Color = MAINRUINCOLOR.Color
5024
     lb.CanCollide = false
5025
lb.Material = "Neon"
5026
     lb.Anchored = true
5027
lb.TopSurface = 0
5028
        lb.BottomSurface = 0
5029
     lb.Transparency = 0
5030
     lb.Size = vt(1,1,1)
5031
     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)))
5032
lb.Anchored = false
5033
  lb.Parent = char
5034
local thingery = Instance.new("SpecialMesh",lb)
5035
     thingery.MeshType = "Sphere"
5036
thingery.Scale = vt(20,20,20)
5037
game:GetService("Debris"):AddItem(lb, 10)
5038
  local bv = Instance.new("BodyVelocity")
5039
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5040
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
5041
  bv.Parent = lb
5042
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
5043
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
5044
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
5045
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
5046
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
5047
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
5048
local hitted = false
5049
coroutine.resume(coroutine.create(function()
5050
while true do
5051
swait(1)
5052
if lb.Parent ~= nil and hitted == false then
5053
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)
5054
elseif lb.Parent == nil then
5055
break
5056
end
5057
end
5058
end))
5059
 
5060
game:GetService("Debris"):AddItem(a, 0.1)
5061
 
5062
coroutine.resume(coroutine.create(function()
5063
swait(1)
5064
lb.Touched:connect(function(hit)
5065
if hitted == false then
5066
hitted = true
5067
lb.Transparency = 1
5068
lb.Anchored = true
5069
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
5070
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
5071
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
5072
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
5073
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
5074
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
5075
MagniDamage(lb, 45, 45,85, 0, "Normal")
5076
CameraEnshaking(1,5)
5077
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
5078
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
5079
for i = 0, 9 do
5080
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)
5081
end
5082
for i = 0, 49 do
5083
swait()
5084
MagniDamage(lb, 30, 2,4, 0, "Normal")
5085
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)
5086
end
5087
end
5088
end)
5089
end))
5090
end
5091
Overed = true
5092
orb:Destroy()
5093
end))
5094
 
5095
attack = false
5096
end
5097
 
5098
function StarfallEX()
5099
attack = true
5100
hum.WalkSpeed = 0
5101
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
5102
for i = 0, 10, 0.1 do
5103
swait()
5104
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)
5105
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)
5106
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)
5107
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)
5108
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)
5109
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
5110
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)
5111
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)
5112
end
5113
local Overed = false
5114
CameraEnshaking(2,20)
5115
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5116
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5117
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
5118
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
5119
local orb = Instance.new("Part", char)
5120
        orb.Anchored = true
5121
        orb.BrickColor = BrickColor.new("Toothpaste")
5122
        orb.CanCollide = false
5123
        orb.FormFactor = 3
5124
        orb.Name = "Remenant"
5125
        orb.Material = "Neon"
5126
orb.CFrame = root.CFrame*CFrame.new(0,250,0)
5127
        orb.Size = Vector3.new(1, 1, 1)
5128
        orb.Transparency = 1
5129
        orb.TopSurface = 0
5130
        orb.BottomSurface = 0
5131
hum.WalkSpeed = storehumanoidWS
5132
coroutine.resume(coroutine.create(function()
5133
for i = 0, 4 do
5134
swait(15)
5135
                 local lb = Instance.new("Part")
5136
    lb.Color = MAINRUINCOLOR.Color
5137
     lb.CanCollide = false
5138
lb.Material = "Neon"
5139
     lb.Anchored = true
5140
lb.TopSurface = 0
5141
        lb.BottomSurface = 0
5142
     lb.Transparency = 0
5143
     lb.Size = vt(1,1,1)
5144
     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)))
5145
lb.Anchored = false
5146
  lb.Parent = char
5147
local thingery = Instance.new("SpecialMesh",lb)
5148
     thingery.MeshType = "Sphere"
5149
thingery.Scale = vt(50,50,50)
5150
game:GetService("Debris"):AddItem(lb, 10)
5151
  local bv = Instance.new("BodyVelocity")
5152
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5153
  bv.velocity = lb.CFrame.lookVector*math.random(50,420)
5154
  bv.Parent = lb
5155
sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
5156
sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
5157
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
5158
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
5159
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
5160
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
5161
local hitted = false
5162
coroutine.resume(coroutine.create(function()
5163
while true do
5164
swait(1)
5165
if lb.Parent ~= nil and hitted == false then
5166
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)
5167
elseif lb.Parent == nil then
5168
break
5169
end
5170
end
5171
end))
5172
 
5173
game:GetService("Debris"):AddItem(a, 0.1)
5174
 
5175
coroutine.resume(coroutine.create(function()
5176
swait(1)
5177
lb.Touched:connect(function(hit)
5178
if hitted == false then
5179
hitted = true
5180
lb.Transparency = 1
5181
lb.Anchored = true
5182
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
5183
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
5184
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
5185
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
5186
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
5187
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
5188
MagniDamage(lb, 50, 60,99, 0, "Normal")
5189
CameraEnshaking(1,5)
5190
sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
5191
sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
5192
for i = 0, 9 do
5193
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)
5194
end
5195
for i = 0, 99 do
5196
swait()
5197
MagniDamage(lb, 30, 6,18, 0, "Normal")
5198
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)
5199
end
5200
end
5201
end)
5202
end))
5203
end
5204
Overed = true
5205
orb:Destroy()
5206
end))
5207
 
5208
attack = false
5209
end
5210
 
5211
function DivineBlast()
5212
attack = true
5213
hum.WalkSpeed = 0
5214
local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
5215
elocacenter.Anchored = true
5216
elocacenter.CFrame = sorb.CFrame
5217
local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5218
eloca1.Anchored = true
5219
eloca1.CFrame = elocacenter.CFrame
5220
local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5221
eloca2.Anchored = true
5222
eloca2.CFrame = elocacenter.CFrame
5223
local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5224
eloca3.Anchored = true
5225
eloca3.CFrame = elocacenter.CFrame
5226
local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5227
eloca4.Anchored = true
5228
eloca4.CFrame = elocacenter.CFrame
5229
local lookavec = 0
5230
local speeds = 0
5231
CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
5232
for i = 0, 3, 0.1 do
5233
swait()
5234
---
5235
lookavec = lookavec + 0.1
5236
speeds = speeds + 10
5237
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5238
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5239
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)
5240
 
5241
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5242
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)
5243
 
5244
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5245
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)
5246
 
5247
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5248
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)
5249
---
5250
root.CFrame = FaceMouse()[1]
5251
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)
5252
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)
5253
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)
5254
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)
5255
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5256
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)
5257
end
5258
for i = 0, 3, 0.1 do
5259
swait()
5260
---
5261
speeds = speeds + 10
5262
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5263
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5264
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)
5265
 
5266
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5267
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)
5268
 
5269
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5270
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)
5271
 
5272
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5273
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)
5274
---
5275
root.CFrame = FaceMouse()[1]
5276
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)
5277
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)
5278
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)
5279
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)
5280
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5281
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)
5282
end
5283
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
5284
for i = 0, 3, 0.1 do
5285
swait()
5286
---
5287
speeds = speeds + 10
5288
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5289
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5290
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)
5291
 
5292
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5293
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)
5294
 
5295
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5296
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)
5297
 
5298
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5299
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)
5300
---
5301
root.CFrame = FaceMouse()[1]
5302
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)
5303
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)
5304
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)
5305
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)
5306
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
5307
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)
5308
end
5309
coroutine.resume(coroutine.create(function()
5310
local a = Instance.new("Part",Character)
5311
    a.Name = "Direction"   
5312
    a.Anchored = true
5313
    a.BrickColor = bc("White")
5314
a.Material = "Neon"
5315
a.Transparency = 0
5316
a.Shape = "Cylinder"
5317
    a.CanCollide = false
5318
local a2 = Instance.new("Part",Character)
5319
    a2.Name = "Direction"  
5320
    a2.Anchored = true
5321
    a2.BrickColor = bc("Bright yellow")
5322
a2.Material = "Neon"
5323
a2.Transparency = 0
5324
a2.Shape = "Cylinder"
5325
    a2.CanCollide = false
5326
local b = Instance.new("Part",Character)
5327
    b.Name = "HitDirect"   
5328
    b.Anchored = true
5329
    b.BrickColor = bc("Cool yellow")
5330
b.Material = "Neon"
5331
b.Transparency = 1
5332
    b.CanCollide = false
5333
    local ray = Ray.new(
5334
        elocacenter.CFrame.p,                           -- origin
5335
        (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
5336
    )
5337
    local ignore = Character
5338
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5339
    a.BottomSurface = 10
5340
    a.TopSurface = 10
5341
    a2.BottomSurface = 10
5342
    a2.TopSurface = 10
5343
    local distance = (elocacenter.CFrame.p - position).magnitude
5344
    a.Size = Vector3.new(distance, 1, 1)
5345
    a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5346
    a2.Size = Vector3.new(distance, 1, 1)
5347
    a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5348
b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
5349
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5350
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
5351
game:GetService("Debris"):AddItem(a, 10)
5352
game:GetService("Debris"):AddItem(a2, 10)
5353
game:GetService("Debris"):AddItem(b, 10)
5354
local msh = Instance.new("SpecialMesh",a)
5355
msh.MeshType = "Cylinder"
5356
msh.Scale = vt(1,2,2)
5357
local msh2 = Instance.new("SpecialMesh",a2)
5358
msh2.MeshType = "Cylinder"
5359
msh2.Scale = vt(1,2.5,2.5)
5360
CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
5361
coroutine.resume(coroutine.create(function()
5362
for i = 0,10,0.1 do
5363
swait()
5364
msh.Scale = msh.Scale + vt(0,0.05,0.05)
5365
a.Transparency = a.Transparency + 0.025
5366
msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
5367
a2.Transparency = a2.Transparency + 0.05
5368
end
5369
a:Destroy()
5370
a2:Destroy()
5371
end))
5372
CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
5373
CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
5374
CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
5375
CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
5376
CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
5377
CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
5378
MagniDamage(b, 25, 40,65, 0, "Normal")
5379
for i = 0, 49 do
5380
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)
5381
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)
5382
end
5383
sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
5384
sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
5385
sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5386
sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5387
sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5388
sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5389
end))
5390
game:GetService("Debris"):AddItem(elocacenter, 5)
5391
hum.WalkSpeed = storehumanoidWS
5392
attack = false
5393
end
5394
 
5395
function StarDivision()
5396
attack = true
5397
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
5398
for i = 0, 2, 0.1 do
5399
swait()
5400
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)
5401
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)
5402
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)
5403
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)
5404
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
5405
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)
5406
end
5407
local orb = Instance.new("Part", char)
5408
        orb.BrickColor = MAINRUINCOLOR
5409
        orb.CanCollide = false
5410
        orb.FormFactor = 3
5411
        orb.Name = "Ring"
5412
        orb.Material = "Neon"
5413
        orb.Size = Vector3.new(1, 1, 1)
5414
        orb.Transparency = 0
5415
        orb.TopSurface = 0
5416
        orb.BottomSurface = 0
5417
        local orbm = Instance.new("SpecialMesh", orb)
5418
        orbm.MeshType = "Sphere"
5419
orbm.Name = "SizeMesh"
5420
orbm.Scale = vt(2,2,2)
5421
local a = Instance.new("Part",workspace)
5422
    a.Name = "Direction"   
5423
    a.Anchored = true
5424
    a.BrickColor = bc("Bright red")
5425
a.Material = "Neon"
5426
a.Transparency = 1
5427
    a.CanCollide = false
5428
    local ray = Ray.new(
5429
        sorb.CFrame.p,                           -- origin
5430
        (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
5431
    )
5432
    local ignore = sorb
5433
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5434
    a.BottomSurface = 10
5435
    a.TopSurface = 10
5436
    local distance = (sorb.CFrame.p - position).magnitude
5437
    a.Size = Vector3.new(0.1, 0.1, 0.1)
5438
    a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
5439
orb.CFrame = a.CFrame
5440
a:Destroy()
5441
local bv = Instance.new("BodyVelocity")
5442
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5443
bv.velocity = orb.CFrame.lookVector*100
5444
bv.Parent = orb
5445
local hitted = false
5446
game:GetService("Debris"):AddItem(orb, 10)
5447
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
5448
CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
5449
CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
5450
CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
5451
CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
5452
coroutine.resume(coroutine.create(function()
5453
while true do
5454
swait(1)
5455
if orb.Parent ~= nil and hitted == false then
5456
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)
5457
elseif orb.Parent == nil then
5458
break
5459
end
5460
end
5461
end))
5462
coroutine.resume(coroutine.create(function()
5463
swait(1)
5464
orb.Touched:connect(function(hit)
5465
if hitted == false then
5466
hitted = true
5467
game:GetService("Debris"):AddItem(orb, 5)
5468
orb.Transparency = 1
5469
orb.Anchored = true
5470
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5471
elocacenter.Anchored = true
5472
elocacenter.CFrame = orb.CFrame
5473
elocacenter.Orientation = vt(0,0,0)
5474
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5475
eloca1.Anchored = true
5476
eloca1.CFrame = elocacenter.CFrame
5477
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5478
eloca2.Anchored = true
5479
eloca2.CFrame = elocacenter.CFrame
5480
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5481
eloca3.Anchored = true
5482
eloca3.CFrame = elocacenter.CFrame
5483
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5484
eloca4.Anchored = true
5485
eloca4.CFrame = elocacenter.CFrame
5486
local lookavec = 0
5487
local speeds = 0
5488
CameraEnshaking(1,1)
5489
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
5490
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5491
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5492
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5493
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5494
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5495
for i = 0, 99 do
5496
swait()
5497
lookavec = lookavec + 1
5498
speeds = speeds + 0.1
5499
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5500
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5501
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)
5502
 
5503
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5504
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)
5505
 
5506
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5507
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)
5508
 
5509
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5510
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)
5511
end
5512
 
5513
for i = 0, 149 do
5514
swait()
5515
speeds = speeds + 0.1
5516
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5517
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5518
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)
5519
 
5520
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5521
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)
5522
 
5523
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5524
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)
5525
 
5526
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5527
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)
5528
end
5529
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
5530
if v:FindFirstChild('Head') then
5531
dmg(v)
5532
end
5533
end
5534
CameraEnshaking(7,30)
5535
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
5536
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
5537
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
5538
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
5539
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
5540
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
5541
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
5542
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5543
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5544
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5545
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5546
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5547
for i = 0, 24 do
5548
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)
5549
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)
5550
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)
5551
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)
5552
end
5553
coroutine.resume(coroutine.create(function()
5554
for i = 0, 499 do
5555
swait(1)
5556
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
5557
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)
5558
end
5559
elocacenter:Destroy()
5560
eloca1:Destroy()
5561
eloca2:Destroy()
5562
eloca3:Destroy()
5563
eloca4:Destroy()
5564
end))
5565
end
5566
end)
5567
end))
5568
attack = false
5569
end
5570
 
5571
 
5572
function THE_TRUE_POWER_OF_VIOLENCE()
5573
attack = true
5574
hum.WalkSpeed = 0
5575
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
5576
for i = 0, 10, 0.1 do
5577
swait()
5578
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)
5579
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)
5580
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)
5581
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)
5582
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
5583
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5584
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)
5585
end
5586
local orb = Instance.new("Part", char)
5587
        orb.BrickColor = MAINRUINCOLOR
5588
        orb.CanCollide = false
5589
        orb.FormFactor = 3
5590
        orb.Name = "Ring"
5591
        orb.Material = "Neon"
5592
        orb.Size = Vector3.new(1, 1, 1)
5593
        orb.Transparency = 0
5594
        orb.TopSurface = 0
5595
        orb.BottomSurface = 0
5596
orb.CFrame = sorb.CFrame
5597
        local orbm = Instance.new("SpecialMesh", orb)
5598
        orbm.MeshType = "Sphere"
5599
orbm.Name = "SizeMesh"
5600
orbm.Scale = vt(0,0,0)
5601
        local sbs = Instance.new("BodyPosition", orb)
5602
        sbs.P = 3000
5603
        sbs.D = 1000
5604
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5605
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
5606
CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
5607
sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5608
sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5609
sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5610
sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5611
sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5612
for i = 0, 10, 0.1 do
5613
swait()
5614
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)
5615
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)
5616
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)
5617
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)
5618
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5619
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5620
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)
5621
end
5622
orb.Anchored = true
5623
local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5624
elocacenter.Anchored = true
5625
elocacenter.CFrame = orb.CFrame
5626
elocacenter.Orientation = vt(0,0,0)
5627
local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5628
eloca1.Anchored = true
5629
eloca1.CFrame = elocacenter.CFrame
5630
local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5631
eloca2.Anchored = true
5632
eloca2.CFrame = elocacenter.CFrame
5633
local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5634
eloca3.Anchored = true
5635
eloca3.CFrame = elocacenter.CFrame
5636
local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5637
eloca4.Anchored = true
5638
eloca4.CFrame = elocacenter.CFrame
5639
local lookavec = 0
5640
local speeds = 0
5641
CameraEnshaking(1,1)
5642
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
5643
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
5644
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
5645
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
5646
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5647
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5648
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5649
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5650
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5651
for i = 0, 99 do
5652
swait()
5653
lookavec = lookavec + 2.5
5654
speeds = speeds + 0.25
5655
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5656
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5657
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)
5658
 
5659
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5660
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)
5661
 
5662
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5663
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)
5664
 
5665
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5666
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)
5667
end
5668
 
5669
for i = 0, 149 do
5670
swait()
5671
speeds = speeds + 0.25
5672
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5673
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5674
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)
5675
 
5676
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5677
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)
5678
 
5679
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5680
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)
5681
 
5682
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5683
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)
5684
end
5685
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
5686
for i = 0, 99 do
5687
swait()
5688
lookavec = lookavec - 2.5
5689
speeds = speeds + 0.25
5690
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5691
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5692
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)
5693
 
5694
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5695
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)
5696
 
5697
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5698
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)
5699
 
5700
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5701
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)
5702
end
5703
local scaled = 0.1*75
5704
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
5705
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
5706
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
5707
CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
5708
CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
5709
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
5710
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5711
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5712
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5713
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5714
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5715
for i = 0, 10, 0.1 do
5716
swait()
5717
scaled = scaled - 0.001*75
5718
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
5719
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)
5720
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)
5721
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)
5722
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)
5723
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5724
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5725
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)
5726
end
5727
for x = 0, 4 do
5728
for i = 0, 9 do
5729
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)
5730
end
5731
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
5732
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
5733
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5734
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5735
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5736
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5737
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5738
for i = 0, 5, 0.1 do
5739
swait()
5740
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)
5741
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)
5742
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)
5743
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)
5744
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)
5745
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
5746
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
5747
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
5748
end
5749
end
5750
local speedearn = 0
5751
CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
5752
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
5753
CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
5754
for i = 0, 30, 0.1 do
5755
swait()
5756
scaled = scaled - 0.001*75/10
5757
speedearn = speedearn + 0.5
5758
for i = 0, 4 do
5759
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)
5760
end
5761
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)
5762
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
5763
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)
5764
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)
5765
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)
5766
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)
5767
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)
5768
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
5769
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
5770
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
5771
end
5772
orb.Transparency = 1
5773
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
5774
if v:FindFirstChild('Head') then
5775
dmg(v)
5776
end
5777
end
5778
CameraEnshaking(7,30)
5779
MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
5780
CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
5781
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
5782
CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
5783
CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
5784
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5785
CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
5786
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
5787
CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
5788
CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
5789
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
5790
CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
5791
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
5792
CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
5793
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5794
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5795
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5796
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5797
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5798
for i = 0, 99 do
5799
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)
5800
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)
5801
end
5802
for i = 0, 24 do
5803
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)
5804
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)
5805
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)
5806
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)
5807
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)
5808
end
5809
game:GetService("Debris"):AddItem(orb, 10)
5810
hum.WalkSpeed = storehumanoidWS
5811
attack = false
5812
end
5813
 
5814
 
5815
function ViolentRing()
5816
attack = true
5817
CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
5818
for i = 0, 2, 0.1 do
5819
swait()
5820
local snap = math.random(1,10)
5821
if snap == 1 then
5822
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)
5823
end
5824
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)
5825
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)
5826
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)
5827
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)
5828
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)
5829
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)
5830
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
5831
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
5832
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)
5833
RootPart.CFrame = FaceMouse()[1]
5834
end
5835
local orb = Instance.new("Part", char)
5836
        orb.BrickColor = MAINRUINCOLOR
5837
        orb.CanCollide = false
5838
        orb.FormFactor = 3
5839
        orb.Name = "Ring"
5840
        orb.Material = "Neon"
5841
        orb.Size = Vector3.new(1, 1, 1)
5842
        orb.Transparency = 0
5843
        orb.TopSurface = 0
5844
        orb.BottomSurface = 0
5845
        local orbm = Instance.new("SpecialMesh", orb)
5846
        orbm.MeshType = "Sphere"
5847
orbm.Name = "SizeMesh"
5848
orbm.Scale = vt(2,2,2)
5849
orb.CFrame = mouse.Hit
5850
local bv = Instance.new("BodyVelocity")
5851
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5852
bv.velocity = orb.CFrame.lookVector*100
5853
bv.Parent = orb
5854
local hitted = false
5855
coroutine.resume(coroutine.create(function()
5856
game:GetService("Debris"):AddItem(orb, 5)
5857
orb.Transparency = 1
5858
orb.Anchored = true
5859
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5860
elocacenter.Anchored = true
5861
elocacenter.CFrame = orb.CFrame
5862
elocacenter.Orientation = vt(0,0,0)
5863
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5864
eloca1.Anchored = true
5865
eloca1.CFrame = elocacenter.CFrame
5866
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5867
eloca2.Anchored = true
5868
eloca2.CFrame = elocacenter.CFrame
5869
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5870
eloca3.Anchored = true
5871
eloca3.CFrame = elocacenter.CFrame
5872
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
5873
eloca4.Anchored = true
5874
eloca4.CFrame = elocacenter.CFrame
5875
local lookavec = 0
5876
local speeds = 0
5877
CameraEnshaking(1,1)
5878
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
5879
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5880
sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5881
sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5882
sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5883
sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5884
for i = 0, 24 do
5885
swait()
5886
lookavec = lookavec + 3.5
5887
speeds = speeds + 1
5888
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5889
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5890
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)
5891
 
5892
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5893
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)
5894
 
5895
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5896
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)
5897
 
5898
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5899
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)
5900
end
5901
 
5902
local risen = 0
5903
for i = 0, 49 do
5904
swait()
5905
risen = risen + 0.05
5906
speeds = speeds + 0.1
5907
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5908
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
5909
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)
5910
 
5911
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
5912
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)
5913
 
5914
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
5915
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)
5916
 
5917
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
5918
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)
5919
end
5920
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
5921
if v:FindFirstChild('Head') then
5922
dmg(v)
5923
end
5924
end
5925
CameraEnshaking(4,10)
5926
MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
5927
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
5928
CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
5929
CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
5930
CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
5931
CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
5932
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
5933
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
5934
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5935
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5936
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5937
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5938
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5939
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
5940
for i = 0, 24 do
5941
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)
5942
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)
5943
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)
5944
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)
5945
end
5946
coroutine.resume(coroutine.create(function()
5947
wait(10)
5948
elocacenter:Destroy()
5949
eloca1:Destroy()
5950
eloca2:Destroy()
5951
eloca3:Destroy()
5952
eloca4:Destroy()
5953
end))
5954
end))
5955
attack = false
5956
end
5957
 
5958
function UniversalCollapse()
5959
attack = true
5960
local speedearn = 0
5961
hum.WalkSpeed = 0
5962
        local sbs = Instance.new("BodyPosition", root)
5963
        sbs.P = 3000
5964
        sbs.D = 1000
5965
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5966
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
5967
CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
5968
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
5969
for i = 0, 110, 0.1 do
5970
swait()
5971
speedearn = speedearn + 0.1
5972
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)
5973
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)
5974
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)
5975
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)
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
sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
5978
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)
5979
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)
5980
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)
5981
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
5982
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)
5983
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)
5984
end
5985
CameraEnshaking(5,50)
5986
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
5987
for i = 0, 2 do
5988
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
5989
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5990
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
5991
CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
5992
end
5993
for i = 0, 49 do
5994
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)
5995
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)
5996
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)
5997
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)
5998
end
5999
sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6000
sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6001
sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6002
sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6003
sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6004
sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6005
sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6006
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6007
sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6008
sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6009
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6010
sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6011
for i = 0, 99 do
6012
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)
6013
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)
6014
end
6015
for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
6016
if v:FindFirstChild('Head') then
6017
dmg(v)
6018
end
6019
end
6020
MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
6021
sbs:Destroy()
6022
hum.WalkSpeed = storehumanoidWS
6023
attack = false
6024
end
6025
 
6026
function th1rt3en_trans()
6027
    storehumanoidWS = 275
6028
    hum.WalkSpeed = 0
6029
    attack=true
6030
    newThemeCust("rbxassetid://723652641",0,1,1.25)
6031
   
6032
    repeat
6033
        swait()
6034
        local snap = math.random(1,10)
6035
        if snap == 1 then
6036
        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)
6037
        end
6038
        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)
6039
        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)
6040
        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)
6041
        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)
6042
        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)
6043
        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)
6044
 
6045
    until kan.TimePosition > 2.4
6046
    for i = 0, 5, .1 do
6047
        swait()
6048
        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)
6049
        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)
6050
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6051
        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)
6052
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6053
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6054
        modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6055
        modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
6056
        fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6057
    end
6058
   
6059
    repeat
6060
        swait()
6061
        modet.Position = UDim2.new(0,0,0,0)
6062
        fullscreenz.Position = UDim2.new(0,0,0,0)
6063
        modet.Rotation = -5 * math.cos(sine / 32)
6064
        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)
6065
        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)
6066
        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)
6067
        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)
6068
        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)
6069
        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)
6070
    until kan.TimePosition > 6.5
6071
    for i = 0, 5, .1 do
6072
        swait()
6073
        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)
6074
        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)
6075
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6076
        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)
6077
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6078
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6079
        modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6080
        modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
6081
        fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6082
    end
6083
    bosschatfunc("Look at my hands..",MAINRUINCOLOR.Color,2)
6084
    for i = 0, 10, .1 do
6085
        modet.Position = UDim2.new(0,0,0,0)
6086
        modet.Rotation = -5 * math.cos(sine / 32)
6087
        fullscreenz.Position = UDim2.new(0,0,0,0)
6088
        swait()
6089
        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)
6090
        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)
6091
        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)
6092
        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)
6093
        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)
6094
        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)
6095
    end
6096
    bosschatfunc("They're shaking..",MAINRUINCOLOR.Color,2)
6097
    for i = 0, 6, .1 do
6098
        swait()
6099
        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)
6100
        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)
6101
        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)
6102
        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)
6103
        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)
6104
        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)
6105
    end
6106
    bosschatfunc("All my body is shaking..",MAINRUINCOLOR.Color,2)
6107
    for i = 0, 24, .1 do
6108
        swait()
6109
        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)
6110
        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)
6111
        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)
6112
        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)
6113
        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)
6114
        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)
6115
    end
6116
    bosschatfunc("He was there!",MAINRUINCOLOR.Color,2)
6117
    for i = 0, 5, .1 do
6118
        swait()
6119
        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)
6120
        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)
6121
        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)
6122
        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)
6123
        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)
6124
        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)
6125
    end
6126
    for i = 0, 6, .1 do
6127
        swait()
6128
        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)
6129
        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)
6130
        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)
6131
        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)
6132
        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)
6133
        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)
6134
    end
6135
    bosschatfunc("But I was watching him, through the mirror..",MAINRUINCOLOR.Color,2)
6136
    for i = 0, 9, .1 do
6137
        swait()
6138
        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)
6139
        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)
6140
        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)
6141
        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)
6142
        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)
6143
        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)
6144
    end
6145
    bosschatfunc("I knew he was looking at me..",MAINRUINCOLOR.Color,2)
6146
    for i = 0, 11, .1 do
6147
        swait()
6148
        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)
6149
        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)
6150
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6151
        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)
6152
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6153
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6154
    end
6155
    bosschatfunc("Two invisible eyes..",MAINRUINCOLOR.Color,2)
6156
    for i = 0, 10, .1 do
6157
        swait()
6158
        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)
6159
        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)
6160
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6161
        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)
6162
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6163
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6164
    end
6165
    local inc = 0
6166
    bosschatfunc("Two invisible--",MAINRUINCOLOR.Color,2)
6167
    for i = 0, 6, .1 do
6168
        swait()
6169
        inc=inc+1
6170
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6171
        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)
6172
        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)
6173
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4)
6174
        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)
6175
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6176
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6177
    end
6178
    CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25)
6179
    for i = 0, 3, .1 do
6180
        swait()
6181
        inc=inc+1
6182
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6183
        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)
6184
        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)
6185
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6186
        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)
6187
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6188
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4)
6189
    end
6190
    CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1)
6191
    for i = 0, 3, .1 do
6192
        swait()
6193
        inc=inc+1
6194
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6195
        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)
6196
        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)
6197
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6198
        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)
6199
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4)
6200
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6201
    end
6202
    for i = 0, 6, .1 do
6203
        swait()
6204
        inc=inc+5
6205
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6206
        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)
6207
        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)
6208
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6209
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4)
6210
        RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
6211
        LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
6212
    end
6213
    fullscreenz.Position = UDim2.new(0,0,0,0)
6214
    attack=false
6215
    MAINRUINCOLOR = BrickColor.new("Really black")
6216
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6217
for i = 0, 49 do
6218
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)
6219
end
6220
for i = 0, 24 do
6221
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)
6222
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"))
6223
end
6224
for i = 0,3,0.1 do
6225
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)
6226
end
6227
currentVol=5
6228
    Humanoid.WalkSpeed = storehumanoidWS
6229
               ModeOfGlitch = 738
6230
rainbowmode = false
6231
chaosmode = false
6232
RecolorTextAndRename("INFINITE",Color3.new(0.1,.1,.1),BrickColor.new("Really black").Color,"Antique")
6233
 
6234
 MAINRUINCOLOR = BrickColor.new("Really black")
6235
warnedpeople("DEPTHS OF HELL!!!","Antique",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color)
6236
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.9,BrickColor.new("Dark stone grey"),0,BrickColor.new("Black"),true)
6237
end
6238
 
6239
function hugg()
6240
attack = true
6241
hum.WalkSpeed = 5
6242
local rsiz = math.random(5,15)
6243
for i = 0, 2, 0.1 do
6244
swait()
6245
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)
6246
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)
6247
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)
6248
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)
6249
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
6250
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
6251
end
6252
CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
6253
    local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6254
    hb.Anchored = true
6255
    hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6256
local huggedperson = nil
6257
local act = false
6258
local alreadydid = false
6259
for i = 0, 3, 0.1 do
6260
swait()
6261
if act == false then
6262
for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
6263
if v:FindFirstChild('Head') then
6264
if alreadydid == false then
6265
huggedperson = v
6266
hum.WalkSpeed = 0
6267
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6268
CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
6269
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
6270
CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
6271
local radm = math.random(1,3)
6272
if radm == 1 then
6273
bosschatfunc2("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
6274
elseif radm == 2 then
6275
bosschatfunc2("I..I'm interested in you..",MAINRUINCOLOR.Color,1)
6276
elseif radm == 3 then
6277
bosschatfunc2("Don't worry.. I'm with you..",MAINRUINCOLOR.Color,1)
6278
end
6279
root.Anchored = true
6280
coroutine.resume(coroutine.create(function()
6281
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
6282
huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
6283
end))
6284
chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
6285
alreadydid = true
6286
act = true
6287
print(huggedperson.Name)
6288
end
6289
end
6290
end
6291
hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6292
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)
6293
elseif act == true then
6294
coroutine.resume(coroutine.create(function()
6295
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6296
end))
6297
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)
6298
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6299
end
6300
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)
6301
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)
6302
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)
6303
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6304
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6305
end
6306
hb:Destroy()
6307
if act == true then
6308
for x = 0, 2 do
6309
for i = 0, 2, 0.1 do
6310
swait()
6311
coroutine.resume(coroutine.create(function()
6312
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6313
end))
6314
rsiz = math.random(5,15)
6315
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)
6316
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6317
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)
6318
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)
6319
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)
6320
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6321
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6322
end
6323
for i = 0, 2, 0.1 do
6324
swait()
6325
coroutine.resume(coroutine.create(function()
6326
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6327
end))
6328
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)
6329
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6330
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)
6331
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)
6332
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)
6333
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6334
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6335
end
6336
end
6337
end
6338
hum.WalkSpeed = storehumanoidWS
6339
root.Anchored = false
6340
if act == true then
6341
coroutine.resume(coroutine.create(function()
6342
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
6343
huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
6344
end))
6345
end
6346
hum.WalkSpeed = storehumanoidWS
6347
attack = false
6348
end
6349
 
6350
function lovesqueal()
6351
attack = true
6352
hum.WalkSpeed = 0
6353
CFuncs["Sound"].Create("rbxassetid://2500548008", root, 1, 1)
6354
local blush = Instance.new("Decal",hed)
6355
blush.Texture = "rbxassetid://898404027"
6356
blush.Face = "Front"
6357
for i = 0, 11, 0.1 do
6358
    swait()
6359
    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)
6360
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)
6361
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)
6362
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)
6363
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)
6364
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)
6365
end
6366
for x = 0, 1 do
6367
for i = 0, 1, 0.2 do
6368
    swait()
6369
    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)
6370
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)
6371
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)
6372
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)
6373
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)
6374
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)
6375
end
6376
for i = 0, 1, 0.2 do
6377
    swait()
6378
    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)
6379
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)
6380
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)
6381
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)
6382
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)
6383
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)
6384
end
6385
end
6386
coroutine.resume(coroutine.create(function()
6387
for i = 0, 49 do
6388
swait()
6389
blush.Transparency = blush.Transparency + 0.02
6390
end
6391
blush:Destroy()
6392
end))
6393
attack = false
6394
hum.WalkSpeed = storehumanoidWS
6395
end
6396
 
6397
function cutesigh()
6398
attack = true
6399
hum.WalkSpeed = 0
6400
hum.JumpPower = 0
6401
bosschatfunc2("sigh~~",MAINRUINCOLOR.Color,1)
6402
local blush = Instance.new("Decal",hed)
6403
blush.Texture = "rbxassetid://898404027"
6404
blush.Face = "Front"
6405
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6406
for i = 0, 9, 0.1 do
6407
swait()
6408
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)
6409
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)
6410
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)
6411
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)
6412
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)
6413
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)
6414
end
6415
coroutine.resume(coroutine.create(function()
6416
for i = 0, 49 do
6417
swait()
6418
blush.Transparency = blush.Transparency + 0.02
6419
end
6420
blush:Destroy()
6421
end))
6422
hum.WalkSpeed = storehumanoidWS
6423
hum.JumpPower = 50
6424
attack = false
6425
end
6426
 
6427
 
6428
 
6429
function ChaosEND()
6430
attack = true
6431
local speedearn = 0
6432
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
6433
for i = 0, 15, 0.1 do
6434
swait()
6435
speedearn = speedearn + 0.25
6436
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)
6437
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)
6438
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)
6439
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)
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
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)
6442
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)
6443
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
6444
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
6445
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
6446
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
6447
end
6448
CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
6449
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
6450
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
6451
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
6452
CameraEnshaking(5,25)
6453
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
6454
if v:FindFirstChild('Head') then
6455
dmg(v)
6456
end
6457
end
6458
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
6459
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
6460
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
6461
for i = 0, 3, 0.1 do
6462
swait()
6463
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)
6464
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)
6465
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)
6466
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)
6467
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)
6468
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)
6469
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
6470
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
6471
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
6472
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
6473
end
6474
attack = false
6475
end
6476
 
6477
function createBGCircle(size,parent,color)
6478
local bgui = Instance.new("BillboardGui",parent)
6479
bgui.Size = UDim2.new(size, 0, size, 0)
6480
local imgc = Instance.new("ImageLabel",bgui)
6481
imgc.BackgroundTransparency = 1
6482
imgc.ImageTransparency = 0
6483
imgc.Size = UDim2.new(1,0,1,0)
6484
imgc.Image = "rbxassetid://997291547" --997291547,521073910
6485
imgc.ImageColor3 = color
6486
return bgui,imgc
6487
end
6488
 
6489
 
6490
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
6491
local bgui,imgc = createBGCircle(size,guipar,color)
6492
bgui.AlwaysOnTop = true
6493
imgc.Image = "rbxassetid://" ..img
6494
local rrot = math.random(1,2)
6495
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
6496
coroutine.resume(coroutine.create(function()
6497
for i = 0, 24*delay do
6498
swait()
6499
if rotationenabled == true then
6500
if rrot == 1 then
6501
imgc.Rotation = imgc.Rotation + rotsp
6502
elseif rrot == 2 then
6503
imgc.Rotation = imgc.Rotation - rotsp
6504
end
6505
end
6506
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
6507
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
6508
end
6509
bgui:Destroy()
6510
end))
6511
end
6512
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
6513
for i, v in pairs(mw2:GetChildren()) do
6514
if v:IsA("Part") then
6515
v.BrickColor = one
6516
v.Material = "Neon"
6517
end
6518
end
6519
CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
6520
symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
6521
symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
6522
tr1.Color = ColorSequence.new(one.Color)
6523
tr2.Color = ColorSequence.new(one.Color)
6524
tr3.Color = ColorSequence.new(one.Color)
6525
for i, v in pairs(mw1:GetChildren()) do
6526
if v:IsA("Part") then
6527
if secondaryenabled == false then
6528
v.Transparency = 1
6529
elseif secondaryenabled == true then
6530
v.Transparency = 0
6531
end
6532
v.BrickColor = two
6533
v.Material = "Neon"
6534
end
6535
end
6536
if secondaryenabled == false then
6537
tl1.Enabled = false
6538
tl2.Enabled = false
6539
tl3.Enabled = false
6540
elseif secondaryenabled == true then
6541
tl1.Enabled = true
6542
tl2.Enabled = true
6543
tl3.Enabled = true
6544
end
6545
tl1.Color = ColorSequence.new(two.Color)
6546
tl2.Color = ColorSequence.new(two.Color)
6547
tl3.Color = ColorSequence.new(two.Color)
6548
for i, v in pairs(m:GetChildren()) do
6549
if v:IsA("Part") then
6550
v.BrickColor = three
6551
v.Material = "Ice"
6552
end
6553
end
6554
for i, v in pairs(m2:GetChildren()) do
6555
if v:IsA("Part") then
6556
v.BrickColor = four
6557
v.Material = "Ice"
6558
end
6559
end
6560
for i, v in pairs(m3:GetChildren()) do
6561
if v:IsA("Part") then
6562
v.BrickColor = five
6563
v.Material = "Neon"
6564
end
6565
end
6566
for i, v in pairs(extrawingmod1:GetChildren()) do
6567
if v:IsA("Part") then
6568
v.Transparency = exonetran
6569
v.BrickColor = exone
6570
v.Material = "Neon"
6571
end
6572
end
6573
for i, v in pairs(extrawingmod2:GetChildren()) do
6574
if v:IsA("Part") then
6575
v.Transparency = extwotran
6576
v.BrickColor = extwo
6577
v.Material = "Neon"
6578
end
6579
end
6580
end
6581
 
6582
 
6583
function normalmog()
6584
attack = true
6585
hum.WalkSpeed = 0
6586
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
6587
for i = 0,6,0.1 do
6588
swait()
6589
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)
6590
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)
6591
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)
6592
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)
6593
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
6594
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)
6595
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
6596
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
6597
end
6598
CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
6599
CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
6600
CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
6601
CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
6602
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
6603
CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
6604
CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
6605
rainbowmode = false
6606
chaosmode = false
6607
ModeOfGlitch = 1
6608
storehumanoidWS = 16
6609
newTheme("rbxassetid://614032233",48.6,1,1.25)
6610
RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
6611
CameraEnshaking(5,2.5)
6612
MAINRUINCOLOR = BrickColor.new("Really red")
6613
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6614
for i = 0, 49 do
6615
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)
6616
end
6617
for i = 0, 24 do
6618
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)
6619
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"))
6620
end
6621
for i = 0,3,0.1 do
6622
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)
6623
end
6624
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
6625
for i = 0,2,0.1 do
6626
swait()
6627
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)
6628
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)
6629
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
6630
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)
6631
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)
6632
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)
6633
end
6634
hum.WalkSpeed = storehumanoidWS
6635
attack = false
6636
end
6637
 
6638
function attackone()
6639
    attack = true
6640
    for i = 0,1,0.1 do
6641
        swait()
6642
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
6643
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
6644
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6645
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6646
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)
6647
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)
6648
    end
6649
    CFuncs["Sound"].Create("rbxassetid://1448033299", root, 1, 1)
6650
 
6651
local hitb = Instance.new("Part", char)
6652
        hitb.Anchored = true
6653
        hitb.CanCollide = false
6654
        hitb.FormFactor = 3
6655
        hitb.Name = "Ring"
6656
        hitb.Material = "Neon"
6657
        hitb.Size = Vector3.new(1, 1, 1)
6658
        hitb.Transparency = 1
6659
        hitb.TopSurface = 0
6660
        hitb.BottomSurface = 0
6661
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6662
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6663
hitb:Destroy()
6664
    for i = 0,1,0.1 do
6665
        swait()
6666
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
6667
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
6668
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
6669
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
6670
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)
6671
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)
6672
    end
6673
 
6674
    attack = false
6675
end
6676
 
6677
function attacktwo()
6678
    attack = true
6679
    for i = 0,1,0.1 do
6680
        swait()
6681
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
6682
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
6683
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
6684
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
6685
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)
6686
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)
6687
    end
6688
    CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
6689
local hitb = Instance.new("Part", char)
6690
        hitb.Anchored = true
6691
        hitb.CanCollide = false
6692
        hitb.FormFactor = 3
6693
        hitb.Name = "Ring"
6694
        hitb.Material = "Neon"
6695
        hitb.Size = Vector3.new(1, 1, 1)
6696
        hitb.Transparency = 1
6697
        hitb.TopSurface = 0
6698
        hitb.BottomSurface = 0
6699
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6700
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6701
hitb:Destroy()
6702
    for i = 0,1,0.1 do
6703
        swait()
6704
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
6705
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
6706
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
6707
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
6708
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)
6709
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)
6710
    end
6711
    attack = false
6712
end
6713
 
6714
function attackthree()
6715
    attack = true
6716
    for i = 0,1,0.1 do
6717
        swait()
6718
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
6719
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
6720
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6721
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
6722
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)
6723
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)
6724
    end
6725
    CFuncs["Sound"].Create("rbxassetid://1690476035", root, 1, 1)
6726
 
6727
local hitb = Instance.new("Part", char)
6728
        hitb.Anchored = true
6729
        hitb.CanCollide = false
6730
        hitb.FormFactor = 3
6731
        hitb.Name = "Ring"
6732
        hitb.Material = "Neon"
6733
        hitb.Size = Vector3.new(1, 1, 1)
6734
        hitb.Transparency = 1
6735
        hitb.TopSurface = 0
6736
        hitb.BottomSurface = 0
6737
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
6738
MagniDamage(hitb, 3, 10,30, 0, "Normal")
6739
hitb:Destroy()
6740
    for i = 0,1,0.1 do
6741
        swait()
6742
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
6743
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
6744
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
6745
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
6746
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)
6747
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)
6748
    end
6749
    attack = false
6750
end
6751
----------------------------------- Abilities
6752
function ExtinctiveHeartbreak()
6753
local targetted = nil
6754
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
6755
targetted = mouse.Target.Parent
6756
end
6757
if targetted ~= nil then
6758
attack = true
6759
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
6760
for i = 0, 9 do
6761
--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)
6762
end
6763
for i = 0, 24 do
6764
--
6765
end
6766
--sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6767
local originalpos = root.CFrame
6768
RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
6769
for i = 0, 9 do
6770
--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)
6771
end
6772
for i = 0, 24 do
6773
end
6774
hum.WalkSpeed = 0
6775
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6776
local radm = math.random(1,3)
6777
if radm == 1 then
6778
bosschatfunc("👎□ ⍓□◆ ⧫♒♓■& ⍓□◆ ♍♋■ ♏⬧♍♋◻♏✍",MAINRUINCOLOR.Color,2)
6779
elseif radm == 2 then
6780
bosschatfunc("GOTCHA!",MAINRUINCOLOR.Color,2)
6781
elseif radm == 3 then
6782
bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
6783
end
6784
for i = 0,2,0.1 do
6785
swait()
6786
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)
6787
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)
6788
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)
6789
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
6790
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)
6791
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)
6792
end
6793
CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
6794
CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
6795
for i = 0,2,0.1 do
6796
swait()
6797
coroutine.resume(coroutine.create(function()
6798
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
6799
for i,v in pairs(targetted:GetChildren()) do
6800
if v:IsA("Part") or v:IsA("MeshPart") then
6801
v.Velocity = vt(0,0,0)
6802
end
6803
end
6804
end))
6805
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)
6806
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)
6807
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)
6808
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
6809
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)
6810
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)
6811
end
6812
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
6813
CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
6814
for i = 0, 1 do
6815
CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
6816
end
6817
CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
6818
chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
6819
for i = 0,4,0.1 do
6820
swait()
6821
coroutine.resume(coroutine.create(function()
6822
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6823
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)))
6824
local at1 = Instance.new("Attachment",dis)
6825
at1.Position = vt(-25000,0,0)
6826
local at2 = Instance.new("Attachment",dis)
6827
at2.Position = vt(25000,0,0)
6828
local trl = Instance.new('Trail',dis)
6829
trl.Attachment0 = at1
6830
trl.FaceCamera = true
6831
trl.Attachment1 = at2
6832
trl.Texture = "rbxassetid://1049219073"
6833
trl.LightEmission = 1
6834
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6835
trl.Color = ColorSequence.new(Color3.new(1,0,0))
6836
trl.Lifetime = 5
6837
local bv = Instance.new("BodyVelocity")
6838
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6839
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6840
bv.Parent = dis
6841
game:GetService("Debris"):AddItem(dis, 5)
6842
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
6843
CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
6844
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
6845
CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
6846
CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
6847
CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
6848
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)
6849
targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
6850
for i = 0, 2 do
6851
--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"))
6852
end
6853
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)
6854
for i,v in pairs(targetted:GetChildren()) do
6855
if v:IsA("Part") or v:IsA("MeshPart") then
6856
v.Velocity = vt(0,0,0)
6857
end
6858
end
6859
end))
6860
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
6861
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)
6862
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)
6863
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)
6864
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
6865
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)
6866
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)
6867
end
6868
hum.CameraOffset = vt(0,0,0)
6869
for i = 0, 49 do
6870
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6871
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)))
6872
local at1 = Instance.new("Attachment",dis)
6873
at1.Position = vt(-50000,0,0)
6874
local at2 = Instance.new("Attachment",dis)
6875
at2.Position = vt(50000,0,0)
6876
local trl = Instance.new('Trail',dis)
6877
trl.Attachment0 = at1
6878
trl.FaceCamera = true
6879
trl.Attachment1 = at2
6880
trl.Texture = "rbxassetid://1049219073"
6881
trl.LightEmission = 1
6882
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6883
trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
6884
trl.Lifetime = 5
6885
local bv = Instance.new("BodyVelocity")
6886
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
6887
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6888
bv.Parent = dis
6889
game:GetService("Debris"):AddItem(dis, 5)
6890
end
6891
for i = 0, 49 do
6892
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)
6893
--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"))
6894
end
6895
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
6896
for i = 0, 1 do
6897
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
6898
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
6899
end
6900
for i = 0, 4 do
6901
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
6902
end
6903
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
6904
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
6905
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
6906
dmg(targetted)
6907
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
6908
for i = 0, 9 do
6909
--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)
6910
end
6911
for i = 0, 24 do
6912
end
6913
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6914
root.CFrame = originalpos
6915
for i = 0, 9 do
6916
--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)
6917
end
6918
for i = 0, 24 do
6919
end
6920
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6921
attack = false
6922
hum.WalkSpeed = storehumanoidWS
6923
end
6924
end
6925
 
6926
 
6927
function CorruptionEvent()
6928
attack = true
6929
hum.WalkSpeed = 0
6930
CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
6931
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
6932
local keptcolor = MAINRUINCOLOR
6933
for i = 0,4,0.1 do
6934
swait()
6935
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6936
block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6937
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)
6938
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)
6939
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
6940
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
6941
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
6942
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
6943
end
6944
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
6945
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
6946
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
6947
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
6948
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
6949
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
6950
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
6951
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
6952
hum.CameraOffset = vt(0,0,0)
6953
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6954
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6955
for i = 0, 24 do
6956
--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"))
6957
end
6958
local rrot = 0
6959
coroutine.resume(coroutine.create(function()
6960
for i = 0, 4 do
6961
rrot = rrot + 45
6962
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6963
xa.Anchored = true
6964
local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6965
xb.Anchored = true
6966
local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6967
xc.Anchored = true
6968
local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6969
xd.Anchored = true
6970
CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
6971
CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
6972
CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
6973
CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
6974
CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
6975
CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
6976
CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
6977
CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
6978
CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
6979
CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
6980
CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
6981
CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
6982
xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
6983
xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
6984
xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
6985
xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
6986
MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6987
MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6988
MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6989
MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6990
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6991
block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6992
block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6993
block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6994
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)
6995
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)
6996
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)
6997
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)
6998
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))
6999
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))
7000
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))
7001
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))
7002
game:GetService("Debris"):AddItem(xa, 5)
7003
game:GetService("Debris"):AddItem(xb, 5)
7004
game:GetService("Debris"):AddItem(xc, 5)
7005
game:GetService("Debris"):AddItem(xd, 5)
7006
coroutine.resume(coroutine.create(function()
7007
for i = 0, 19 do
7008
swait()
7009
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7010
end
7011
hum.CameraOffset = vt(0,0,0)
7012
end))
7013
swait(9)
7014
end
7015
end))
7016
for i = 0,2,0.1 do
7017
swait()
7018
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)
7019
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)
7020
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
7021
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
7022
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
7023
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7024
end
7025
attack = false
7026
hum.WalkSpeed = storehumanoidWS
7027
end
7028
 
7029
function EndGROUND()
7030
    attack = true
7031
hum.WalkSpeed = 0
7032
bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
7033
--CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
7034
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
7035
CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
7036
CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
7037
local keptcolor = MAINRUINCOLOR
7038
for i = 0,4,0.1 do
7039
swait()
7040
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7041
block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7042
--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"))
7043
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)
7044
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)
7045
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
7046
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
7047
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
7048
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
7049
end
7050
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
7051
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
7052
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
7053
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
7054
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
7055
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
7056
coroutine.resume(coroutine.create(function()
7057
    local shval = 10
7058
    for i = 0, 99 do
7059
        swait()
7060
        shval = shval - 0.1
7061
        hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
7062
    end
7063
    hum.CameraOffset = vt(0,0,0)
7064
end))
7065
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7066
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7067
for i = 0, 24 do
7068
--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"))
7069
end
7070
local rrot = 0
7071
local xam = 1
7072
coroutine.resume(coroutine.create(function()
7073
for i = 0, 14 do
7074
--swait()
7075
rrot = rrot + 40*xam
7076
xam = xam + 0.25
7077
local bonus = xam
7078
local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
7079
xa.Anchored = true
7080
xa.Color = Color3.new(0,0,0)
7081
xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
7082
CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
7083
local xc = 0
7084
coroutine.resume(coroutine.create(function()
7085
for i = 0, 99 do
7086
    swait()
7087
    xc = xc + 0.01
7088
    xa.Color = Color3.new(xc,0,0)
7089
end
7090
xa.Transparency = 1
7091
CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
7092
MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
7093
for i = 0, 9 do
7094
--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"))
7095
end
7096
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)
7097
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)
7098
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))
7099
game:GetService("Debris"):AddItem(xa, 5)
7100
coroutine.resume(coroutine.create(function()
7101
for i = 0, 19 do
7102
swait()
7103
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7104
end
7105
hum.CameraOffset = vt(0,0,0)
7106
end))
7107
end))
7108
end
7109
end))
7110
for i = 0,2,0.1 do
7111
swait()
7112
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)
7113
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)
7114
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
7115
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
7116
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
7117
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7118
end
7119
attack = false
7120
hum.WalkSpeed = storehumanoidWS
7121
end
7122
 
7123
function HeavenlyDisk()
7124
attack = true
7125
hum.WalkSpeed = 2
7126
local keptcolor = MAINRUINCOLOR
7127
local radm = math.random(1,3)
7128
if radm == 1 then
7129
bosschatfunc("DONT COME TO ME CLOSER!",MAINRUINCOLOR.Color,1)
7130
elseif radm == 2 then
7131
bosschatfunc("LEAVE ME ALONE!",MAINRUINCOLOR.Color,1)
7132
elseif radm == 3 then
7133
bosschatfunc("WHY YOU REDUSE?!",MAINRUINCOLOR.Color,1)
7134
end
7135
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
7136
CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
7137
for i = 0, 14 do
7138
--
7139
end
7140
for i = 0,2,0.1 do
7141
swait()
7142
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)
7143
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)
7144
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)
7145
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7146
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
7147
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
7148
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
7149
end
7150
CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
7151
for i = 0,1,0.6 do
7152
swait()
7153
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)
7154
--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"))
7155
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)
7156
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)
7157
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
7158
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7159
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7160
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7161
end
7162
for i = 0,1,0.6 do
7163
swait()
7164
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)
7165
--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"))
7166
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)
7167
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)
7168
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
7169
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7170
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7171
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7172
end
7173
for i = 0,1,0.6 do
7174
swait()
7175
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)
7176
--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"))
7177
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)
7178
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)
7179
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
7180
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7181
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7182
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7183
end
7184
for i = 0,1,0.6 do
7185
swait()
7186
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)
7187
--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"))
7188
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)
7189
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)
7190
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
7191
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7192
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7193
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7194
end
7195
local rot = 15
7196
for i = 0, 2 do
7197
local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Really black"))
7198
CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
7199
dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
7200
CreateMesh(dis,"Sphere",10,1,10)
7201
local at1 = Instance.new("Attachment",dis)
7202
at1.Position = vt(-5,0,0)
7203
local at2 = Instance.new("Attachment",dis)
7204
at2.Position = vt(5,0,0)
7205
local trl = Instance.new('Trail',wed)
7206
trl.Attachment0 = at1
7207
trl.Attachment1 = at2
7208
trl.Texture = "rbxassetid://1049219073"
7209
trl.LightEmission = 1
7210
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7211
trl.Color = ColorSequence.new(dis.Color)
7212
trl.Lifetime = 0.6
7213
local a = Instance.new("Part",workspace)
7214
    a.Name = "Direction"   
7215
    a.Anchored = true
7216
    a.BrickColor = bc("Bright red")
7217
a.Material = "Neon"
7218
a.Transparency = 1
7219
    a.CanCollide = false
7220
    local ray = Ray.new(
7221
        dis.CFrame.p,                           -- origin
7222
        (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
7223
    )
7224
    local ignore = dis
7225
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7226
    a.BottomSurface = 10
7227
    a.TopSurface = 10
7228
    local distance = (dis.CFrame.p - position).magnitude
7229
    a.Size = Vector3.new(0.1, 0.1, 0.1)
7230
    a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
7231
dis.CFrame = a.CFrame
7232
dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
7233
a:Destroy()
7234
local bv = Instance.new("BodyVelocity")
7235
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7236
bv.velocity = dis.CFrame.lookVector*250
7237
bv.Parent = dis
7238
game:GetService("Debris"):AddItem(dis, 5)
7239
local hitted = false
7240
coroutine.resume(coroutine.create(function()
7241
dis.Touched:connect(function(hit)
7242
    if hitted == false and hit.Parent ~= char then
7243
    hitted = true
7244
    CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
7245
    MagniDamage(dis, 30, 82,34575, 0, "Normal")
7246
    --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
7247
    --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
7248
    --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
7249
    coroutine.resume(coroutine.create(function()
7250
        for i = 0, 9 do
7251
local disr = CreateParta(char,1,1,"Neon",keptcolor)
7252
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
7253
local at1 = Instance.new("Attachment",disr)
7254
at1.Position = vt(-2,0,0)
7255
local at2 = Instance.new("Attachment",disr)
7256
at2.Position = vt(2,0,0)
7257
local trl = Instance.new('Trail',disr)
7258
trl.Attachment0 = at1
7259
trl.FaceCamera = true
7260
trl.Attachment1 = at2
7261
trl.Texture = "rbxassetid://2342682798"
7262
trl.LightEmission = 1
7263
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7264
trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
7265
trl.Lifetime = 0.5
7266
local bv = Instance.new("BodyVelocity")
7267
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7268
bv.velocity = disr.CFrame.lookVector*math.random(50,200)
7269
bv.Parent = disr
7270
local val = 0
7271
coroutine.resume(coroutine.create(function()
7272
    swait(30)
7273
    for i = 0, 9 do
7274
        swait()
7275
        val = val + 0.1
7276
        trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
7277
    end
7278
game:GetService("Debris"):AddItem(disr, 3)
7279
end))
7280
end
7281
local eff = Instance.new("ParticleEmitter",dis)
7282
eff.Texture = "rbxassetid://2273224484"
7283
eff.LightEmission = 1
7284
eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
7285
eff.Rate = 500000
7286
eff.Lifetime = NumberRange.new(0.5,2)
7287
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)})
7288
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)})
7289
eff.Speed = NumberRange.new(20,250)
7290
eff.Drag = 5
7291
eff.Rotation = NumberRange.new(-500,500)
7292
eff.VelocitySpread = 9000
7293
eff.RotSpeed = NumberRange.new(-50,50)
7294
wait(0.25)
7295
eff.Enabled = false
7296
end))
7297
    for i = 0, 9 do
7298
        --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"))
7299
    end
7300
for i = 0, 19 do
7301
--
7302
end
7303
coroutine.resume(coroutine.create(function()
7304
for i = 0, 19 do
7305
swait()
7306
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
7307
end
7308
hum.CameraOffset = vt(0,0,0)
7309
end))
7310
dis.Anchored = true
7311
dis.Transparency = 1
7312
wait(8)
7313
dis:Destroy()
7314
end
7315
end)
7316
end))
7317
rot = rot - 15
7318
end
7319
for i = 0,2,0.1 do
7320
swait()
7321
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)
7322
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)
7323
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
7324
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
7325
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
7326
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
7327
end
7328
attack = false
7329
hum.WalkSpeed = storehumanoidWS
7330
end
7331
 
7332
function RapidBurst()
7333
attack = true
7334
hum.WalkSpeed = 0
7335
CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
7336
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
7337
CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
7338
bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
7339
local keptcolor = MAINRUINCOLOR
7340
for i = 0,8,0.1 do
7341
swait()
7342
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7343
--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())
7344
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)
7345
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)
7346
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)
7347
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)
7348
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)
7349
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)
7350
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)
7351
end
7352
for i = 0, 99 do
7353
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7354
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)))
7355
local at1 = Instance.new("Attachment",dis)
7356
at1.Position = vt(-25000,0,0)
7357
local at2 = Instance.new("Attachment",dis)
7358
at2.Position = vt(25000,0,0)
7359
local trl = Instance.new('Trail',dis)
7360
trl.Attachment0 = at1
7361
trl.FaceCamera = true
7362
trl.Attachment1 = at2
7363
trl.Texture = "rbxassetid://1049219073"
7364
trl.LightEmission = 1
7365
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7366
trl.Color = ColorSequence.new(BrickColor.random().Color)
7367
trl.Lifetime = 5
7368
local bv = Instance.new("BodyVelocity")
7369
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7370
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
7371
bv.Parent = dis
7372
game:GetService("Debris"):AddItem(dis, 5)
7373
end
7374
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
7375
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
7376
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
7377
sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
7378
sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
7379
sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
7380
sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
7381
CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
7382
CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
7383
CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
7384
hum.CameraOffset = vt(0,0,0)
7385
for i = 0, 24 do
7386
--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())
7387
end
7388
local distam = 0
7389
coroutine.resume(coroutine.create(function()
7390
for i = 0, 99 do
7391
    wait()
7392
distam = distam + 1
7393
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
7394
xa.Anchored = true
7395
xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
7396
game:GetService("Debris"):AddItem(xa, 5)
7397
for i = 0, 4 do
7398
--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())
7399
end
7400
coroutine.resume(coroutine.create(function()
7401
local eff = Instance.new("ParticleEmitter",xa)
7402
eff.Texture = "rbxassetid://2273224484"
7403
eff.LightEmission = 1
7404
eff.Color = ColorSequence.new(BrickColor.random().Color)
7405
eff.Rate = 500000
7406
eff.Lifetime = NumberRange.new(1,3)
7407
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)})
7408
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)})
7409
eff.Speed = NumberRange.new(50,500)
7410
eff.Drag = 5
7411
eff.Rotation = NumberRange.new(-500,500)
7412
eff.VelocitySpread = 9000
7413
eff.RotSpeed = NumberRange.new(-50,50)
7414
wait(0.25)
7415
eff.Enabled = false
7416
end))
7417
coroutine.resume(coroutine.create(function()
7418
for i = 0, 19 do
7419
swait()
7420
hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
7421
end
7422
hum.CameraOffset = vt(0,0,0)
7423
end))
7424
CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
7425
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
7426
--sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
7427
MagniDamage(xa, 60, 9999,99999, 0, "Normal")
7428
end
7429
end))
7430
attack = false
7431
hum.WalkSpeed = storehumanoidWS
7432
end
7433
 
7434
function FallenOrbs()
7435
attack = true
7436
hum.WalkSpeed = 2
7437
local keptcolor = MAINRUINCOLOR
7438
CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
7439
CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
7440
local radm = math.random(1,3)
7441
if radm == 1 then
7442
bosschatfunc("SWARM!",MAINRUINCOLOR.Color,1)
7443
elseif radm == 2 then
7444
bosschatfunc("Weakling!",MAINRUINCOLOR.Color,1)
7445
elseif radm == 3 then
7446
bosschatfunc("RAAAAAGGGGGGHHHHHH!!!!!",MAINRUINCOLOR.Color,1)
7447
end
7448
coroutine.resume(coroutine.create(function()
7449
for i = 0, 29 do
7450
swait(2)
7451
local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
7452
dis.Anchored = true
7453
CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
7454
dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
7455
CreateMesh(dis,"Sphere",2,2,2)
7456
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
7457
--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"))
7458
coroutine.resume(coroutine.create(function()
7459
wait(0.5)
7460
dis.Anchored = false
7461
CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
7462
local at1 = Instance.new("Attachment",dis)
7463
at1.Position = vt(-1,0,0)
7464
local at2 = Instance.new("Attachment",dis)
7465
at2.Position = vt(1,0,0)
7466
local trl = Instance.new('Trail',dis)
7467
trl.Attachment0 = at1
7468
trl.FaceCamera = true
7469
trl.Attachment1 = at2
7470
trl.Texture = "rbxassetid://1049219073"
7471
trl.LightEmission = 1
7472
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7473
trl.Color = ColorSequence.new(dis.Color)
7474
trl.Lifetime = 0.6
7475
local a = Instance.new("Part",workspace)
7476
    a.Name = "Direction"   
7477
    a.Anchored = true
7478
    a.BrickColor = bc("Bright red")
7479
a.Material = "Neon"
7480
a.Transparency = 1
7481
    a.CanCollide = false
7482
    local ray = Ray.new(
7483
        dis.CFrame.p,                           -- origin
7484
        (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
7485
    )
7486
    local ignore = dis
7487
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
7488
    a.BottomSurface = 10
7489
    a.TopSurface = 10
7490
    local distance = (dis.CFrame.p - position).magnitude
7491
    a.Size = Vector3.new(0.1, 0.1, 0.1)
7492
    a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
7493
dis.CFrame = a.CFrame
7494
a:Destroy()
7495
local bv = Instance.new("BodyVelocity")
7496
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7497
bv.velocity = dis.CFrame.lookVector*500
7498
bv.Parent = dis
7499
game:GetService("Debris"):AddItem(dis, 5)
7500
local hitted = false
7501
coroutine.resume(coroutine.create(function()
7502
dis.Touched:connect(function(hit)
7503
    if hitted == false and hit.Parent ~= char then
7504
    hitted = true
7505
    CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
7506
    MagniDamage(dis, 60, 25456,124672, 0, "Normal")
7507
    --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
7508
    --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
7509
    coroutine.resume(coroutine.create(function()
7510
for i = 0, 4 do
7511
local disr = CreateParta(char,1,1,"Neon",keptcolor)
7512
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
7513
local at1 = Instance.new("Attachment",disr)
7514
at1.Position = vt(-10,0,0)
7515
local at2 = Instance.new("Attachment",disr)
7516
at2.Position = vt(10,0,0)
7517
local trl = Instance.new('Trail',disr)
7518
trl.Attachment0 = at1
7519
trl.FaceCamera = true
7520
trl.Attachment1 = at2
7521
trl.Texture = "rbxassetid://2342682798"
7522
trl.LightEmission = 1
7523
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7524
trl.Color = ColorSequence.new(disr.Color)
7525
trl.Lifetime = 0.5
7526
local bv = Instance.new("BodyVelocity")
7527
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7528
bv.velocity = disr.CFrame.lookVector*math.random(125,250)
7529
bv.Parent = disr
7530
local val = 0
7531
coroutine.resume(coroutine.create(function()
7532
    swait(30)
7533
    for i = 0, 9 do
7534
        swait()
7535
        val = val + 0.1
7536
        trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
7537
    end
7538
game:GetService("Debris"):AddItem(disr, 3)
7539
end))
7540
end
7541
local eff = Instance.new("ParticleEmitter",dis)
7542
eff.Texture = "rbxassetid://2273224484"
7543
eff.LightEmission = 1
7544
eff.Color = ColorSequence.new(dis.Color)
7545
eff.Rate = 500000
7546
eff.Lifetime = NumberRange.new(0.5,2)
7547
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)})
7548
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)})
7549
eff.Speed = NumberRange.new(20,250)
7550
eff.Drag = 5
7551
eff.Rotation = NumberRange.new(-500,500)
7552
eff.VelocitySpread = 9000
7553
eff.RotSpeed = NumberRange.new(-50,50)
7554
wait(0.5)
7555
eff.Enabled = false
7556
end))
7557
    for i = 0, 4 do
7558
        --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"))
7559
    end
7560
coroutine.resume(coroutine.create(function()
7561
for i = 0, 19 do
7562
swait()
7563
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
7564
end
7565
hum.CameraOffset = vt(0,0,0)
7566
end))
7567
dis.Anchored = true
7568
dis.Transparency = 1
7569
wait(8)
7570
dis:Destroy()
7571
end
7572
end)
7573
end))
7574
end))
7575
end
7576
end))
7577
for i = 0,9,0.1 do
7578
swait()
7579
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)
7580
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)
7581
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)
7582
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)
7583
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)
7584
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)
7585
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)
7586
end
7587
attack = false
7588
hum.WalkSpeed = storehumanoidWS
7589
end
7590
 
7591
function EquinoxOrbs()
7592
hum.WalkSpeed = 0
7593
attack = true
7594
for i = 0,1,0.1 do
7595
swait()
7596
    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)
7597
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)
7598
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
7599
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
7600
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
7601
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
7602
end
7603
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
7604
--sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
7605
for i = 0, 24 do
7606
        --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"))
7607
end
7608
CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
7609
CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
7610
CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
7611
CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
7612
for i = 0,4,0.1 do
7613
swait()
7614
root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
7615
local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
7616
CreateMesh(dis,"Sphere",1,1,1)
7617
dis.Anchored = true
7618
dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
7619
local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
7620
CreateMesh(dis2,"Sphere",1,1,1)
7621
dis2.Anchored = true
7622
dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
7623
--sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
7624
--sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
7625
coroutine.resume(coroutine.create(function()
7626
    swait(60)
7627
    dis.Transparency = 1
7628
    dis2.Transparency = 1
7629
coroutine.resume(coroutine.create(function()
7630
for i = 0, 19 do
7631
swait()
7632
hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
7633
end
7634
hum.CameraOffset = vt(0,0,0)
7635
end))
7636
coroutine.resume(coroutine.create(function()
7637
local eff = Instance.new("ParticleEmitter",dis)
7638
eff.Texture = "rbxassetid://2273224484"
7639
eff.LightEmission = 1
7640
eff.Color = ColorSequence.new(dis.Color)
7641
eff.Rate = 500000
7642
eff.Lifetime = NumberRange.new(0.5,2)
7643
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)})
7644
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)})
7645
eff.Speed = NumberRange.new(50,450)
7646
eff.Drag = 5
7647
eff.Rotation = NumberRange.new(-500,500)
7648
eff.VelocitySpread = 9000
7649
eff.RotSpeed = NumberRange.new(-50,50)
7650
local eff2 = eff:Clone()
7651
eff2.Parent = dis2
7652
eff2.LightEmission = 0
7653
eff2.Color = ColorSequence.new(dis2.Color)
7654
wait(0.25)
7655
eff.Enabled = false
7656
eff2.Enabled = false
7657
end))
7658
MagniDamage(dis, 55, 89,219788936, 0, "Normal")
7659
MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
7660
    CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
7661
    CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
7662
    CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
7663
    CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
7664
    CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
7665
    CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
7666
    sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
7667
    sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
7668
end))
7669
game:GetService("Debris"):AddItem(dis, 5)
7670
game:GetService("Debris"):AddItem(dis2, 5)
7671
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)
7672
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)
7673
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
7674
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
7675
RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
7676
LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
7677
end
7678
attack = false
7679
hum.WalkSpeed = storehumanoidWS
7680
end
7681
function FallenDEMISE()
7682
attack = true
7683
hum.WalkSpeed = 0
7684
local keptcolor = MAINRUINCOLOR
7685
--bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!!!",MAINRUINCOLOR.Color,3)
7686
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
7687
CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
7688
for i = 0, 15, 0.1 do
7689
swait()
7690
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7691
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)))
7692
local at1 = Instance.new("Attachment",dis)
7693
at1.Position = vt(-25000,0,0)
7694
local at2 = Instance.new("Attachment",dis)
7695
at2.Position = vt(25000,0,0)
7696
local trl = Instance.new('Trail',dis)
7697
trl.Attachment0 = at1
7698
trl.FaceCamera = true
7699
trl.Attachment1 = at2
7700
trl.Texture = "rbxassetid://1049219073"
7701
trl.LightEmission = 1
7702
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7703
trl.Color = ColorSequence.new(dis.Color)
7704
trl.Lifetime = 5
7705
local bv = Instance.new("BodyVelocity")
7706
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7707
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
7708
bv.Parent = dis
7709
game:GetService("Debris"):AddItem(dis, 1)
7710
sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
7711
--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"))
7712
--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"))
7713
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)
7714
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)
7715
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
7716
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
7717
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
7718
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
7719
end
7720
CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
7721
for i = 0, 30, 0.1 do
7722
swait()
7723
coroutine.resume(coroutine.create(function()
7724
for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
7725
if v:FindFirstChild('Head') then
7726
dmg(v)
7727
end
7728
end
7729
end))
7730
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
7731
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)))
7732
local at1 = Instance.new("Attachment",dis)
7733
at1.Position = vt(-50000,0,0)
7734
local at2 = Instance.new("Attachment",dis)
7735
at2.Position = vt(50000,0,0)
7736
local trl = Instance.new('Trail',dis)
7737
trl.Attachment0 = at1
7738
trl.FaceCamera = true
7739
trl.Attachment1 = at2
7740
trl.Texture = "rbxassetid://1049219073"
7741
trl.LightEmission = 1
7742
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7743
trl.Color = ColorSequence.new(dis.Color)
7744
trl.Lifetime = 10
7745
local bv = Instance.new("BodyVelocity")
7746
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
7747
bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
7748
bv.Parent = dis
7749
game:GetService("Debris"):AddItem(dis, math.random(1,4))
7750
--sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
7751
--sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
7752
--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"))
7753
--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"))
7754
--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"))
7755
--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"))
7756
for i = 0, 2 do
7757
--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)
7758
end
7759
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)
7760
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)
7761
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
7762
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
7763
RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
7764
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
7765
end
7766
attack = false
7767
hum.WalkSpeed = storehumanoidWS
7768
end
7769
-------------------------------------
7770
 
7771
Humanoid.Animator.Parent = nil
7772
 
7773
-------------------------------------
7774
 
7775
local attacktype = 1
7776
mouse.Button1Down:connect(function()
7777
  if attack == false and attacktype == 1 then
7778
    attacktype = 2
7779
    attackone()
7780
  elseif attack == false and attacktype == 2 then
7781
    attacktype = 3
7782
    attacktwo()
7783
  elseif attack == false and attacktype == 3 then
7784
    attacktype = 1
7785
    attackthree()
7786
  elseif attack == false and attacktype == 4 then
7787
    attacktype = 1
7788
    --attackfour()
7789
  end
7790
end)
7791
mouse.KeyDown:connect(function(k)
7792
if k == "q" and attack == false and ModeOfGlitch ~= 1 then
7793
--normalmog() ---Disabled due to crashing... only in VSB
7794
ModeOfGlitch = 1
7795
storehumanoidWS = 16
7796
hum.WalkSpeed = 16
7797
rainbowmode = false
7798
chaosmode = true
7799
newTheme("rbxassetid://614032233",0,1,1)
7800
RecolorTextAndRename("MAYHEM V",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
7801
MAINRUINCOLOR = BrickColor.new("Really red")
7802
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
7803
end
7804
if k == "e" and attack == false and ModeOfGlitch ~= 1 then
7805
ModeOfGlitch = 2
7806
storehumanoidWS = 16
7807
hum.WalkSpeed = 16
7808
rainbowmode = false
7809
chaosmode = false
7810
RecolorTextAndRename("Purity V",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
7811
newTheme("rbxassetid://1539245059",0,1,1.25)
7812
MAINRUINCOLOR = BrickColor.new("Toothpaste")
7813
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7814
end
7815
if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 11111 then
7816
                 ModeOfGlitch = 11111
7817
storehumanoidWS = 50
7818
hum.WalkSpeed = 50
7819
rainbowmode = false
7820
chaosmode = false
7821
RecolorTextAndRename("CRYSTAL",Color3.new(1,1,1),BrickColor.new("Pastel light blue").Color,"Code")
7822
newTheme("rbxassetid://1861780345",0,1,1)
7823
MAINRUINCOLOR = BrickColor.new("Pastel light blue")
7824
RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
7825
end
7826
if k == "b" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 242424 then
7827
                 ModeOfGlitch = 242424
7828
storehumanoidWS = 16
7829
hum.WalkSpeed = 16
7830
rainbowmode = false
7831
chaosmode = false
7832
RecolorTextAndRename("CLARITY V",Color3.new(0,0,0.65),Color3.new(0,0,2),"Code")
7833
newTheme("rbxassetid://2650791818",0,0.97,0.97)
7834
MAINRUINCOLOR = BrickColor.new("Really blue")
7835
RecolorThing(MAINRUINCOLOR,BrickColor.new("Baby blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
7836
end
7837
if k == "r" and attack == false and ModeOfGlitch ~= 3 then
7838
               ModeOfGlitch = 3
7839
storehumanoidWS = 16
7840
hum.WalkSpeed = 16
7841
rainbowmode = false
7842
chaosmode = false
7843
RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
7844
newTheme("rbxassetid://303570180",0.6,0.6,0.6)
7845
MAINRUINCOLOR = BrickColor.new("Royal purple")
7846
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7847
end
7848
if k == "t" and attack == false and ModeOfGlitch ~= 4 then
7849
               ModeOfGlitch = 4
7850
storehumanoidWS = 50
7851
hum.WalkSpeed = 50
7852
rainbowmode = false
7853
chaosmode = false
7854
RecolorTextAndRename("SOLITUDE V",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
7855
newTheme("rbxassetid://723652641",0,1,1.5)
7856
MAINRUINCOLOR = BrickColor.new("Really black")
7857
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7858
end
7859
if k == "y" and attack == false and ModeOfGlitch ~= 5 then
7860
               ModeOfGlitch = 5
7861
storehumanoidWS = 16
7862
hum.WalkSpeed = 16
7863
rainbowmode = false
7864
chaosmode = false
7865
RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
7866
newTheme("rbxassetid://661079869",0,1,1)
7867
MAINRUINCOLOR = BrickColor.new("Bright yellow")
7868
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7869
end
7870
if k == "k" and attack == false and ModeOfGlitch ~= 2335 then
7871
               ModeOfGlitch = 2335
7872
storehumanoidWS = 250
7873
hum.WalkSpeed = 250
7874
rainbowmode = true
7875
chaosmode = false
7876
RecolorTextAndRename("RAINBOW",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
7877
newTheme("rbxassetid://1747430851",0,1,1.15)
7878
MAINRUINCOLOR = BrickColor.new("Pastel green")
7879
RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
7880
end
7881
if k == "u" and attack == false and ModeOfGlitch ~= 6 then
7882
               ModeOfGlitch = 6
7883
storehumanoidWS = 100
7884
hum.WalkSpeed = 100
7885
rainbowmode = false
7886
chaosmode = false
7887
RecolorTextAndRename("EQUINOX V",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
7888
newTheme("rbxassetid://1347011178",0,1.01,1.25)
7889
MAINRUINCOLOR = BrickColor.new("White")
7890
RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7891
end
7892
if k == "m" and attack == false and ModeOfGlitch == 6 then
7893
attack = true
7894
newTheme("rbxassetid://1369263130",0,1,1.25)
7895
 
7896
attack = false
7897
ModeOfGlitch = 420
7898
storehumanoidWS = 12
7899
hum.WalkSpeed = 12
7900
rainbowmode = false
7901
chaosmode = false
7902
Error = false
7903
RecolorTextAndRename("UNSTABLE",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
7904
disably = true
7905
warnedpeople("AAAAAAGH!","Arcade",BrickColor.new("Red").Color,MAINRUINCOLOR.Color)
7906
disably = false
7907
MAINRUINCOLOR = BrickColor.new("Really black")
7908
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,MAINRUINCOLOR,true,true)
7909
end
7910
 
7911
if k == "f" and attack == false and ModeOfGlitch ~= 8 then
7912
               ModeOfGlitch = 8
7913
storehumanoidWS = 140
7914
hum.WalkSpeed = 140
7915
rainbowmode = false
7916
chaosmode = false
7917
RecolorTextAndRename("DESTINY V",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
7918
newTheme("rbxassetid://1495032271",0,1.01,1.25)
7919
MAINRUINCOLOR = BrickColor.new("Alder")
7920
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7921
end
7922
 
7923
if k == "Q" and attack == false and ModeOfGlitch ~= 67966 then
7924
               ModeOfGlitch = 67966
7925
storehumanoidWS = 16
7926
hum.WalkSpeed = 16
7927
rainbowmode = false
7928
chaosmode = false
7929
RecolorTextAndRename("MAYHEM V",Color3.new(255,255,255),Color3.new(255,255,255),"Highway")
7930
newTheme("rbxassetid://736003449",0,1,1.75)
7931
MAINRUINCOLOR = BrickColor.new("Really red")
7932
        disably = false
7933
        warnedpeople("HAHAHAHAHAHAHA",BrickColor.new("White").Color,BrickColor.new("Pink").Color)
7934
        disably = true
7935
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
7936
end
7937
if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 1055 then
7938
               ModeOfGlitch = 1055
7939
storehumanoidWS = 50
7940
hum.WalkSpeed = 50
7941
rainbowmode = false
7942
chaosmode = false
7943
insanitymode = false
7944
glitching = false
7945
RecolorTextAndRename("Pandora",BrickColor.new("White").Color,BrickColor.new("Lavender").Color,"Code")
7946
newTheme("rbxassetid://1382488262",0,1,1.25)
7947
MAINRUINCOLOR = BrickColor.new("Lavender")
7948
RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
7949
end
7950
if k == "g" and attack == false and ModeOfGlitch ~= 9 then
7951
               ModeOfGlitch = 9
7952
storehumanoidWS = 150
7953
hum.WalkSpeed = 150
7954
rainbowmode = false
7955
chaosmode = false
7956
RecolorTextAndRename("INFESTATION",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
7957
newTheme("rbxassetid://2573921783",0,1.01,1.25)
7958
MAINRUINCOLOR = BrickColor.new("Lime green")
7959
RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7960
end
7961
 
7962
if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
7963
               ModeOfGlitch = 8889
7964
storehumanoidWS = 180
7965
hum.WalkSpeed = 180
7966
rainbowmode = false
7967
chaosmode = false
7968
RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
7969
newTheme("rbxassetid://1359036559",0,1.01,1.25)
7970
MAINRUINCOLOR = BrickColor.new("Lilac")
7971
RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
7972
end
7973
if k == "n" and attack == false and ModeOfGlitch == 8889 then
7974
               ModeOfGlitch = 88893333388
7975
bosschatfunc("Catastrophic acsend!",MAINRUINCOLOR.Color,1)
7976
wait(1)
7977
CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
7978
CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
7979
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
7980
CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
7981
wait(0.2)
7982
storehumanoidWS = 200
7983
hum.WalkSpeed = 200
7984
rainbowmode = false
7985
chaosmode = false
7986
CRAZED = false
7987
RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
7988
newTheme("rbxassetid://1504604335",0,1,1.5)
7989
MAINRUINCOLOR = BrickColor.new("Royal purple")
7990
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Lilac"),0,BrickColor.new("Really blue"),0,BrickColor.new("Navy blue"),true,true)
7991
end
7992
if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 808080808080808080808080 then
7993
               ModeOfGlitch = 808080808080808080808080
7994
storehumanoidWS = 250
7995
hum.WalkSpeed = 250
7996
rainbowmode = false
7997
chaosmode = false
7998
CRAZED = true
7999
CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
8000
CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
8001
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
8002
CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
8003
RecolorTextAndRename("TRUE GALAXY",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
8004
newTheme("rbxassetid://250408242",0,1,10)
8005
MAINRUINCOLOR = BrickColor.new("Really blue")
8006
bosschatfunc("I'M BACK!!!",MAINRUINCOLOR.Color,1)
8007
disably = false
8008
warnedpeople("GALAXY?!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
8009
disably = false
8010
RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.,BrickColor.new("Deep orange"),0,BrickColor.new("Pastel light blue"),true,true)
8011
end
8012
if k == "m" and attack == false and ModeOfGlitch == 3 then
8013
attack = true
8014
ModeOfGlitch = 3
8015
hum.WalkSpeed = 0
8016
newTheme("rbxassetid://2368327428",9,1,1.25)
8017
wait(2)
8018
for i = 0, 15, 0.1 do
8019
        swait()
8020
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)
8021
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)
8022
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)
8023
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)
8024
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)
8025
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)
8026
end
8027
sphere(2,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
8028
sphere(3,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
8029
sphere(1,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
8030
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
8031
sphere(3,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
8032
CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
8033
               ModeOfGlitch = 146536
8034
storehumanoidWS = 12
8035
hum.WalkSpeed = 12
8036
rainbowmode = false
8037
chaosmode = false
8038
CRAZED = false
8039
RecolorTextAndRename("MATTER-V",Color3.new(0.15,0.15,0.15),Color3.new(0.35,0,1),"Fantasy")
8040
MAINRUINCOLOR = BrickColor.new("Gold")
8041
RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
8042
attack = false
8043
end
8044
if k == "b" and attack == false and ModeOfGlitch == 67966 then
8045
               ModeOfGlitch = -5
8046
storehumanoidWS = 16
8047
hum.WalkSpeed = 16
8048
rainbowmode = false
8049
chaosmode = false
8050
Error = false
8051
CRAZED = false
8052
RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Antique")
8053
newTheme("rbxassetid://685323634",0,1,1.25)
8054
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8055
end
8056
if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 676767 then
8057
               ModeOfGlitch = 676767
8058
storehumanoidWS = 200
8059
hum.WalkSpeed = 200
8060
rainbowmode = false
8061
chaosmode = false
8062
ASTRA = false
8063
dragon = true
8064
vis = false
8065
RecolorTextAndRename("OMEGA V",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
8066
newTheme("rbxassetid://643309199",0,1.01,1.25)
8067
MAINRUINCOLOR = BrickColor.new("Bright bluish green")
8068
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)
8069
end
8070
if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 61 then
8071
               ModeOfGlitch = 61
8072
storehumanoidWS = 16
8073
hum.WalkSpeed = 16
8074
rainbowmode = false
8075
chaosmode = false
8076
RecolorTextAndRename("NANO",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
8077
newTheme("rbxassetid://2234873423",0,1,1)
8078
MAINRUINCOLOR = BrickColor.new("Pink")
8079
RecolorThing(MAINRUINCOLOR,BrickColor.new("Hot pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8080
end
8081
if k == "m" and attack == false and ModeOfGlitch == 2335 and ModeOfGlitch ~= 911 then
8082
               ModeOfGlitch = 911
8083
storehumanoidWS = 250
8084
hum.WalkSpeed = 250
8085
rainbowmode = true
8086
chaosmode = false
8087
disably = false
8088
warnedpeople("! RAINBOW V !","Highway",Color3.new(1,0,1),Color3.new(1,1,1))
8089
disably = true
8090
RecolorTextAndRename("! RAINBOW V !",Color3.new(0.5,1,1),BrickColor.new("Really red").Color,"Antique")
8091
newTheme("rbxassetid://147930134",0,1,1.15)
8092
MAINRUINCOLOR = BrickColor.new("Pastel green")
8093
RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,BrickColor.new("Deep orange"),true,false)
8094
end
8095
 if k == "m" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 55469696922 then
8096
               ModeOfGlitch = 55469696922
8097
storehumanoidWS = 12
8098
hum.WalkSpeed = 12
8099
rainbowmode = false
8100
chaosmode = false
8101
RecolorTextAndRename("PLAGUES",Color3.new(0,0.3,0),BrickColor.new("Lime green").Color,"Code")
8102
newTheme("rbxassetid://577543579",0,1.005,1.25)
8103
MAINRUINCOLOR = BrickColor.new("Lime green")
8104
chatfunc("The plague is already inside..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.7)
8105
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8106
end
8107
if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
8108
               ModeOfGlitch = 4367677813
8109
storehumanoidWS = 225
8110
hum.WalkSpeed = 225
8111
rainbowmode = false
8112
chaosmode = false
8113
RecolorTextAndRename("S-H-D",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
8114
newTheme("rbxassetid://363284685",0,1.01,1.25)
8115
MAINRUINCOLOR = BrickColor.new("Baby blue")
8116
RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
8117
end
8118
if k == "n" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 103 then
8119
               ModeOfGlitch = 103
8120
storehumanoidWS = 200
8121
hum.WalkSpeed = 200
8122
rainbowmode = false
8123
chaosmode = false
8124
CRAZED = false
8125
RecolorTextAndRename("ANCIENT",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi")
8126
newTheme("rbxassetid://256251217",0,1.02,1.2)
8127
MAINRUINCOLOR = BrickColor.new("Gold")
8128
disably = false
8129
warnedpeople("PAST PRESENT AND FUTURE","Arcade",BrickColor.new("White").Color,BrickColor.new("New Yeller").Color)
8130
disably = true
8131
RecolorThing(MAINRUINCOLOR,BrickColor.new("New Yeller"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("White"),0,BrickColor.new("Black"),true,true)
8132
end
8133
if k == "b" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 453453484635345 then
8134
               ModeOfGlitch = 453453484635345
8135
storehumanoidWS = 25
8136
hum.WalkSpeed = 25
8137
rainbowmode = false
8138
chaosmode = false
8139
CRAZED = false
8140
RecolorTextAndRename("DEATH",Color3.new(0.2,0.2,0.2),Color3.new(0,0,0),"Bodoni")
8141
newTheme("rbxassetid://318062766",0,1.01,0.85)
8142
MAINRUINCOLOR = BrickColor.new("Really black")
8143
chatfunc("Death is not an escape..",MAINRUINCOLOR.Color,"Inverted","Arcade",1.2)
8144
RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark stone grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
8145
end
8146
if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
8147
               ModeOfGlitch = 999999999556
8148
 
8149
storehumanoidWS = 500
8150
hum.WalkSpeed = 500
8151
rainbowmode = false
8152
chaosmode = false
8153
RecolorTextAndRename("THE BIG BLACK",BrickColor.new("Really black").Color,BrickColor.new("Dark stone grey").Color,"Code")
8154
newTheme("rbxassetid://1681272944",0,1.02,1.25)
8155
MAINRUINCOLOR = BrickColor.new("Really black")
8156
warnedpeople("BIG BLACK","Arcade",BrickColor.new("White").Color,BrickColor.new("Really black").Color)
8157
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Dark stone grey"),0.5,BrickColor.new("Dark stone grey"),true,true)
8158
end
8159
if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
8160
               ModeOfGlitch = 1264532489
8161
storehumanoidWS = 250
8162
hum.WalkSpeed = 250
8163
rainbowmode = false
8164
chaosmode = false
8165
RecolorTextAndRename("FALLEN",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
8166
newTheme("rbxassetid://1505487022",0,1.01,1.25)
8167
MAINRUINCOLOR = BrickColor.new("Pastel green")
8168
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.5,BrickColor.new("Deep orange"),0.5,BrickColor.new("Gold"),true,true)
8169
end
8170
if rainbowmode == true then
8171
RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(1,1,1),"Highway")
8172
if ModeOfGlitch == 911 then
8173
RecolorTextAndRename("! RAINBOW V !",Color3.new(r/255,g/255,b/255),Color3.new(r/255,g/255,b/255),"Fantasy")
8174
end
8175
MAINRUINCOLOR = BrickColor.new(r/255,g/255,b/255)
8176
modet.TextColor3 = Color3.new(r/255,g/255,b/255)
8177
refec.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8178
tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8179
tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8180
tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8181
tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8182
tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8183
tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
8184
for i, v in pairs(m:GetChildren()) do
8185
if v:IsA("Part") then
8186
v.Color = Color3.new(r/255,g/255,b/255)
8187
end
8188
end
8189
for i, v in pairs(m2:GetChildren()) do
8190
if v:IsA("Part") then
8191
v.Color = Color3.new(r/255,g/255,b/255)
8192
end
8193
end
8194
for i, v in pairs(m3:GetChildren()) do
8195
if v:IsA("Part") then
8196
v.Color = Color3.new(r/255,g/255,b/255)
8197
end
8198
end
8199
for i, v in pairs(mw1:GetChildren()) do
8200
if v:IsA("Part") then
8201
v.Color = Color3.new(r/255,g/255,b/255)
8202
v.Material = "Neon"
8203
end
8204
end
8205
for i, v in pairs(mw2:GetChildren()) do
8206
if v:IsA("Part") then
8207
v.Color = Color3.new(r/255,g/255,b/255)
8208
v.Material = "Neon"
8209
end
8210
end
8211
end
8212
if k == "l" and mutedtog == false then
8213
mutedtog = true
8214
kan.Volume = 0
8215
elseif k == "l" and mutedtog == true then
8216
mutedtog = false
8217
kan.Volume = 1.25
8218
end
8219
if k == "p" and toggleTag == false then
8220
toggleTag = true
8221
modet.TextTransparency = 0
8222
modet.TextStrokeTransparency = 0
8223
elseif k == "p" and toggleTag == true then
8224
toggleTag = false
8225
modet.TextTransparency = 1
8226
modet.TextStrokeTransparency = 1
8227
end
8228
 
8229
if k == "z" and attack == false and ModeOfGlitch == 1 then
8230
ExtinctiveHeartbreak()
8231
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
8232
HeavenlyDisk()
8233
elseif k == "x" and attack == false and ModeOfGlitch == 2 then
8234
Fireball()
8235
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
8236
CorruptionEvent()
8237
elseif k == "x" and attack == false and ModeOfGlitch == 3 then
8238
CorruptBlink()
8239
elseif k == "z" and attack == false and ModeOfGlitch == 4 then
8240
RapidBurst()
8241
elseif k == "z" and attack == false and ModeOfGlitch == 146536 then
8242
HeavenlyDisk()
8243
elseif k == "x" and attack == false and ModeOfGlitch == 146536 then
8244
CorruptBlink()
8245
elseif k == "z" and attack == false and ModeOfGlitch == 5 then
8246
--DivineLights()
8247
elseif k == "z" and attack == false and ModeOfGlitch == 6 then
8248
EquinoxOrbs()
8249
elseif k == "z" and attack == false and ModeOfGlitch == 67966 then
8250
cutesigh()
8251
elseif k == "z" and attack == false and ModeOfGlitch == 420 then
8252
EquinoxOrbs()
8253
elseif k == "z" and attack == false and ModeOfGlitch == 738 then
8254
EquinoxOrbs()
8255
elseif k == "x" and attack == false and ModeOfGlitch == 67966 then
8256
hugg()
8257
elseif k == "c" and attack == false and ModeOfGlitch == 67966 then
8258
lovesqueal()
8259
elseif k == "x" and attack == false and ModeOfGlitch == 420 then
8260
FallenOrbs()
8261
elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
8262
FallenOrbs()
8263
end
8264
if k == "z" and attack == false and ModeOfGlitch == 103 then
8265
smiter()
8266
end
8267
if k == "c" and attack == false and ModeOfGlitch == 420 then
8268
smiter()
8269
end
8270
if k == "x" and attack == false and ModeOfGlitch == 242424 then
8271
BinaryE()
8272
end
8273
if k == "z" and attack == false and ModeOfGlitch == 242424 then
8274
BinaryBLINK()
8275
end
8276
if k == "c" and attack == false and ModeOfGlitch == 738 then
8277
BinaryE()
8278
end
8279
if k == "v" and attack == false and ModeOfGlitch == 1 then
8280
HolyBarrier()
8281
end
8282
if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
8283
FallenDEMISE()
8284
end
8285
if k == "v" and attack == false and ModeOfGlitch == 738 then
8286
FallenDEMISE()
8287
end
8288
if k == "x" and attack == false and ModeOfGlitch == 4 then
8289
ChaosGroundStrike()
8290
end
8291
if k == "b" and attack == false and ModeOfGlitch == 420 then
8292
ChaosEND()
8293
end
8294
if k == "c" and attack == false and ModeOfGlitch == 4 then
8295
ChaosEND()
8296
end
8297
if k == "v" and attack == false and ModeOfGlitch == 4 then
8298
th1rt3en_trans()
8299
end
8300
if k == "v" and attack == false and ModeOfGlitch == 420 then
8301
EndGROUND()
8302
end
8303
if k == "x" and attack == false and ModeOfGlitch == 1 then
8304
EndGROUND()
8305
end
8306
if k == "x" and attack == false and ModeOfGlitch == 738 then
8307
EndGROUND()
8308
end
8309
end)
8310
 
8311
plr.Chatted:connect(function(message)
8312
if ModeOfGlitch == 911 then
8313
if message:sub(1,5) == "play/" then
8314
OVMID = message:sub(6)
8315
newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8316
elseif message:sub(1,6) == "pitch/" then
8317
OVMPIT = message:sub(7)
8318
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8319
elseif message:sub(1,4) == "vol/" then
8320
OVMVOL = message:sub(5)
8321
newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
8322
elseif message:sub(1,7) == "skipto/" then
8323
chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8324
newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
8325
elseif message:sub(1,9) == "telltime/" then
8326
chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
8327
end
8328
end
8329
end)
8330
 
8331
--[[coroutine.resume(coroutine.create(function()
8332
while true do
8333
swait(2)
8334
if chaosmode == true then
8335
tl1.Color = ColorSequence.new(BrickColor.random().Color)
8336
tl2.Color = ColorSequence.new(BrickColor.random().Color)
8337
tl3.Color = ColorSequence.new(BrickColor.random().Color)
8338
RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
8339
for i, v in pairs(mw1:GetChildren()) do
8340
if v:IsA("Part") then
8341
v.Transparency = 0.75
8342
v.BrickColor = BrickColor.random()
8343
v.Material = "Neon"
8344
end
8345
end
8346
for i, v in pairs(m2:GetChildren()) do
8347
if v:IsA("Part") then
8348
v.BrickColor = BrickColor.random()
8349
v.Material = "Neon"
8350
end
8351
end
8352
end
8353
end
8354
end))]]--
8355
Humanoid.Name = "STARGLITCHER"
8356
Humanoid.MaxHealth = math.huge
8357
Humanoid.Health = math.huge
8358
Instance.new("ForceField",char).Visible = false
8359
 
8360
local bguis = Instance.new("BillboardGui",tors)
8361
bguis.Size = UDim2.new(25, 0, 25, 0)
8362
local bguis2 = Instance.new("BillboardGui",tors)
8363
bguis2.Size = UDim2.new(25, 0, 25, 0)
8364
local imgca = Instance.new("ImageLabel",bguis)
8365
imgca.BackgroundTransparency = 1
8366
imgca.ImageTransparency = 1
8367
imgca.Size = UDim2.new(1,0,1,0)
8368
imgca.Image = "rbxassetid://2076458450" --997291547,521073910,2312119891
8369
imgca.ImageColor3 = Color3.new(0,0,0)
8370
local imgca2 = Instance.new("ImageLabel",bguis2)
8371
imgca2.BackgroundTransparency = 1
8372
imgca2.ImageTransparency = 1
8373
imgca2.Size = UDim2.new(1,0,1,0)
8374
imgca2.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891,2344830904
8375
imgca2.ImageColor3 = Color3.new(0,0,0)
8376
 
8377
idleanim=.4
8378
while true do
8379
if mutedtog == false then
8380
kan.Volume = currentVol
8381
elseif mutedtog == true then
8382
kan.Volume = 0
8383
end
8384
kan.PlaybackSpeed = currentPitch
8385
kan.Pitch = currentPitch
8386
kan.SoundId = currentThemePlaying
8387
kan.Looped = true
8388
kan.Parent = char
8389
kan:Resume()
8390
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
8391
imgca.ImageTransparency = 1
8392
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
8393
imgca.ImageColor3 = MAINRUINCOLOR.Color
8394
imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
8395
end
8396
if ModeOfGlitch ~= 11111 and ModeOfGlitch ~= 676767 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 738 then
8397
imgca2.ImageTransparency = 1
8398
elseif ModeOfGlitch == 11111 or ModeOfGlitch == 738 then
8399
imgca2.ImageColor3 = MAINRUINCOLOR.Color
8400
imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
8401
elseif ModeOfGlitch == 676767 or ModeOfGlitch == 55469696922 then
8402
imgca2.ImageColor3 = MAINRUINCOLOR.Color
8403
imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
8404
end
8405
imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
8406
imgca2.Rotation = imgca.Rotation - 5 - kan.PlaybackLoudness/100
8407
bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
8408
coroutine.resume(coroutine.create(function()
8409
    if chaosmode == true then
8410
for i, v in pairs(mw1:GetChildren()) do
8411
if v:IsA("Part") then
8412
v.Transparency = 0
8413
v.BrickColor = BrickColor.random()
8414
v.Material = "Neon"
8415
end
8416
end
8417
tl1.Color = ColorSequence.new(BrickColor.random().Color)
8418
tl2.Color = ColorSequence.new(BrickColor.random().Color)
8419
tl3.Color = ColorSequence.new(BrickColor.random().Color)
8420
    RecolorTextAndRename("KARMA",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
8421
    end
8422
end))
8423
if chaosmode == false then
8424
modet.Position = UDim2.new(0,0,0,0)
8425
modet.Rotation = -5 * math.cos(sine / 32)
8426
techc.Rotation = techc.Rotation + 1
8427
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
8428
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
8429
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
8430
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
8431
ned.Rotation = 0 - 2 * math.cos(sine / 24)
8432
ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
8433
else
8434
    techc.Rotation = techc.Rotation + 1
8435
circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
8436
circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
8437
imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
8438
imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
8439
ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
8440
ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
8441
modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
8442
modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
8443
end
8444
CameraManager()
8445
swait()
8446
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
8447
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8448
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8449
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)
8450
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)
8451
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)
8452
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)
8453
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)
8454
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)
8455
 sine = sine + change
8456
elseif ModeOfGlitch == 3444 then
8457
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8458
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8459
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)
8460
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)
8461
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)
8462
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)
8463
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)
8464
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)
8465
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)
8466
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)
8467
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)
8468
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)
8469
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)
8470
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)
8471
 sine = sine + change
8472
elseif ModeOfGlitch == 3 then
8473
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8474
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8475
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)
8476
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)
8477
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)
8478
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)
8479
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)
8480
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)
8481
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)
8482
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)
8483
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)
8484
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)
8485
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)
8486
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)
8487
 sine = sine + change
8488
 
8489
elseif ModeOfGlitch == -666666 then
8490
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8491
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8492
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
8493
lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
8494
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8495
lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
8496
lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8497
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
8498
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
8499
rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
8500
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8501
rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
8502
rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8503
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
8504
 sine = sine + change
8505
 
8506
elseif ModeOfGlitch == 112 then
8507
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8508
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8509
lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
8510
lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
8511
lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8512
lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
8513
lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
8514
lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
8515
rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
8516
rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
8517
rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8518
rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
8519
rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
8520
rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
8521
 sine = sine + change
8522
 
8523
elseif ModeOfGlitch == 46874 then
8524
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8525
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8526
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)
8527
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)
8528
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)
8529
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)
8530
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)
8531
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)
8532
 sine = sine + change
8533
elseif ModeOfGlitch == 146536 then
8534
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8535
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8536
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)
8537
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)
8538
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)
8539
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)
8540
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)
8541
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)
8542
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)
8543
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)
8544
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)
8545
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)
8546
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)
8547
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)
8548
sine = sine + change
8549
elseif ModeOfGlitch == 124 then
8550
handleweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8551
handlexweld.C0=clerp(handleweld.C0,cf(-2,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8552
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)
8553
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)
8554
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)
8555
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)
8556
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)
8557
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)
8558
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)
8559
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)
8560
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)
8561
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)
8562
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)
8563
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)
8564
sine = sine + change
8565
elseif ModeOfGlitch == 7888 then
8566
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)
8567
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)
8568
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)
8569
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)
8570
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)
8571
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)
8572
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)
8573
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)
8574
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)
8575
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)
8576
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)
8577
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)
8578
sine = sine + change
8579
elseif ModeOfGlitch == 666666666 then
8580
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)
8581
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)
8582
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)
8583
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)
8584
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)
8585
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)
8586
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)
8587
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)
8588
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)
8589
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)
8590
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)
8591
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)
8592
sine = sine + change
8593
elseif ModeOfGlitch == 78213 then
8594
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8595
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8596
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)
8597
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)
8598
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)
8599
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)
8600
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)
8601
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)
8602
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)
8603
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)
8604
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)
8605
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)
8606
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)
8607
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)
8608
sine =  sine + change
8609
elseif ModeOfGlitch == -99 then
8610
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)
8611
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)
8612
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)
8613
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)
8614
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)
8615
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)
8616
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)
8617
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)
8618
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)
8619
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)
8620
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)
8621
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)
8622
 sine = sine + change
8623
elseif ModeOfGlitch == 102 or ModeOfGlitch == 4434 then
8624
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)
8625
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)
8626
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)
8627
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)
8628
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)
8629
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)
8630
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)
8631
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)
8632
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)
8633
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)
8634
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)
8635
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)
8636
 sine = sine + change
8637
elseif ModeOfGlitch == 906 or glitchermode == "universal" then
8638
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8639
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)
8640
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)
8641
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)
8642
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)
8643
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)
8644
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)
8645
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)
8646
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)
8647
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)
8648
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)
8649
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)
8650
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)
8651
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)
8652
sine = sine + change
8653
elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 or ModeOfGlitch == 8889 then
8654
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8655
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)
8656
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)
8657
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)
8658
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)
8659
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)
8660
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)
8661
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)
8662
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)
8663
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)
8664
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)
8665
sine = sine + change
8666
elseif ModeOfGlitch == 2102 then
8667
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8668
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8669
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)
8670
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)
8671
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)
8672
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)
8673
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)
8674
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)
8675
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)
8676
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)
8677
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)
8678
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)
8679
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)
8680
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)
8681
sine = sine + change
8682
elseif ModeOfGlitch == 555 or ModeOfGlitch == 7621 or ModeOfGlitch == 3141 or ModeOfGlitch == 101010 or ModeOfGlitch == 44444 or ModeOfGlitch == 404 or ModeOfGlitch == 55846 then
8683
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8684
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8685
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)
8686
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)
8687
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)
8688
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)
8689
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)
8690
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)
8691
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)
8692
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)
8693
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)
8694
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)
8695
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)
8696
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)
8697
sine = sine + change
8698
elseif ModeOfGlitch == 2019 then
8699
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)
8700
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)
8701
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)
8702
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)
8703
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)
8704
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)
8705
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)
8706
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)
8707
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)
8708
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)
8709
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)
8710
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)
8711
 sine = sine + change
8712
elseif ModeOfGlitch == 81 then
8713
handleweld.C0=clerp(handleweld.C0,cf(0,-6.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
8714
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)
8715
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)
8716
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)
8717
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)
8718
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)
8719
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)
8720
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)
8721
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)
8722
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)
8723
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)
8724
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)
8725
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)
8726
sine = sine + change
8727
elseif ModeOfGlitch == 841 or ModeOfGlitch == 2222222 or ModeOfGlitch == -3 or ModeOfGlitch == -4 then
8728
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8729
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8730
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)
8731
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)
8732
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)
8733
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)
8734
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)
8735
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)
8736
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)
8737
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)
8738
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)
8739
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)
8740
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)
8741
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)
8742
sine = sine + change
8743
elseif ModeOfGlitch == 2335 then
8744
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8745
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8746
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)
8747
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)
8748
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)
8749
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)
8750
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)
8751
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)
8752
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)
8753
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)
8754
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)
8755
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)
8756
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)
8757
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)
8758
sine = sine + change
8759
elseif ModeOfGlitch == 412 or ModeOfGlitch == 738  then
8760
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8761
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8762
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)
8763
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)
8764
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)
8765
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)
8766
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)
8767
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)
8768
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)
8769
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)
8770
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)
8771
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)
8772
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)
8773
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)
8774
sine = sine + change
8775
elseif ModeOfGlitch == 2304 or ModeOfGlitch == 765688533321 then
8776
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8777
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8778
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)
8779
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)
8780
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)
8781
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)
8782
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)
8783
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)
8784
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)
8785
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)
8786
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)
8787
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)
8788
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)
8789
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)
8790
sine = sine + change
8791
else
8792
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8793
handlexweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
8794
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)
8795
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)
8796
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)
8797
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)
8798
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)
8799
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)
8800
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)
8801
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)
8802
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)
8803
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)
8804
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)
8805
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)
8806
sine = sine + change
8807
end
8808
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
8809
local velderp=RootPart.Velocity.y
8810
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
8811
if equipped==true or equipped==false then
8812
if attack==false then
8813
idle=idle+1
8814
else
8815
idle=0
8816
end
8817
if idle>=500 then
8818
if attack==false then
8819
--Sheath()
8820
end
8821
end
8822
if RootPart.Velocity.y > 1 and hitfloor==nil then
8823
Anim="Jump"
8824
if attack==false then
8825
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)
8826
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)
8827
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)
8828
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
8829
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)
8830
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)
8831
end
8832
elseif RootPart.Velocity.y < -1 and hitfloor==nil then
8833
Anim="Fall"
8834
if attack==false then
8835
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)
8836
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)
8837
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)
8838
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
8839
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)
8840
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)
8841
end
8842
elseif torvel<1 and hitfloor~=nil then
8843
Anim="Idle"
8844
if attack==false then
8845
if ModeOfGlitch == 1 then
8846
local snap = math.random(1,10)
8847
if snap == 1 then
8848
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)
8849
end
8850
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)
8851
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)
8852
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)
8853
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)
8854
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)
8855
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)
8856
elseif ModeOfGlitch == 2335 then
8857
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)
8858
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)
8859
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)
8860
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)
8861
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)
8862
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)
8863
elseif ModeOfGlitch == -5 or ModeOfGlitch == 665 then
8864
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)
8865
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)
8866
RootJoint.C0 = clerp(RootJoint.C0,cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
8867
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
8868
LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
8869
RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
8870
elseif ModeOfGlitch == 5 then
8871
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)
8872
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)
8873
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)
8874
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)
8875
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)
8876
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)
8877
elseif ModeOfGlitch == 738 then
8878
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)
8879
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)
8880
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)
8881
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
8882
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)
8883
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)
8884
elseif ModeOfGlitch == 666666666 then
8885
    local snap = math.random(1,3)
8886
if snap == 1 then
8887
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)
8888
end
8889
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)
8890
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)
8891
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)
8892
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)
8893
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)
8894
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)
8895
elseif ModeOfGlitch == 67966 then
8896
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)
8897
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)
8898
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)
8899
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)
8900
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)
8901
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)
8902
elseif ModeOfGlitch == 11 then
8903
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)
8904
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)
8905
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)
8906
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)
8907
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)
8908
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)
8909
elseif ModeOfGlitch == 1055 then
8910
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)
8911
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)
8912
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)
8913
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)
8914
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)
8915
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)
8916
elseif ModeOfGlitch == -666666 then
8917
local snap = math.random(1,30)
8918
if snap == 1 then
8919
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)
8920
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)
8921
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)
8922
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)
8923
end
8924
elseif ModeOfGlitch == 420 then
8925
local snap = math.random(1,5)
8926
if snap == 1 then
8927
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)
8928
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)
8929
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)
8930
end
8931
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)
8932
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)
8933
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)
8934
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)
8935
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)
8936
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)
8937
elseif ModeOfGlitch == 676767 then
8938
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)
8939
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)
8940
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)
8941
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)
8942
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)
8943
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)
8944
elseif ModeOfGlitch == 11111 then
8945
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)
8946
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)
8947
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)
8948
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)
8949
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)
8950
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)
8951
elseif ModeOfGlitch == 242424 then
8952
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)
8953
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)
8954
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)
8955
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)
8956
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)
8957
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)
8958
elseif ModeOfGlitch == 3 or ModeOfGlitch == -2 or ModeOfGlitch == 25 or ModeOfGlitch == 3141 or ModeOfGlitch == 146536 then
8959
local snap = math.random(1,32)
8960
if snap == 1 then
8961
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)
8962
end
8963
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)
8964
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)
8965
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)
8966
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)
8967
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)
8968
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)
8969
elseif ModeOfGlitch == 3 then
8970
local snap = math.random(1,32)
8971
elseif ModeOfGlitch == 88893333388 then
8972
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)
8973
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)
8974
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)
8975
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)
8976
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)
8977
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)
8978
elseif ModeOfGlitch == 103 then
8979
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)
8980
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)
8981
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)
8982
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)
8983
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)
8984
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)
8985
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
8986
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)
8987
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)
8988
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)
8989
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)
8990
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)
8991
elseif ModeOfGlitch == 2 then
8992
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)
8993
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)
8994
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)
8995
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)
8996
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)
8997
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)
8998
elseif ModeOfGlitch == 3 then
8999
local snap = math.random(1,32)
9000
if snap == 1 then
9001
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)
9002
end
9003
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)
9004
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)
9005
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)
9006
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)
9007
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)
9008
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)
9009
elseif ModeOfGlitch == 453453484635345 then
9010
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)
9011
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)
9012
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)
9013
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)
9014
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)
9015
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)
9016
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)
9017
elseif ModeOfGlitch == 4 then
9018
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)
9019
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)
9020
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)
9021
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)
9022
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)
9023
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)
9024
elseif ModeOfGlitch == 765688533321 then
9025
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)
9026
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)
9027
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)
9028
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)
9029
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)
9030
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)
9031
elseif ModeOfGlitch == 146536 then
9032
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)
9033
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)
9034
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)
9035
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)
9036
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)
9037
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)
9038
elseif ModeOfGlitch == 2339 then
9039
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)
9040
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)
9041
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)
9042
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)
9043
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)
9044
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)
9045
elseif ModeOfGlitch == 5 then
9046
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)
9047
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)
9048
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)
9049
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)
9050
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)
9051
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)
9052
elseif ModeOfGlitch == 6 then
9053
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)
9054
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)
9055
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)
9056
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)
9057
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)
9058
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)
9059
elseif ModeOfGlitch == 8 then
9060
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)
9061
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)
9062
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)
9063
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)
9064
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)
9065
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)
9066
elseif ModeOfGlitch == 9 then
9067
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)
9068
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)
9069
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)
9070
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)
9071
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)
9072
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)
9073
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
9074
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)
9075
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)
9076
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)
9077
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)
9078
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)
9079
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)
9080
elseif ModeOfGlitch == 999999999 then
9081
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)
9082
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)
9083
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)
9084
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)
9085
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)
9086
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)
9087
elseif ModeOfGlitch == 8889 or ModeOfGlitch == 911  then
9088
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)
9089
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)
9090
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)
9091
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)
9092
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)
9093
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)
9094
elseif ModeOfGlitch == 1264532489 then
9095
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)
9096
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)
9097
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)
9098
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)
9099
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)
9100
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)
9101
elseif ModeOfGlitch == 9999999921111 then
9102
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)
9103
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)
9104
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)
9105
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)
9106
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)
9107
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)
9108
elseif ModeOfGlitch == 4367677813 then
9109
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)
9110
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)
9111
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)
9112
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)
9113
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)
9114
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)
9115
elseif ModeOfGlitch == 61 then
9116
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)
9117
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)
9118
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)
9119
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)
9120
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)
9121
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)
9122
elseif ModeOfGlitch == 55469696922 then
9123
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)
9124
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)
9125
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)
9126
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)
9127
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)
9128
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)
9129
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)
9130
elseif ModeOfGlitch == 999999999556 then
9131
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)
9132
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)
9133
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)
9134
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)
9135
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)
9136
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)
9137
end
9138
end
9139
elseif torvel>2 and torvel<22 and hitfloor~=nil then
9140
Anim="Walk"
9141
if attack==false then
9142
if ModeOfGlitch ~= 102 and ModeOfGlitch ~= 2334 then
9143
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)
9144
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)
9145
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)
9146
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)
9147
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)
9148
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)
9149
if ModeOfGlitch == 71 then
9150
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)
9151
end
9152
elseif ModeOfGlitch == 2334 then
9153
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)
9154
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
9155
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)
9156
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)
9157
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)
9158
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)
9159
elseif ModeOfGlitch == 102 then
9160
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)
9161
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)
9162
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)
9163
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)
9164
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)
9165
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)
9166
end
9167
end
9168
elseif torvel>=22 and hitfloor~=nil then
9169
Anim="Run"
9170
if attack==false then
9171
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
9172
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)
9173
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)
9174
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)
9175
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)
9176
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)
9177
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)
9178
if ModeOfGlitch == 9 then
9179
--
9180
end
9181
elseif ModeOfGlitch == -666666 then
9182
local snap = math.random(1,30)
9183
if snap == 1 then
9184
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)
9185
end
9186
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)
9187
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)
9188
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)
9189
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)
9190
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)
9191
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)
9192
elseif ModeOfGlitch == 404 or ModeOfGlitch == 246758 then
9193
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)
9194
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)
9195
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)
9196
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)
9197
RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.5, -0.5) * angles(math.rad(90), math.rad(-80), math.rad(-40)),.2)
9198
LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.2)
9199
 
9200
elseif ModeOfGlitch == 8686 then
9201
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)
9202
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)
9203
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)
9204
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)
9205
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)
9206
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)
9207
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
9208
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)
9209
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)
9210
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)
9211
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)
9212
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)
9213
elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 81 then
9214
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)
9215
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)
9216
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)
9217
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)
9218
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)
9219
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)
9220
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
9221
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)
9222
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)
9223
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)
9224
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)
9225
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)
9226
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)
9227
elseif ModeOfGlitch == 2335 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 then
9228
wait(0.5)
9229
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)
9230
elseif ModeOfGlitch == 5 then
9231
wait(0.5)
9232
local rsiz = math.random(1,3)
9233
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)
9234
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)
9235
elseif ModeOfGlitch == 999999999556 then
9236
handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
9237
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)
9238
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)
9239
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)
9240
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)
9241
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)
9242
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)
9243
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)
9244
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)
9245
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)
9246
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)
9247
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)
9248
 
9249
end
9250
end
9251
end
9252
end
9253
end