View difference between Paste ID: DBQGPsnR and AhM4KX2N
SHOW: | | - or go back to the newest paste.
1
warn'Star Glitcher Loaded.'
2
warn'All purpose switcher...'
3
warn'Created by Noobygames12'
4
warn'Edited by Neubla_Zorua'
5
warn([[Icons:
6
! = New
7
? = Spoilers
8
* = Exclusivity]])
9
print([[V 3.21 (ON PROGRESS) Update Log:
10
! - Changed Judgement back to Justice
11
! - Gave Divinity an attack named Judgement. Credit to XXUNORIB
12
! - Replaced Corruption with Glitchy
13
! - Fixed some bugs, too
14
! - Changed Chaos's "B" (Chaos Begone) to a keystroke. (ddawas)
15
]])
16
 
17
--- its obs smooth af do not touch
18
---- Sources and functions might be taken from others
19-
plr = game:GetService("Players").LocalPlayer
19+
-- Created by Nebula_Zorua --
20-
char = plr.Character
20+
-- NebulaGlitcher Demo --
21-
hum = char:FindFirstChildOfClass'Humanoid'
21+
-- The official second Glitcher's Demo --
22
-- Discord: Nebula the Zorua#6969
23
-- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA
24
-- Given to by Lundo_Fett
25
wait(0.2)
26
27
--Values (EDITED)
28
29
local plrs = game:GetService("Players")
30
local plr = plrs.LocalPlayer
31
local char = plr.Character
32
local cam = game.Workspace.CurrentCamera
33
local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
34
Camera = cam
35
local CamInterrupt = false
36
local TwoD = false
37
local TargetInfo = {nil, nil}
38
cam.CameraType = "Custom"
39
t = char.Torso
40
h = char.Head
41
ra = char["Right Arm"]
42
la = char["Left Arm"]
43
rl = char["Right Leg"]
44
ll = char["Left Leg"]
45
tors = char.Torso
46
lleg = char["Left Leg"]
47
root = char.HumanoidRootPart
48
hed = char.Head
49
rleg = char["Right Leg"]
50
rarm = char["Right Arm"]
51
larm = char["Left Arm"]
52
radian = math.rad
53
random = math.random
54
Vec3 = Vector3.new
55
Inst = Instance.new
56
cFrame = CFrame.new
57
Euler = CFrame.fromEulerAnglesXYZ
58
vt = Vector3.new
59
bc = BrickColor.new
60
br = BrickColor.random
61
it = Instance.new
62
cf = CFrame.new
63
 
64
local ODers = {}
65
 
66
local AllowRape = false;
67
local AllowCata = false;
68
 
69
local Booleans = {
70
  CamFollow = true,
71
  GyroUse = true
72
}
73
 
74
function lerp(object, newCFrame, alpha)
75
  return object:lerp(newCFrame, alpha)
76
end
77
 
78
local Directer = Inst("BodyGyro", root)
79
Directer.MaxTorque = Vec3(0, 0, 0)
80
Directer.P = 600000
81
local CPart = Inst("Part")
82
CPart.Anchored = true
83
CPart.CanCollide = false
84
CPart.Locked = true
85
CPart.Transparency = 1
86
 
87
local rainbowmode = false
88
local chaosmode = false
89
local glitchymode = false
90
kan = Instance.new("Sound",char)
91
kan.Volume = 1.25
92
kan.TimePosition = 0
93
kan.PlaybackSpeed = 1
94
kan.Pitch = 1
95
kan.SoundId = "rbxassetid://1564523997"
96
kan.Name = "wrecked"
97
kan.Looped = true
98
kan:Play()
99
 
100
local MID = "rbxassetid://1564523997";
101
local Pitch = 1;
102
 
103
function newTheme(ID,timepos,pitch,vol)
104
local kanz = kan
105
--kanz:Stop()
106
--kanz.Volume = vol
107
--kanz.TimePosition = timepos
108
kanz.PlaybackSpeed = pitch
109
kanz.Pitch = pitch
110
kanz.SoundId = ID
111
kanz.Name = "wrecked"
112
kanz.Looped = true
113
Pitch = pitch
114
MID = ID
115
--kanz:Play()
116
--coroutine.resume(coroutine.create(function()
117
--wait(0.05)
118
--end))
119
end
120
 
121
function newThemeCust(ID,timepos,pitch,vol)
122
local kanz = kan
123
kanz:Stop()
124
kanz.Volume = vol
125
kanz.TimePosition = timepos
126
kanz.PlaybackSpeed = pitch
127
kanz.Pitch = pitch
128
MID = ID
129
kanz.SoundId = ID
130
kanz.Name = "wrecked"
131
kanz.Looped = true
132
kanz:Play()
133
coroutine.resume(coroutine.create(function()
134
wait(0.05)
135
end))
136
end
137
 
138
 
139
 
140
function CameraShake(Times, Power, PlayerTarget)
141
coroutine.resume(coroutine.create(function()
142
FV = Instance.new("BoolValue", PlayerTarget)
143
FV.Name = "CameraShake"
144
for ShakeNum=1,Times do
145
swait()
146
local ef=Power
147
  if ef>=1 then
148
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
149
  else
150
   ef=Power*10
151
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
152
  end  
153
end
154
Humanoid.CameraOffset = Vector3.new(0,0,0)
155
FV:Destroy()
156
end))
157
end
158
 
159
function CameraEnshaking(Length,Intensity)
160
coroutine.resume(coroutine.create(function()
161
      local intensity = 1*Intensity
162
      local rotM = 0.01*Intensity
163
for i = 0, Length, 0.1 do
164
swait()
165
intensity = intensity - 0.05*Intensity/Length
166
rotM = rotM - 0.0005*Intensity/Length
167
      hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
168
      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)
169
end
170
Humanoid.CameraOffset = Vec3(0, 0, 0)
171
end))
172
end
173
CamShake=function(Part,Distan,Power,Times)
174
local de=Part.Position
175
for i,v in pairs(workspace:children()) do
176
 if v:IsA("Model") and v:findFirstChild("Humanoid") then
177
for _,c in pairs(v:children()) do
178
if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
179
local Noob=vFindFirstChildOfClass'Humanoid'
180
if Noob~=nil then
181
coroutine.resume(coroutine.create(function()
182
FV = Instance.new("BoolValue", Noob)
183
FV.Name = "CameraShake"
184
for ShakeNum=1,Times do
185
swait()
186
local ef=Power
187
  if ef>=1 then
188
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
189
  else
190
   ef=Power*10
191
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
192
  end  
193
end
194
Humanoid.CameraOffset = Vector3.new(0,0,0)
195
FV:Destroy()
196
end))
197
CameraShake(Times, Power, Noob)
198
end
199
end
200
end
201
end
202
end
203
end
204
 
205
function chatfunc(text,color)
206
local chat = coroutine.wrap(function()
207
if Character:FindFirstChild("TalkingBillBoard")~= nil then
208
Character:FindFirstChild("TalkingBillBoard"):destroy()
209
end
210
local naeeym2 = Instance.new("BillboardGui",Character)
211
naeeym2.Size = UDim2.new(0,100,0,40)
212
naeeym2.StudsOffset = Vector3.new(0,3,0)
213
naeeym2.Adornee = Character.Head
214
naeeym2.Name = "TalkingBillBoard"
215
local tecks2 = Instance.new("TextLabel",naeeym2)
216
tecks2.BackgroundTransparency = 1
217
tecks2.BorderSizePixel = 0
218
tecks2.Text = ""
219
tecks2.Font = "SciFi"
220
tecks2.TextSize = 30
221
tecks2.TextStrokeTransparency = 0
222
tecks2.TextColor3 = color
223
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
224
tecks2.Size = UDim2.new(1,0,0.5,0)
225
local tecks3 = Instance.new("TextLabel",naeeym2)
226
tecks3.BackgroundTransparency = 1
227
tecks3.BorderSizePixel = 0
228
tecks3.Text = ""
229
tecks3.Font = "SciFi"
230
tecks3.TextSize = 30
231
tecks3.TextStrokeTransparency = 0
232
tecks3.TextColor3 = Color3.new(0,0,0)
233
tecks3.TextStrokeColor3 = color
234
tecks3.Size = UDim2.new(1,0,0.5,0)
235
coroutine.resume(coroutine.create(function()
236
while true do
237
swait(1)
238
if chaosmode == true then
239
tecks2.TextColor3 = BrickColor.random().Color
240
tecks3.TextStrokeColor3 = BrickColor.random().Color
241
end
242
if(glitchymode)then
243
    local val = math.random(1,255)
244
    local color = Color3.fromRGB(val,val,val)
245
    tecks2.TextColor3 = color
246
    tecks3.TextStrokeColor3 = color
247
end
248
tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
249
tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
250
tecks2.Rotation = math.random(-5,5)
251
tecks3.Rotation = math.random(-5,5)
252
end
253
end))
254
for i = 1,string.len(text),1 do
255
CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
256
tecks2.Text = string.sub(text,1,i)
257
tecks3.Text = string.sub(text,1,i)
258
swait(1)
259
end
260
wait(1)
261
local randomrot = math.random(1,2)
262
if randomrot == 1 then
263
for i = 1, 50 do
264
swait()
265
tecks2.Rotation = tecks2.Rotation - .75
266
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
267
tecks2.TextTransparency = tecks2.TextTransparency + .04
268
tecks3.Rotation = tecks2.Rotation + .75
269
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
270
tecks3.TextTransparency = tecks2.TextTransparency + .04
271
end
272
elseif randomrot == 2 then
273
    for i = 1, 50 do
274
swait()
275
tecks2.Rotation = tecks2.Rotation + .75
276
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
277
tecks2.TextTransparency = tecks2.TextTransparency + .04
278
tecks3.Rotation = tecks2.Rotation - .75
279
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
280
tecks3.TextTransparency = tecks2.TextTransparency + .04
281
end
282
end
283
naeeym2:Destroy()
284
end)
285
chat()
286
end
287
 
288
 
289
local Create = LoadLibrary("RbxUtility").Create
290
 
291
CFuncs = { 
292
    ["Part"] = {
293
        Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
294
            local Part = Create("Part"){
295
                Parent = Parent,
296
                Reflectance = Reflectance,
297
                Transparency = Transparency,
298
                CanCollide = false,
299
                Locked = true,
300
                BrickColor = BrickColor.new(tostring(BColor)),
301
                Name = Name,
302
                Size = Size,
303
                Material = Material,
304
            }
305
            RemoveOutlines(Part)
306
            return Part
307
        end;
308
    };
309
   
310
    ["Mesh"] = {
311
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
312
            local Msh = Create(Mesh){
313
                Parent = Part,
314
                Offset = OffSet,
315
                Scale = Scale,
316
            }
317
            if Mesh == "SpecialMesh" then
318
                Msh.MeshType = MeshType
319
                Msh.MeshId = MeshId
320
            end
321
            return Msh
322
        end;
323
    };
324
   
325
    ["Mesh"] = {
326
        Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
327
            local Msh = Create(Mesh){
328
                Parent = Part,
329
                Offset = OffSet,
330
                Scale = Scale,
331
            }
332
            if Mesh == "SpecialMesh" then
333
                Msh.MeshType = MeshType
334
                Msh.MeshId = MeshId
335
            end
336
            return Msh
337
        end;
338
    };
339
   
340
    ["Weld"] = {
341
        Create = function(Parent, Part0, Part1, C0, C1)
342
            local Weld = Create("Weld"){
343
                Parent = Parent,
344
                Part0 = Part0,
345
                Part1 = Part1,
346
                C0 = C0,
347
                C1 = C1,
348
            }
349
            return Weld
350
        end;
351
    };
352
 
353
    ["Sound"] = {
354
        Create = function(id, par, vol, pit)
355
            return coroutine.wrap(function()
356
                local S = Create("Sound"){
357
                    Volume = vol,
358
                                        Name = "EffectSoundo",
359
                    Pitch = pit or 1,
360
                    SoundId = id,
361
                    Parent = par or workspace,
362
                }
363
                S:Play()
364
                S.Ended:connect(function()
365
                    S:Destroy()
366
                end)
367
                return S;
368
            end)()
369
        end;
370
    };
371
 
372
["LongSound"] = {
373
        Create = function(id, par, vol, pit)
374
            coroutine.resume(coroutine.create(function()
375
                local S = Create("Sound"){
376
                    Volume = vol,
377
                    Pitch = pit or 1,
378
                    SoundId = id,
379
                    Parent = par or workspace,
380
                }
381
                wait()
382
                S:play()
383
                game:GetService("Debris"):AddItem(S, 30)
384
            end))
385
        end;
386
    };
387
   
388
    ["ParticleEmitter"] = {
389
        Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
390
            local fp = Create("ParticleEmitter"){
391
                Parent = Parent,
392
                Color = ColorSequence.new(Color1, Color2),
393
                LightEmission = LightEmission,
394
                Size = Size,
395
                Texture = Texture,
396
                Transparency = Transparency,
397
                ZOffset = ZOffset,
398
                Acceleration = Accel,
399
                Drag = Drag,
400
                LockedToPart = LockedToPart,
401
                VelocityInheritance = VelocityInheritance,
402
                EmissionDirection = EmissionDirection,
403
                Enabled = Enabled,
404
                Lifetime = LifeTime,
405
                Rate = Rate,
406
                Rotation = Rotation,
407
                RotSpeed = RotSpeed,
408
                Speed = Speed,
409
                VelocitySpread = VelocitySpread,
410
            }
411
            return fp
412
        end;
413
    };
414
 
415
    CreateTemplate = {
416
   
417
    };
418
}
419
 
420
 
421
 
422
New = function(Object, Parent, Name, Data)
423
    local Object = Instance.new(Object)
424
    for Index, Value in pairs(Data or {}) do
425
        Object[Index] = Value
426
    end
427
    Object.Parent = Parent
428
    Object.Name = Name
429
    return Object
430
end
431
local halocolor = BrickColor.new("Pastel light blue")
432
local halocolor2 = BrickColor.new("Cool yellow")
433
local starcolor = BrickColor.new("Bright yellow")
434
local lunacolor = BrickColor.new("Navy blue")
435
local lunacolor2 = BrickColor.new("Bright blue")
436
local wepcolor = BrickColor.new("Really black")
437
local maincolor = BrickColor.new("Really black")
438
local m = Instance.new("Model",char)
439
local m2 = Instance.new("Model",char)
440
local m3 = Instance.new("Model",char)
441
local mw1 = Instance.new("Model",char)
442
local mw2 = Instance.new("Model",char)
443
 
444
local extrawingmod1 = Instance.new("Model",char)
445
local extrawingmod2 = Instance.new("Model",char)
446
 
447
function CreateParta(parent,transparency,reflectance,material,brickcolor)
448
local p = Instance.new("Part")
449
p.TopSurface = 0
450
p.BottomSurface = 0
451
p.Parent = parent
452
p.Size = Vector3.new(0.1,0.1,0.1)
453
p.Transparency = transparency
454
p.Reflectance = reflectance
455
p.CanCollide = false
456
p.Locked = true
457
p.BrickColor = brickcolor
458
p.Material = material
459
return p
460
end
461
 
462
function CreateMesh(parent,meshtype,x1,y1,z1)
463
local mesh = Instance.new("SpecialMesh",parent)
464
mesh.MeshType = meshtype
465
mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
466
return mesh
467
end
468
 
469
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
470
local mesh = Instance.new("SpecialMesh",parent)
471
mesh.MeshType = "FileMesh"
472
mesh.MeshId = meshid
473
mesh.Scale = Vector3.new(x1,y1,z1)
474
return mesh
475
end
476
 
477
 
478
function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
479
local mesh = Instance.new("SpecialMesh",parent)
480
mesh.MeshType = "FileMesh"
481
mesh.MeshId = meshid
482
mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
483
mesh.Scale = Vector3.new(x1,y1,z1)
484
mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
485
return mesh
486
end
487
 
488
function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
489
local weld = Instance.new("Weld")
490
weld.Parent = parent
491
weld.Part0 = part0
492
weld.Part1 = part1
493
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
494
weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
495
return weld
496
end
497
 
498
local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
499
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))
500
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
501
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))
502
 
503
local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
504
CreateMesh(handle,"Brick",0,0,0)
505
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))
506
local valuaring = 10
507
for i = 0, 49 do
508
    valuaring = valuaring + 10
509
rn = CreateParta(mw2,0,0,"Neon",halocolor)
510
CreateMesh(rn,"Brick",0.25,0.1,0.1)
511
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))
512
end
513
 
514
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
515
CreateMesh(handle,"Brick",0,0,0)
516
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))
517
local valuaring = 10
518
for i = 0, 49 do
519
    valuaring = valuaring + 10
520
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
521
CreateMesh(rn,"Brick",0.5,0.2,0.2)
522
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))
523
end
524
 
525
 
526
local handle = CreateParta(m,1,1,"Neon",maincolor)
527
CreateMesh(handle,"Brick",0.5,0.5,0.5)
528
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))
529
 
530
--- Left wing.
531
 
532
local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
533
CreateMesh(handle,"Brick",0.5,0.5,0.5)
534
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))
535
 
536
wed = CreateParta(mw1,0,0,"Neon",halocolor)
537
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
538
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))
539
wed = CreateParta(mw1,0,0,"Neon",halocolor)
540
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
541
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))
542
A0 = Instance.new('Attachment',wed)
543
wed = CreateParta(mw1,0,0,"Neon",halocolor)
544
CreateMesh(wed,"Wedge",0.05,0.5,3)
545
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))
546
A1 = Instance.new('Attachment',wed)
547
wed = CreateParta(mw1,0,0,"Neon",halocolor)
548
CreateMesh(wed,"Wedge",0.05,3,0.5)
549
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))
550
 
551
tl1 = Instance.new('Trail',wed)
552
tl1.Attachment0 = A0
553
tl1.Attachment1 = A1
554
--tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
555
tl1.LightEmission = 1
556
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
557
tl1.Color = ColorSequence.new(BrickColor.new('Black').Color)
558
tl1.Lifetime = 0.6
559
 
560
 
561
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
562
CreateMesh(handle,"Brick",0.5,0.5,0.5)
563
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))
564
 
565
wed = CreateParta(mw1,0,0,"Neon",halocolor)
566
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
567
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))
568
wed = CreateParta(mw1,0,0,"Neon",halocolor)
569
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
570
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))
571
A0 = Instance.new('Attachment',wed)
572
wed = CreateParta(mw1,0,0,"Neon",halocolor)
573
CreateMesh(wed,"Wedge",0.05,0.5,3)
574
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))
575
A1 = Instance.new('Attachment',wed)
576
wed = CreateParta(mw1,0,0,"Neon",halocolor)
577
CreateMesh(wed,"Wedge",0.05,3,0.5)
578
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))
579
 
580
tl2 = Instance.new('Trail',wed)
581
tl2.Attachment0 = A0
582
tl2.Attachment1 = A1
583
--tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
584
tl2.LightEmission = 1
585
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
586
tl2.Color = ColorSequence.new(BrickColor.new('Black').Color)
587
tl2.Lifetime = 0.6
588
 
589
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
590
CreateMesh(handle,"Brick",0.5,0.5,0.5)
591
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))
592
 
593
wed = CreateParta(mw1,0,0,"Neon",halocolor)
594
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
595
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))
596
wed = CreateParta(mw1,0,0,"Neon",halocolor)
597
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
598
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))
599
A0 = Instance.new('Attachment',wed)
600
wed = CreateParta(mw1,0,0,"Neon",halocolor)
601
CreateMesh(wed,"Wedge",0.05,0.5,3)
602
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))
603
A1 = Instance.new('Attachment',wed)
604
wed = CreateParta(mw1,0,0,"Neon",halocolor)
605
CreateMesh(wed,"Wedge",0.05,3,0.5)
606
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))
607
 
608
tl3 = Instance.new('Trail',wed)
609
tl3.Attachment0 = A0
610
tl3.Attachment1 = A1
611
--tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
612
tl3.LightEmission = 1
613
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
614
tl3.Color = ColorSequence.new(BrickColor.new('Black').Color)
615
tl3.Lifetime = 0.6
616
 
617
tl1.Enabled = false
618
tl2.Enabled = false
619
tl3.Enabled = false
620
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
621
CreateMesh(handle,"Brick",0.5,0.5,0.5)
622
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))
623
 
624
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
625
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
626
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))
627
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
628
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
629
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))
630
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
631
CreateMesh(wed,"Wedge",0.05,0.5,3)
632
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))
633
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
634
CreateMesh(wed,"Wedge",0.05,3,0.5)
635
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))
636
 
637
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
638
CreateMesh(handle,"Brick",0.5,0.5,0.5)
639
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))
640
 
641
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
642
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
643
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))
644
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
645
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
646
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))
647
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
648
CreateMesh(wed,"Wedge",0.05,0.5,3)
649
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))
650
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
651
CreateMesh(wed,"Wedge",0.05,3,0.5)
652
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))
653
 
654
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
655
CreateMesh(handle,"Brick",0.5,0.5,0.5)
656
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))
657
 
658
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
659
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
660
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))
661
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
662
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
663
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))
664
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
665
CreateMesh(wed,"Wedge",0.05,0.5,3)
666
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))
667
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
668
CreateMesh(wed,"Wedge",0.05,3,0.5)
669
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))
670
 
671
-- Right wing.
672
 
673
local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
674
CreateMesh(handle,"Brick",0.5,0.5,0.5)
675
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))
676
 
677
wed = CreateParta(mw2,0,0,"Neon",halocolor)
678
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
679
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))
680
A0 = Instance.new('Attachment',wed)
681
wed = CreateParta(mw2,0,0,"Neon",halocolor)
682
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
683
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))
684
wed = CreateParta(mw2,0,0,"Neon",halocolor)
685
CreateMesh(wed,"Wedge",0.05,0.5,3)
686
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))
687
wed = CreateParta(mw2,0,0,"Neon",halocolor)
688
CreateMesh(wed,"Wedge",0.05,3,0.5)
689
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))
690
A1 = Instance.new('Attachment',wed)
691
 
692
tr1 = Instance.new('Trail',wed)
693
tr1.Attachment0 = A0
694
tr1.Attachment1 = A1
695
--tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
696
tr1.LightEmission = 1
697
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
698
tr1.Color = ColorSequence.new(BrickColor.new('Black').Color)
699
tr1.Lifetime = 0.6
700
 
701
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
702
CreateMesh(handle,"Brick",0.5,0.5,0.5)
703
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))
704
 
705
wed = CreateParta(mw2,0,0,"Neon",halocolor)
706
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
707
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))
708
A0 = Instance.new('Attachment',wed)
709
wed = CreateParta(mw2,0,0,"Neon",halocolor)
710
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
711
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))
712
wed = CreateParta(mw2,0,0,"Neon",halocolor)
713
CreateMesh(wed,"Wedge",0.05,0.5,3)
714
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))
715
wed = CreateParta(mw2,0,0,"Neon",halocolor)
716
CreateMesh(wed,"Wedge",0.05,3,0.5)
717
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))
718
A1 = Instance.new('Attachment',wed)
719
 
720
tr2 = Instance.new('Trail',wed)
721
tr2.Attachment0 = A0
722
tr2.Attachment1 = A1
723
--tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
724
tr2.LightEmission = 1
725
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
726
tr2.Color = ColorSequence.new(BrickColor.new('Black').Color)
727
tr2.Lifetime = 0.6
728
 
729
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
730
CreateMesh(handle,"Brick",0.5,0.5,0.5)
731
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))
732
 
733
wed = CreateParta(mw2,0,0,"Neon",halocolor)
734
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
735
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))
736
A0 = Instance.new('Attachment',wed)
737
wed = CreateParta(mw2,0,0,"Neon",halocolor)
738
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
739
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))
740
wed = CreateParta(mw2,0,0,"Neon",halocolor)
741
CreateMesh(wed,"Wedge",0.05,0.5,3)
742
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))
743
wed = CreateParta(mw2,0,0,"Neon",halocolor)
744
CreateMesh(wed,"Wedge",0.05,3,0.5)
745
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))
746
A1 = Instance.new('Attachment',wed)
747
 
748
tr3 = Instance.new('Trail',wed)
749
tr3.Attachment0 = A0
750
tr3.Attachment1 = A1
751
--tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
752
tr3.LightEmission = 1
753
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
754
tr3.Color = ColorSequence.new(BrickColor.new('Black').Color)
755
tr3.Lifetime = 0.6
756
 
757
 
758
local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
759
CreateMesh(handle,"Brick",0.5,0.5,0.5)
760
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))
761
 
762
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
763
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
764
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))
765
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
766
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
767
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))
768
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
769
CreateMesh(wed,"Wedge",0.05,0.5,3)
770
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))
771
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
772
CreateMesh(wed,"Wedge",0.05,3,0.5)
773
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))
774
 
775
local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
776
CreateMesh(handle,"Brick",0.5,0.5,0.5)
777
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))
778
 
779
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
780
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
781
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))
782
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
783
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
784
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))
785
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
786
CreateMesh(wed,"Wedge",0.05,0.5,3)
787
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))
788
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
789
CreateMesh(wed,"Wedge",0.05,3,0.5)
790
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))
791
 
792
local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
793
CreateMesh(handle,"Brick",0.5,0.5,0.5)
794
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))
795
 
796
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
797
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
798
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))
799
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
800
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
801
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))
802
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
803
CreateMesh(wed,"Wedge",0.05,0.5,3)
804
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))
805
wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
806
CreateMesh(wed,"Wedge",0.05,3,0.5)
807
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))
808
 
809
---- HERES THE RING
810
 
811
 
812
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
813
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
814
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))
815
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
816
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
817
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))
818
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
819
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
820
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))
821
 
822
 
823
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
824
CreateMesh(gan,"Brick",1.075,0.1,1.075)
825
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))
826
 
827
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
828
CreateMesh(gan,"Brick",1.075,0.1,1.075)
829
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))
830
 
831
 
832
 
833
gan = CreateParta(m2,0,0,"Neon",halocolor2)
834
CreateMesh(gan,"Brick",1.095,0.035,1.095)
835
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))
836
 
837
gan = CreateParta(m2,0,0,"Neon",halocolor2)
838
CreateMesh(gan,"Brick",1.095,0.035,1.095)
839
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))
840
 
841
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
842
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
843
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))
844
 
845
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
846
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
847
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))
848
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
849
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
850
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))
851
 
852
-- S section A
853
 
854
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
855
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
856
CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
857
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
858
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
859
CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
860
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
861
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
862
CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
863
 
864
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
865
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
866
CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
867
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
868
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
869
CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
870
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
871
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
872
CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
873
 
874
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
875
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
876
CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
877
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
878
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
879
CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
880
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
881
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
882
CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
883
 
884
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
885
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
886
CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
887
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
888
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
889
CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
890
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
891
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
892
CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
893
 
894
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
895
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
896
CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
897
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
898
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
899
CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
900
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
901
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
902
CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
903
 
904
-- S section B
905
 
906
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
907
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
908
CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
909
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
910
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
911
CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
912
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
913
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
914
CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
915
 
916
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
917
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
918
CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
919
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
920
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
921
CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
922
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
923
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
924
CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
925
 
926
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
927
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
928
CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
929
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
930
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
931
CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
932
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
933
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
934
CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
935
 
936
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
937
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
938
CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
939
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
940
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
941
CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
942
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
943
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
944
CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
945
 
946
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
947
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
948
CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
949
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
950
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
951
CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
952
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
953
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
954
CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
955
 
956
--- second ring
957
 
958
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
959
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
960
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))
961
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
962
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
963
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))
964
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
965
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
966
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))
967
 
968
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
969
CreateMesh(gan,"Brick",1.075,0.1,1.075)
970
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))
971
 
972
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
973
CreateMesh(gan,"Brick",1.075,0.1,1.075)
974
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))
975
 
976
 
977
 
978
gan = CreateParta(m2,0,0,"Neon",halocolor2)
979
CreateMesh(gan,"Brick",1.095,0.035,1.095)
980
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))
981
 
982
gan = CreateParta(m2,0,0,"Neon",halocolor2)
983
CreateMesh(gan,"Brick",1.095,0.035,1.095)
984
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))
985
 
986
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
987
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
988
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))
989
 
990
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
991
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
992
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))
993
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
994
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
995
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))
996
 
997
-- S section A
998
 
999
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1000
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1001
CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1002
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1003
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1004
CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1005
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1006
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1007
CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1008
 
1009
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1010
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1011
CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1012
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1013
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1014
CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1015
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1016
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1017
CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1018
 
1019
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1020
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1021
CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1022
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1023
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1024
CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1025
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1026
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1027
CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1028
 
1029
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1030
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1031
CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1032
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1033
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1034
CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1035
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1036
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1037
CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1038
 
1039
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1040
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1041
CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1042
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1043
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1044
CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1045
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1046
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1047
CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1048
 
1049
-- S section B
1050
 
1051
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1052
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1053
CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1054
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1055
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1056
CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1057
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1058
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1059
CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1060
 
1061
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1062
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1063
CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1064
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1065
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1066
CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1067
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1068
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1069
CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1070
 
1071
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1072
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1073
CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1074
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1075
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1076
CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1077
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1078
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1079
CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1080
 
1081
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1082
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1083
CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1084
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1085
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1086
CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1087
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1088
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1089
CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1090
 
1091
dotsec = CreateParta(m3,0,0,"Neon",halocolor)
1092
CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
1093
CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1094
dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1095
CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
1096
CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
1097
dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
1098
CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
1099
CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
1100
 
1101
 
1102
for i, v in pairs(m:GetChildren()) do
1103
if v:IsA("Part") then
1104
v.BrickColor = BrickColor.new("Really black")
1105
v.Material = "Glass"
1106
end
1107
end
1108
for i, v in pairs(m2:GetChildren()) do
1109
if v:IsA("Part") then
1110
v.BrickColor = BrickColor.new("Dark stone grey")
1111
v.Material = "Granite"
1112
end
1113
end
1114
for i, v in pairs(m3:GetChildren()) do
1115
if v:IsA("Part") then
1116
v.BrickColor = BrickColor.new("Really black")
1117
v.Material = "Neon"
1118
end
1119
end
1120
for i, v in pairs(mw2:GetChildren()) do
1121
if v:IsA("Part") then
1122
v.BrickColor = BrickColor.new("Really black")
1123
v.Material = "Neon"
1124
end
1125
end
1126
for i, v in pairs(mw1:GetChildren()) do
1127
if v:IsA("Part") then
1128
v.Transparency = 1
1129
v.BrickColor = BrickColor.new("Really black")
1130
v.Material = "Neon"
1131
end
1132
end
1133
for i, v in pairs(extrawingmod1:GetChildren()) do
1134
if v:IsA("Part") then
1135
v.Transparency = 1
1136
v.BrickColor = BrickColor.new("White")
1137
v.Material = "Neon"
1138
end
1139
end
1140
for i, v in pairs(extrawingmod2:GetChildren()) do
1141
if v:IsA("Part") then
1142
v.Transparency = 1
1143
v.BrickColor = BrickColor.new("White")
1144
v.Material = "Neon"
1145
end
1146
end
1147
local MAINRUINCOLOR = BrickColor.new("Really black")
1148
------
1149
 
1150
 
1151
function RemoveOutlines(part)
1152
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1153
end
1154
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1155
  local Part = Create("Part")({
1156
    Parent = Parent,
1157
    Reflectance = Reflectance,
1158
    Transparency = Transparency,
1159
    CanCollide = false,
1160
    Locked = true,
1161
    BrickColor = BrickColor.new(tostring(BColor)),
1162
    Name = Name,
1163
    Size = Size,
1164
    Material = Material
1165
  })
1166
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1167
  RemoveOutlines(Part)
1168
  return Part
1169
end
1170
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1171
  local Msh = Create(Mesh)({
1172
    Parent = Part,
1173
    Offset = OffSet,
1174
    Scale = Scale
1175
  })
1176
  if Mesh == "SpecialMesh" then
1177
    Msh.MeshType = MeshType
1178
    Msh.MeshId = MeshId
1179
  end
1180
  return Msh
1181
end
1182
function CreateWeld(Parent, Part0, Part1, C0, C1)
1183-
Player=game:GetService("Players").LocalPlayer
1183+
1184
    Parent = Parent,
1185
    Part0 = Part0,
1186
    Part1 = Part1,
1187
    C0 = C0,
1188
    C1 = C1
1189
  })
1190
  return Weld
1191
end
1192
 
1193
Player=game:GetService("Players").Lundo_Fett
1194
Character=Player.Character
1195
PlayerGui=Player.PlayerGui
1196
Backpack=Player.Backpack
1197
Torso=Character.Torso
1198
Head=Character.Head
1199
Humanoid=Character:FindFirstChildOfClass'Humanoid'
1200
m=Instance.new('Model',Character)
1201
LeftArm=Character["Left Arm"]
1202
LeftLeg=Character["Left Leg"]
1203
RightArm=Character["Right Arm"]
1204
RightLeg=Character["Right Leg"]
1205
LS=Torso["Left Shoulder"]
1206
LH=Torso["Left Hip"]
1207
RS=Torso["Right Shoulder"]
1208
RH=Torso["Right Hip"]
1209
Face = Head.face
1210
Neck=Torso.Neck
1211
it=Instance.new
1212
attacktype=1
1213
vt=Vector3.new
1214
cf=CFrame.new
1215
euler=CFrame.fromEulerAnglesXYZ
1216
angles=CFrame.Angles
1217
cloaked=false
1218
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1219
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1220
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
1221
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
1222
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
1223
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
1224
RootPart=Character.HumanoidRootPart
1225
RootJoint=RootPart.RootJoint
1226
RootCF=euler(-1.57,0,3.14)
1227
attack = false
1228
attackdebounce = false
1229
deb=false
1230
equipped=true
1231
hand=false
1232
MMouse=nil
1233
combo=0
1234
mana=0
1235
trispeed=.2
1236
attackmode='none'
1237
local idle=0
1238
local Anim="Idle"
1239
local Effects={}
1240
local gun=false
1241
local shoot=false
1242
local sine = 0
1243
local change = 1
1244
player=nil
1245
pcall(function()char.LeftWing:destroy()end)
1246
pcall(function()char.Halo:destroy()end)
1247
local toggleTag = true
1248
local txt = Instance.new("BillboardGui", Head)
1249
txt.Adornee = nil
1250
txt.Name = "NameDetect"
1251
txt.Size = UDim2.new(4, 0, 1.2, 0)
1252
txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
1253
local text = Instance.new("TextLabel", txt)
1254
text.Size = UDim2.new(10/2, 0, 7/2, 0)
1255
text.FontSize = "Size8"
1256
text.TextScaled = true
1257
text.TextTransparency = 0
1258
text.BackgroundTransparency = 1
1259
text.TextTransparency = 0
1260
text.TextStrokeTransparency = 0
1261
text.Font = "Fantasy"
1262
text.TextStrokeColor3 = Color3.new(1,1,1)
1263
text.TextColor3 = Color3.new(0,0,0)
1264
text.Text = "Solitude"
1265
 
1266
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
1267
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
1268
 
1269
function RecolorTextAndRename(name,col1,col2)
1270
text.TextStrokeColor3 = col2
1271
text.TextColor3 = col1
1272
text.Text = name
1273
end
1274
mouse=Player:GetMouse()
1275
--save shoulders
1276
RSH, LSH=nil, nil
1277
--welds
1278
RW, LW=Instance.new("Weld"), Instance.new("Weld")
1279
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
1280
LH=Torso["Left Hip"]
1281
RH=Torso["Right Hip"]
1282
TorsoColor=Torso.BrickColor
1283
function NoOutline(Part)
1284
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1285
end
1286
player=Player
1287
ch=Character
1288
RSH=ch.Torso["Right Shoulder"]
1289
LSH=ch.Torso["Left Shoulder"]
1290
--
1291
RSH.Parent=nil
1292
LSH.Parent=nil
1293
--
1294
RW.Name="Right Shoulder"
1295
RW.Part0=ch.Torso
1296
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
1297
RW.C1=cf(0, 0.5, 0)
1298
RW.Part1=ch["Right Arm"]
1299
RW.Parent=ch.Torso
1300
--
1301
LW.Name="Left Shoulder"
1302
LW.Part0=ch.Torso
1303
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
1304
LW.C1=cf(0, 0.5, 0)
1305
LW.Part1=ch["Left Arm"]
1306
LW.Parent=ch.Torso
1307
 
1308
local Stats=Instance.new("BoolValue")
1309
Stats.Name="Stats"
1310
Stats.Parent=Character
1311
local Atk=Instance.new("NumberValue")
1312
Atk.Name="Damage"
1313
Atk.Parent=Stats
1314
Atk.Value=1
1315
local Def=Instance.new("NumberValue")
1316
Def.Name="Defense"
1317
Def.Parent=Stats
1318
Def.Value=1
1319
local Speed=Instance.new("NumberValue")
1320
Speed.Name="Speed"
1321
Speed.Parent=Stats
1322
Speed.Value=1
1323
local Mvmt=Instance.new("NumberValue")
1324
Mvmt.Name="Movement"
1325
Mvmt.Parent=Stats
1326
Mvmt.Value=1
1327
 
1328
local donum=0
1329
 
1330
 
1331
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1332
local fp=it("Part")
1333
fp.formFactor=formfactor
1334
fp.Parent=parent
1335
fp.Reflectance=reflectance
1336
fp.Transparency=transparency
1337
fp.CanCollide=false
1338
fp.Locked=true
1339
fp.BrickColor=brickcolor
1340
fp.Name=name
1341
fp.Size=size
1342
fp.Position=Torso.Position
1343
NoOutline(fp)
1344
fp.Material="SmoothPlastic"
1345
fp:BreakJoints()
1346
return fp
1347
end
1348
 
1349
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1350
local mesh=it(Mesh)
1351
mesh.Parent=part
1352
if Mesh=="SpecialMesh" then
1353
mesh.MeshType=meshtype
1354
if meshid~="nil" then
1355
mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
1356
end
1357
end
1358
mesh.Offset=offset
1359
mesh.Scale=scale
1360
return mesh
1361
end
1362
 
1363
function weld(parent,part0,part1,c0)
1364
local weld=it("Weld")
1365
weld.Parent=parent
1366
weld.Part0=part0
1367
weld.Part1=part1
1368
weld.C0=c0
1369
return weld
1370
end
1371
 
1372
local Color1=Torso.BrickColor
1373
 
1374
local bodvel=Instance.new("BodyVelocity")
1375
local bg=Instance.new("BodyGyro")
1376
 
1377
--// Artificial HB \\--
1378
 
1379
local ArtificialHB = Instance.new("BindableEvent", script)
1380
ArtificialHB.Name = "Heartbeat"
1381
 
1382
script:WaitForChild("Heartbeat")
1383
 
1384
local tf = 0
1385
local allowframeloss = false
1386
local tossremainder = false
1387
local lastframe = tick()
1388
local frame = 1/60
1389
ArtificialHB:Fire()
1390
 
1391
game:GetService("RunService").Heartbeat:connect(function(s, p)
1392
    tf = tf + s
1393
    if tf >= frame then
1394
        if allowframeloss then
1395
            script.Heartbeat:Fire()
1396
            lastframe = tick()
1397
        else
1398
            for i = 1, math.floor(tf / frame) do
1399
                ArtificialHB:Fire()
1400
            end
1401
            lastframe = tick()
1402
        end
1403
        if tossremainder then
1404
            tf = 0
1405
        else
1406
            tf = tf - frame * math.floor(tf / frame)
1407
        end
1408
    end
1409
end)
1410
 
1411
function swait(num)
1412
    if num == 0 or num == nil then
1413
        ArtificialHB.Event:wait()
1414
    else
1415
        for i = 0, num do
1416
            ArtificialHB.Event:wait()
1417
        end
1418
    end
1419
end
1420
 
1421
-------- RAINBOW LEAVE IT TO ME
1422
local r = 255
1423
local g = 0
1424
local b = 0
1425
coroutine.resume(coroutine.create(function()
1426
while wait() do
1427
    for i = 0, 254/5 do
1428
        swait()
1429
        g = g + 5
1430
    end
1431
    for i = 0, 254/5 do
1432
        swait()
1433
        r = r - 5
1434
    end
1435
    for i = 0, 254/5 do
1436
        swait()
1437
        b = b + 5
1438
    end
1439
    for i = 0, 254/5 do
1440
        swait()
1441
        g = g - 5
1442
    end
1443
    for i = 0, 254/5 do
1444
        swait()
1445
        r = r + 5
1446
    end
1447
    for i = 0, 254/5 do
1448
        swait()
1449
        b = b - 5
1450
    end
1451
end
1452
end))
1453
 
1454
 
1455
so = function(id,par,vol,pit)
1456
coroutine.resume(coroutine.create(function()
1457
local sou = Instance.new("Sound",par or workspace)
1458
sou.Volume=vol
1459
sou.Pitch=pit or 1
1460
sou.SoundId=id
1461
swait()
1462
sou:play()
1463
game:GetService("Debris"):AddItem(sou,6)
1464
end))
1465
end
1466
 
1467
function clerp(a,b,t)
1468
    return a:lerp(b,t)
1469
end
1470
 
1471
local function CFrameFromTopBack(at, top, back)
1472
local right = top:Cross(back)
1473
return CFrame.new(at.x, at.y, at.z,
1474
right.x, top.x, back.x,
1475
right.y, top.y, back.y,
1476
right.z, top.z, back.z)
1477
end
1478
 
1479
function Triangle(a, b, c)
1480
local edg1 = (c-a):Dot((b-a).unit)
1481
local edg2 = (a-b):Dot((c-b).unit)
1482
local edg3 = (b-c):Dot((a-c).unit)
1483
if edg1 <= (b-a).magnitude and edg1 >= 0 then
1484
a, b, c = a, b, c
1485
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
1486
a, b, c = b, c, a
1487
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
1488
a, b, c = c, a, b
1489
else
1490
assert(false, "unreachable")
1491
end
1492
 
1493
local len1 = (c-a):Dot((b-a).unit)
1494
local len2 = (b-a).magnitude - len1
1495
local width = (a + (b-a).unit*len1 - c).magnitude
1496
 
1497
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
1498
 
1499
local list = {}
1500
 
1501
if len1 > 0.01 then
1502
local w1 = Instance.new('WedgePart', m)
1503
game:GetService("Debris"):AddItem(w1,5)
1504
w1.Material = "SmoothPlastic"
1505
w1.FormFactor = 'Custom'
1506
w1.BrickColor = BrickColor.new("Really black")
1507
w1.Transparency = 0
1508
w1.Reflectance = 0
1509
w1.Material = "SmoothPlastic"
1510
w1.CanCollide = false
1511
local l1 = Instance.new("PointLight",w1)
1512
l1.Color = Color3.new(170,0,0)
1513
NoOutline(w1)
1514
local sz = Vector3.new(0.2, width, len1)
1515
w1.Size = sz
1516
local sp = Instance.new("SpecialMesh",w1)
1517
sp.MeshType = "Wedge"
1518
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
1519
w1:BreakJoints()
1520
w1.Anchored = true
1521
w1.Parent = workspace
1522
w1.Transparency = 0.7
1523
table.insert(Effects,{w1,"Disappear",.01})
1524
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
1525
table.insert(list,w1)
1526
end
1527
 
1528
if len2 > 0.01 then
1529
local w2 = Instance.new('WedgePart', m)
1530
game:GetService("Debris"):AddItem(w2,5)
1531
w2.Material = "SmoothPlastic"
1532
w2.FormFactor = 'Custom'
1533
w2.BrickColor = BrickColor.new("Really black")
1534
w2.Transparency = 0
1535
w2.Reflectance = 0
1536
w2.Material = "SmoothPlastic"
1537
w2.CanCollide = false
1538
local l2 = Instance.new("PointLight",w2)
1539
l2.Color = Color3.new(170,0,0)
1540
NoOutline(w2)
1541
local sz = Vector3.new(0.2, width, len2)
1542
w2.Size = sz
1543
local sp = Instance.new("SpecialMesh",w2)
1544
sp.MeshType = "Wedge"
1545
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
1546
w2:BreakJoints()
1547
w2.Anchored = true
1548
w2.Parent = workspace
1549
w2.Transparency = 0.7
1550
table.insert(Effects,{w2,"Disappear",.01})
1551
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
1552
table.insert(list,w2)
1553
end
1554
return unpack(list)
1555
end
1556
 
1557
 
1558
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1559
  if hit.Parent == nil then
1560
    return
1561
  end
1562
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
1563
  for _, v in pairs(hit.Parent:children()) do
1564-
      Value = game:service("Players").LocalPlayer,
1564+
1565
      h = v
1566
    end
1567
  end
1568
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
1569
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1570
      return
1571
    end
1572
    local c = Create("ObjectValue")({
1573
      Name = "creator",
1574
      Value = game:service("Players").Lundo_Fett,
1575
      Parent = h
1576
    })
1577
    game:GetService("Debris"):AddItem(c, 0.5)
1578
    if HitSound ~= nil and HitPitch ~= nil then
1579
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1580
    end
1581
    local Damage = math.random(minim, maxim)
1582
    local blocked = false
1583
    local block = hit.Parent:findFirstChild("Block")
1584
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1585
      blocked = true
1586
      block.Value = block.Value - 1
1587
      print(block.Value)
1588
    end
1589
    if blocked == false then
1590
      HitHealth = h.Health
1591
      h.Health = h.Health - Damage
1592
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
1593
        print("gained kill")
1594
      end
1595
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1596
    else
1597
      h.Health = h.Health - Damage / 2
1598
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
1599
    end
1600
    if Type == "Knockdown" then
1601
      local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
1602
      hum.PlatformStand = true
1603
      coroutine.resume(coroutine.create(function(HHumanoid)
1604
        swait(1)
1605
        HHumanoid.PlatformStand = false
1606
      end), hum)
1607
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1608
      local bodvol = Create("BodyVelocity")({
1609
        velocity = angle * knockback,
1610
        P = 5000,
1611
        maxForce = Vector3.new(8000, 8000, 8000),
1612
        Parent = hit
1613
      })
1614
      local rl = Create("BodyAngularVelocity")({
1615
        P = 3000,
1616
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1617
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1618
        Parent = hit
1619
      })
1620
      game:GetService("Debris"):AddItem(bodvol, 0.5)
1621
      game:GetService("Debris"):AddItem(rl, 0.5)
1622
    elseif Type == "Normal" then
1623
      local vp = Create("BodyVelocity")({
1624
        P = 500,
1625
        maxForce = Vector3.new(math.huge, 0, math.huge),
1626
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
1627
      })
1628
      if knockback > 0 then
1629
        vp.Parent = hit.Parent.Head
1630
      end
1631
      game:GetService("Debris"):AddItem(vp, 0.5)
1632
    elseif Type == "Up" then
1633
      local bodyVelocity = Create("BodyVelocity")({
1634
        velocity = Vector3.new(0, 20, 0),
1635
        P = 5000,
1636
        maxForce = Vector3.new(8000, 8000, 8000),
1637
        Parent = hit
1638
      })
1639
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1640
      local bodyVelocity = Create("BodyVelocity")({
1641
        velocity = Vector3.new(0, 20, 0),
1642
        P = 5000,
1643
        maxForce = Vector3.new(8000, 8000, 8000),
1644
        Parent = hit
1645
      })
1646
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1647
    elseif Type == "Leech" then
1648
      local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
1649
      if hum ~= nil then
1650
        for i = 0, 2 do
1651
          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)
1652
        end
1653
        Humanoid.Health = Humanoid.Health + 10
1654
      end
1655
    elseif Type == "UpKnock" then
1656
      local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
1657
      hum.PlatformStand = true
1658
      if hum ~= nil then
1659
        hitr = true
1660
      end
1661
      coroutine.resume(coroutine.create(function(HHumanoid)
1662
        swait(5)
1663
        HHumanoid.PlatformStand = false
1664
        hitr = false
1665
      end), hum)
1666
      local bodyVelocity = Create("BodyVelocity")({
1667
        velocity = Vector3.new(0, 20, 0),
1668
        P = 5000,
1669
        maxForce = Vector3.new(8000, 8000, 8000),
1670
        Parent = hit
1671
      })
1672
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1673
      local bodyVelocity = Create("BodyVelocity")({
1674
        velocity = Vector3.new(0, 20, 0),
1675
        P = 5000,
1676
        maxForce = Vector3.new(8000, 8000, 8000),
1677
        Parent = hit
1678
      })
1679
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
1680
    elseif Type == "Snare" then
1681
      local bp = Create("BodyPosition")({
1682
        P = 2000,
1683
        D = 100,
1684
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1685
        position = hit.Parent.Torso.Position,
1686
        Parent = hit.Parent.Torso
1687
      })
1688
      game:GetService("Debris"):AddItem(bp, 1)
1689
    elseif Type == "Slashnare" then
1690
      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)
1691
      for i = 1, math.random(4, 5) do
1692
        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)
1693
      end
1694
      local bp = Create("BodyPosition")({
1695
        P = 2000,
1696
        D = 100,
1697
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1698
        position = hit.Parent.Torso.Position,
1699
        Parent = hit.Parent.Torso
1700
      })
1701
      game:GetService("Debris"):AddItem(bp, 1)
1702
    elseif Type == "Spike" then
1703
      CreateBigIceSword(hit.Parent.Torso.CFrame)
1704
      local bp = Create("BodyPosition")({
1705
        P = 2000,
1706
        D = 100,
1707
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1708
        position = hit.Parent.Torso.Position,
1709
        Parent = hit.Parent.Torso
1710
      })
1711
      game:GetService("Debris"):AddItem(bp, 1)
1712
    elseif Type == "Freeze" then
1713
      local BodPos = Create("BodyPosition")({
1714
        P = 50000,
1715
        D = 1000,
1716
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
1717
        position = hit.Parent.Torso.Position,
1718
        Parent = hit.Parent.Torso
1719
      })
1720
      local BodGy = Create("BodyGyro")({
1721
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1722
        P = 20000,
1723
        Parent = hit.Parent.Torso,
1724
        cframe = hit.Parent.Torso.CFrame
1725
      })
1726
      hit.Parent.Torso.Anchored = true
1727
      coroutine.resume(coroutine.create(function(Part)
1728
        swait(1.5)
1729
        Part.Anchored = false
1730
      end), hit.Parent.Torso)
1731
      game:GetService("Debris"):AddItem(BodPos, 3)
1732
      game:GetService("Debris"):AddItem(BodGy, 3)
1733
    end
1734
    local debounce = Create("BoolValue")({
1735
      Name = "DebounceHit",
1736
      Parent = hit.Parent,
1737
      Value = true
1738
    })
1739
    game:GetService("Debris"):AddItem(debounce, Delay)
1740
    c = Instance.new("ObjectValue")
1741
    c.Name = "creator"
1742
    c.Value = Player
1743
    c.Parent = h
1744
    game:GetService("Debris"):AddItem(c, 0.5)
1745
  end
1746
end
1747
function ShowDamage(Pos, Text, Time, Color)
1748
  local Rate = 0.03333333333333333
1749
  local Pos = Pos or Vector3.new(0, 0, 0)
1750
  local Text = Text or ""
1751
  local Time = Time or 2
1752
  local Color = Color or Color3.new(1, 0, 1)
1753
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1754
  EffectPart.Anchored = true
1755
  local BillboardGui = Create("BillboardGui")({
1756
    Size = UDim2.new(3, 0, 3, 0),
1757
    Adornee = EffectPart,
1758
    Parent = EffectPart
1759
  })
1760
  local TextLabel = Create("TextLabel")({
1761
    BackgroundTransparency = 1,
1762
    Size = UDim2.new(1, 0, 1, 0),
1763
    Text = Text,
1764
    TextColor3 = Color,
1765
    TextScaled = true,
1766
    Font = Enum.Font.ArialBold,
1767
    Parent = BillboardGui
1768
  })
1769
  game.Debris:AddItem(EffectPart, Time + 0.1)
1770
  EffectPart.Parent = game:GetService("Workspace")
1771
  delay(0, function()
1772
    local Frames = Time / Rate
1773
    for Frame = 1, Frames do
1774
      wait(Rate)
1775
      local Percent = Frame / Frames
1776
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1777
      TextLabel.TextTransparency = Percent
1778
    end
1779
    if EffectPart and EffectPart.Parent then
1780
      EffectPart:Destroy()
1781
    end
1782
  end)
1783
end
1784
function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
1785
  for _, c in pairs(workspace:children()) do
1786
    local hum = c:findFirstChildOfClass("Humanoid")
1787
    if hum ~= nil then
1788
      local head = c:findFirstChild("Head")
1789
      if head ~= nil then
1790
        local targ = head.Position - Part.Position
1791
        local mag = targ.magnitude
1792
        if magni >= mag and c.Name ~= Player.Name then
1793
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1794
        end
1795
      end
1796
    end
1797
  end
1798
end
1799
 
1800
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
1801
  for _, c in pairs(workspace:children()) do
1802
    local hum = c:findFirstChild("Humanoid")
1803
    if hum ~= nil then
1804
      local head = c:findFirstChild("Torso")
1805
      if head ~= nil then
1806
        local targ = head.Position - Part.Position
1807
        local mag = targ.magnitude
1808
        if magni >= mag and c.Name ~= Player.Name then
1809
    MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
1810
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
1811
        end
1812
      end
1813
    end
1814
  end
1815
end
1816
 
1817
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
1818
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
1819
end
1820
 
1821
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
1822
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1823
prt.Anchored=true
1824
prt.CFrame=cframe
1825
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
1826
--http://www.roblox.com/asset/?id=4770560
1827
game:GetService("Debris"):AddItem(prt,2)
1828
CF=prt.CFrame
1829
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
1830
for i=0,1,0.2 do
1831
wait()
1832
Part.CFrame=CF*cf(0,0,-0.4)
1833
end
1834
for i=0,1,delay do
1835
wait()
1836
--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)
1837
Mesh.Scale=Mesh.Scale
1838
end
1839
for i=0,1,0.1 do
1840
wait()
1841
Part.Transparency=i
1842
end
1843
Part.Parent=nil
1844
end),prt,msh,CF)
1845
end
1846
 
1847
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1848
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1849
prt.Anchored=true
1850
prt.Material = "Neon"
1851
prt.CFrame=cframe
1852
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1853
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1854
game:GetService("Debris"):AddItem(prt,5)
1855
coroutine.resume(coroutine.create(function(Part,Mesh)
1856
for i=0,1,delay do
1857
swait()
1858
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1859
Part.Transparency=i
1860
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1861
end
1862
Part.Parent=nil
1863
end),prt,msh)
1864
end
1865
 
1866
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
1867
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1868
prt.Anchored=true
1869
prt.Material = "Neon"
1870
prt.CFrame=cframe
1871
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1872
game:GetService("Debris"):AddItem(prt,5)
1873
coroutine.resume(coroutine.create(function(Part,Mesh)
1874
    local rtype = rottype
1875
for i=0,1,delay do
1876
swait()
1877
if rtype == 1 then
1878
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1879
elseif rtype == 2 then
1880
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1881
end
1882
Part.Transparency=i
1883
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1884
end
1885
Part.Parent=nil
1886
end),prt,msh)
1887
end
1888
 
1889
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
1890
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1891
prt.Anchored=true
1892
prt.CFrame=cframe
1893
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1894
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
1895
game:GetService("Debris"):AddItem(prt,5)
1896
coroutine.resume(coroutine.create(function(Part,Mesh)
1897
for i=0,1,delay do
1898
wait()
1899
Part.Transparency=i
1900
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1901
end
1902
Part.Parent=nil
1903
end),prt,msh)
1904
end
1905
 
1906
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
1907
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1908
prt.Anchored=true
1909
prt.Material = "Neon"
1910
prt.CFrame=cframe
1911
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
1912
game:GetService("Debris"):AddItem(prt,5)
1913
coroutine.resume(coroutine.create(function(Part,Mesh)
1914
    local rtype = rottype
1915
for i=0,1,delay do
1916
swait()
1917
if rtype == 1 then
1918
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1919
elseif rtype == 2 then
1920
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1921
end
1922
Part.Transparency=i
1923
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
1924
end
1925
Part.Parent=nil
1926
end),prt,msh)
1927
end
1928
 
1929
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
1930
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
1931
prt.Anchored=true
1932
prt.Material = "Neon"
1933
prt.CFrame=cframe
1934
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
1935
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
1936
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
1937
game:GetService("Debris"):AddItem(prt,5)
1938
coroutine.resume(coroutine.create(function(Part,Mesh)
1939
    local rtype = rottype
1940
for i=0,1,delay do
1941
swait()
1942
if rtype == 1 then
1943
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1944
elseif rtype == 2 then
1945
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1946
end
1947
dec.Transparency=i
1948
dec2.Transparency=i
1949
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
1950
end
1951
Part.Parent=nil
1952
end),prt,msh)
1953
end
1954
 
1955
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
1956
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1957
prt.Anchored=true
1958
prt.Material = "Neon"
1959
prt.CFrame=cframe
1960
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
1961
game:GetService("Debris"):AddItem(prt,5)
1962
coroutine.resume(coroutine.create(function(Part,Mesh)
1963
    local rtype = rottype
1964
for i=0,1,delay do
1965
swait()
1966
if rtype == 1 then
1967
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
1968
elseif rtype == 2 then
1969
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
1970
end
1971
prt.Transparency=i
1972
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
1973
end
1974
Part.Parent=nil
1975
end),prt,msh)
1976
end
1977
 
1978
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
1979
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
1980
prt.Anchored=true
1981
prt.Material = "Neon"
1982
prt.CFrame=cframe
1983
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
1984
game:GetService("Debris"):AddItem(prt,5)
1985
coroutine.resume(coroutine.create(function(Part,Mesh)
1986
    local rtype = rottype
1987
for i=0,1,delay do
1988
swait()
1989
if rtype == 1 then
1990
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
1991
elseif rtype == 2 then
1992
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
1993
end
1994
prt.Transparency=i
1995
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
1996
end
1997
Part.Parent=nil
1998
end),prt,msh)
1999
end
2000
 
2001
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
2002
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2003
prt.Anchored=true
2004
prt.Material = "Neon"
2005
prt.CFrame=cframe
2006
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2007
game:GetService("Debris"):AddItem(prt,5)
2008
coroutine.resume(coroutine.create(function(Part,Mesh)
2009
    local rtype = rottype
2010
for i=0,1,delay do
2011
swait()
2012
if rtype == 1 then
2013
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2014
elseif rtype == 2 then
2015
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2016
end
2017
prt.Transparency=i
2018
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2019
end
2020
Part.Parent=nil
2021
end),prt,msh)
2022
end
2023
 
2024
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2025
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2026
prt.Anchored=true
2027
prt.Material = "Neon"
2028
prt.CFrame=cframe
2029
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2030
game:GetService("Debris"):AddItem(prt,5)
2031
coroutine.resume(coroutine.create(function(Part,Mesh)
2032
    local rtype = rottype
2033
for i=0,1,delay do
2034
swait()
2035
if rtype == 1 then
2036
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2037
elseif rtype == 2 then
2038
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2039
end
2040
prt.Transparency=i
2041
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2042
end
2043
Part.Parent=nil
2044
end),prt,msh)
2045
end
2046
 
2047
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2048
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2049
prt.Anchored=false
2050
prt.CFrame=cframe
2051
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2052
local wld=weld(prt,prt,Parent,cframe)
2053
game:GetService("Debris"):AddItem(prt,5)
2054
coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
2055
for i=0,1,delay do
2056
wait()
2057
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2058
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2059
Part.Transparency=i
2060
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2061
end
2062
Part.Parent=nil
2063
end),prt,msh,wld)
2064
end
2065
 
2066
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2067
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2068
prt.Anchored=false
2069
prt.CFrame=cframe
2070
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2071
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2072
game:GetService("Debris"):AddItem(prt,5)
2073
coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
2074
for i=0,1,delay do
2075
wait()
2076
Weld.C0=euler(i*20,0,0)
2077
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2078
Part.Transparency=i
2079
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2080
end
2081
Part.Parent=nil
2082
end),prt,msh,wld)
2083
end
2084
 
2085
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2086
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2087
prt.Anchored=true
2088
prt.CFrame=cframe
2089
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2090
game:GetService("Debris"):AddItem(prt,2)
2091
coroutine.resume(coroutine.create(function(Part,Mesh)
2092
for i=0,1,delay do
2093
wait()
2094
Part.CFrame=Part.CFrame
2095
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2096
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2097
prt2.Anchored=true
2098
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2099
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2100
game:GetService("Debris"):AddItem(prt2,2)
2101
coroutine.resume(coroutine.create(function(Part,Mesh)
2102
for i=0,1,0.1 do
2103
wait()
2104
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2105
end
2106
Part.Parent=nil
2107
end),prt2,msh2)
2108
end
2109
for i=0,1,delay*2 do
2110
wait()
2111
Part.CFrame=Part.CFrame
2112
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2113
end
2114
Part.Parent=nil
2115
end),prt,msh)
2116
end
2117
 
2118
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2119
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2120
prt.Anchored=true
2121
prt.CFrame=cframe
2122
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2123
game:GetService("Debris"):AddItem(prt,2)
2124
coroutine.resume(coroutine.create(function(Part,Mesh)
2125
for i=0,1,delay do
2126
wait()
2127
Part.CFrame=Part.CFrame
2128
Part.Transparency=i
2129
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2130
end
2131
Part.Parent=nil
2132
end),prt,msh)
2133
end
2134
 
2135
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2136
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2137
prt.Anchored=true
2138
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2139
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2140
game:GetService("Debris"):AddItem(prt,2)
2141
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
2142
CF=Part.CFrame
2143
Numbb=0
2144
randnumb=math.random()/10
2145
rand1=math.random()/10
2146
for i=0,1,rand1 do
2147
wait()
2148
CF=CF*cf(0,math.random()/2,0)
2149
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2150
Part.CFrame=CF*euler(Numbb,0,0)
2151
Part.Transparency=i
2152
Numbb=Numbb+randnumb
2153
end
2154
Part.Parent=nil
2155
end),prt,CF,Numbb,randnumb)
2156
end
2157
 
2158
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2159
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2160
prt.Anchored=true
2161
prt.CFrame=cframe
2162
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2163
game:GetService("Debris"):AddItem(prt,5)
2164
coroutine.resume(coroutine.create(function(Part,Mesh)
2165
for i=0,1,delay do
2166
wait()
2167
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2168
Part.Transparency=i
2169
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2170
end
2171
Part.Parent=nil
2172
end),prt,msh)
2173
end
2174
 
2175
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2176
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2177
prt.Anchored=true
2178
prt.CFrame=cframe
2179
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2180
game:GetService("Debris"):AddItem(prt,2)
2181
coroutine.resume(coroutine.create(function(Part,Mesh)
2182
for i=0,1,delay do
2183
wait()
2184
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2185
Part.Transparency=i
2186
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2187
end
2188
Part.Parent=nil
2189
end),prt,msh)
2190
end
2191
 
2192
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2193
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2194
prt.Anchored=true
2195
prt.CFrame=cframe*cf(x,y,z)
2196
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2197
game:GetService("Debris"):AddItem(prt,5)
2198
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
2199
local num=math.random()
2200
local num2=math.random(-3,2)+math.random()
2201
local numm=0
2202
for i=0,1,delay*2 do
2203
swait()
2204
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2205
Part.Transparency=i
2206
numm=numm+0.01
2207
end
2208
Part.Parent=nil
2209
Mesh.Parent=nil
2210
end),prt,msh,x,y,z)
2211
end
2212
 
2213
function dmgstart(dmg,what)
2214
    hitcon = what.Touched:connect(function(hit)
2215
        local hum = hit.Parent:FindFirstChild("Humanoid")
2216
        if hum and not hum:IsDescendantOf(Character) then
2217
            hum:TakeDamage(dmg)
2218
        end
2219
    end)
2220
end
2221
 
2222
function dmgstop()
2223
    hitcon:disconnect()
2224
end
2225
 
2226
function Cloak()
2227
Face.Parent=nil
2228
cloaked=true
2229
        for _,v in pairs(Torso.Parent:children()) do
2230
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2231
                coroutine.resume(coroutine.create(function()
2232
                for i=0,1,0.2 do
2233
                wait()
2234
                v.Transparency=i
2235
                end
2236
                v.Transparency=1
2237
                end))
2238
                end
2239
                if v.className=="Hat" then
2240
                hatp=v.Handle
2241
                coroutine.resume(coroutine.create(function(derp)
2242
                for i=0,1,0.2 do
2243
                wait()
2244
                derp.Transparency=i
2245
                end
2246
                derp.Transparency=1
2247
                end),hatp)
2248
                end
2249
        end
2250
        for _,v in pairs(m:children()) do
2251
                if v.className=="Part" then
2252
                coroutine.resume(coroutine.create(function()
2253
                for i=0,1,0.2 do
2254
                wait()
2255
                v.Transparency=i
2256
                end
2257
                v.Transparency=1
2258
                end))
2259
                end
2260
        end
2261
end
2262
 
2263
function UnCloak()
2264
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
2265
Face.Parent=Head
2266
cloaked=false
2267
        for _,v in pairs(Torso.Parent:children()) do
2268
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2269
                coroutine.resume(coroutine.create(function()
2270
                for i=0,1,0.1 do
2271
                wait()
2272
                v.Transparency=v.Transparency-0.1
2273
                end
2274
                v.Transparency=0
2275
                end))
2276
                end
2277
                if v.className=="Hat" then
2278
                hatp=v.Handle
2279
                coroutine.resume(coroutine.create(function(derp)
2280
                for i=0,1,0.1 do
2281
                wait()
2282
                derp.Transparency=derp.Transparency-0.1
2283
                end
2284
                derp.Transparency=0
2285
                end),hatp)
2286
                end
2287
        end
2288
        for _,v in pairs(m:children()) do
2289
                if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
2290
                coroutine.resume(coroutine.create(function()
2291
                for i=0,1,0.1 do
2292
                wait()
2293
                v.Transparency=v.Transparency-0.1
2294
                end
2295
                v.Transparency=0
2296
                end))
2297
                v.Transparency=0
2298
                end
2299
        end
2300
end
2301
 
2302
local origcolor = BrickColor.new("Pastel light blue")
2303
---- This section of explosions.
2304
function Explode(rad,par,pitch,vol,mindam,maxdam)
2305
    local expart = Instance.new("Part",char)
2306
    local expart2 = Instance.new("Part",char)
2307
    local rin = Instance.new("Part",char)
2308
    local rin2 = Instance.new("Part",char)
2309
    local partMesh = Instance.new("SpecialMesh",expart)
2310
    partMesh.MeshType = "Sphere"
2311
    local partMesh2 = Instance.new("SpecialMesh",expart2)
2312
    partMesh2.MeshType = "Sphere"
2313
    local partMesh3 = Instance.new("SpecialMesh",rin)
2314
    partMesh3.MeshType = "Brick"
2315
    local partMesh4 = Instance.new("SpecialMesh",rin2)
2316
    partMesh4.MeshType = "Brick"
2317
    CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
2318
    partMesh.Scale = vt(rad,rad,rad)
2319
    expart.Size = vt(1,1,1)
2320
    expart.Transparency = 0
2321
    expart.Anchored = true
2322
    expart.Material = "Neon"
2323
    expart.BrickColor = bc("White")
2324
    expart.CFrame = par.CFrame
2325
    partMesh2.Scale = vt(rad,rad,rad)
2326
    expart2.Size = vt(1.15,1.15,1.15)
2327
    expart2.Transparency = 0.5
2328
    expart2.Anchored = true
2329
    expart2.Material = "Neon"
2330
    expart2.BrickColor = par.BrickColor
2331
    expart2.CFrame = par.CFrame
2332
    rin.Size = vt(1.15,1.15,1.15)
2333
    rin.Transparency = 1
2334
    rin.Anchored = true
2335
    rin.Material = "Neon"
2336
    rin.BrickColor = par.BrickColor
2337
    rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2338
    rin2.Size = vt(1.15,1.15,1.15)
2339
    rin2.Transparency = 1
2340
    rin2.Anchored = true
2341
    rin2.Material = "Neon"
2342
    rin2.BrickColor = par.BrickColor
2343
    rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2344
    partMesh3.Scale = vt(0,1,0)
2345
    partMesh4.Scale = vt(0,1,0)
2346
local dec2 = Instance.new("Decal", rin)
2347
dec2.Face = "Top"
2348
dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
2349
dec2.Parent = rin
2350
local dec2b = dec2:Clone()
2351
dec2b.Face = "Bottom"
2352
dec2b.Parent = rin
2353
 
2354
local dec2a = Instance.new("Decal", rin2)
2355
dec2a.Face = "Top"
2356
dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
2357
dec2a.Parent = rin2
2358
local dec2ab = dec2a:Clone()
2359
dec2ab.Face = "Bottom"
2360
dec2ab.Parent = rin2
2361
expart.CanCollide = false
2362
expart2.CanCollide = false
2363
rin.CanCollide = false
2364
rin2.CanCollide = false
2365
MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
2366
        local value = 1*rad/6.5
2367
    for i = 0, 199 do
2368
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2369
        expart.CFrame = expart.CFrame
2370
                partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
2371
        expart2.CFrame = expart.CFrame
2372
                value = value - 0.035*rad/30
2373
                if value < 7.5 then
2374
    partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
2375
        rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
2376
    partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
2377
        rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
2378
        end
2379
                if value < 0 then
2380
dec2.Transparency = dec2.Transparency + 0.025
2381
dec2a.Transparency = dec2a.Transparency + 0.025
2382
dec2b.Transparency = dec2b.Transparency + 0.025
2383
dec2ab.Transparency = dec2ab.Transparency + 0.025
2384
        expart.Transparency = expart.Transparency + 0.025
2385
        expart2.Transparency = expart2.Transparency + 0.025
2386
        rin.Transparency = rin.Transparency + 0.025
2387
        rin2.Transparency = rin2.Transparency + 0.025
2388
                end
2389
        swait()
2390
    end
2391
game:GetService("Debris"):AddItem(expart, 1)
2392
game:GetService("Debris"):AddItem(expart2, 1)
2393
game:GetService("Debris"):AddItem(rin, 1)
2394
game:GetService("Debris"):AddItem(rin2, 1)
2395
end
2396
 
2397
function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
2398
    local expart = Instance.new("Part",char)
2399
    local expart2 = Instance.new("Part",char)
2400
    local partMesh = Instance.new("SpecialMesh",expart)
2401
    partMesh.MeshType = "Sphere"
2402
    local partMesh2 = Instance.new("SpecialMesh",expart2)
2403
    partMesh2.MeshType = "Sphere"
2404
    CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
2405
    partMesh.Scale = vt(rad,rad,rad)
2406
    expart.Size = vt(1,1,1)
2407
    expart.Transparency = 0
2408
    expart.Anchored = true
2409
    expart.Material = "Neon"
2410
    expart.BrickColor = bc("White")
2411
    expart.CFrame = par.CFrame
2412
    partMesh2.Scale = vt(rad,rad,rad)
2413
    expart2.Size = vt(1.15,1.15,1.15)
2414
    expart2.Transparency = 0.5
2415
    expart2.Anchored = true
2416
    expart2.Material = "Neon"
2417
    expart2.BrickColor = par.BrickColor
2418
    expart2.CFrame = par.CFrame
2419
expart.CanCollide = false
2420
expart2.CanCollide = false
2421
MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
2422
        local value = 1*rad/6.5
2423
    for i = 0, 75 do
2424
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2425
        expart.CFrame = expart.CFrame
2426
                partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
2427
        expart2.CFrame = expart.CFrame
2428
                value = value - 0.035*rad/5
2429
                if value < 0 then
2430
value = 0
2431
        expart.Transparency = expart.Transparency + 0.05
2432
        expart2.Transparency = expart2.Transparency + 0.05
2433
                end
2434
        swait()
2435
    end
2436
game:GetService("Debris"):AddItem(expart, 1)
2437
game:GetService("Debris"):AddItem(expart2, 1)
2438
end
2439
 
2440
function AreaDanger(rad,par,mindam,maxdam)
2441
    local expart = Instance.new("Part",char)
2442
    local partMesh = Instance.new("SpecialMesh",expart)
2443
    CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
2444
    partMesh.MeshType = "Sphere"
2445
    partMesh.Scale = vt(rad,rad,rad)
2446
    expart.Size = vt(1,1,1)
2447
    expart.Transparency = 0.5
2448
    expart.Anchored = true
2449
    expart.Material = "Neon"
2450
    expart.CanCollide = false
2451
    expart.BrickColor = par.BrickColor
2452
    expart.CFrame = par.CFrame
2453
        local value = 1*rad/5
2454
MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
2455
    for i = 0, 14 do
2456
        wait()
2457
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2458
        expart.CFrame = expart.CFrame
2459
                value = value - 0.035*rad
2460
                if value < 0 then
2461
    value = 0
2462
end
2463
    end
2464
    wait(0.25)
2465
CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
2466
wait(0.5)
2467
CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
2468
CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
2469
MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
2470
MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
2471
for i = 0, 14 do
2472
        wait()
2473
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2474
        expart.CFrame = expart.CFrame
2475
                value = value - 0.035*rad/2
2476
end
2477
expart.Transparency = 1
2478
game:GetService("Debris"):AddItem(expart, 5)
2479
end
2480
 
2481
function Swarmsplosions(negrad,rad,par,mindam,maxdam)
2482
        CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
2483
    CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
2484
    CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
2485
    CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
2486
            MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
2487
            MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
2488
    for i = 0, 24 do
2489
        MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
2490
    end
2491
    for i = 0, 24 do
2492
    local expart = Instance.new("Part",char)
2493
    expart.Transparency = 1
2494
    expart.Anchored = true
2495
    expart.CanCollide = false
2496
    expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
2497
CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
2498
CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
2499
MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
2500
MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
2501
for i = 0, 9 do
2502
        MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
2503
    end
2504
game:GetService("Debris"):AddItem(expart, 2)
2505
wait(0.1)
2506
    end
2507
end
2508
 
2509
function EXterPlosion(par)
2510
        CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
2511
    CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
2512
    CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
2513
    CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
2514
            MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
2515
            MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
2516
            MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
2517
    for i = 0, 24 do
2518
        MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
2519
    end
2520
    for i = 0, 24 do
2521
        MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
2522
    end
2523
end
2524
----
2525
 
2526
 
2527
function ring(type,pos,scale,value)
2528
local type = type
2529
local rng = Instance.new("Part", char)
2530
        rng.Anchored = true
2531
        rng.BrickColor = origcolor
2532
        rng.CanCollide = false
2533
        rng.FormFactor = 3
2534
        rng.Name = "Ring"
2535
        rng.Size = Vector3.new(1, 1, 1)
2536
        rng.Transparency = 0
2537
        rng.TopSurface = 0
2538
        rng.BottomSurface = 0
2539
        rng.CFrame = pos
2540
        local rngm = Instance.new("SpecialMesh", rng)
2541
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2542
rngm.Scale = scale
2543
local scaler2 = 1
2544
if type == "Add" then
2545
scaler2 = 1*value
2546
elseif type == "Divide" then
2547
scaler2 = 1/value
2548
end
2549
coroutine.resume(coroutine.create(function()
2550
for i = 0,10,0.1 do
2551
swait()
2552
if type == "Add" then
2553
scaler2 = scaler2 - 0.01*value
2554
elseif type == "Divide" then
2555
scaler2 = scaler2 - 0.01/value
2556
end
2557
rng.Transparency = rng.Transparency + 0.01
2558
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
2559
end
2560
rng:Destroy()
2561
end))
2562
end
2563
 
2564
 
2565
function wave(type,pos,scale,value)
2566
local type = type
2567
local rng = Instance.new("Part", char)
2568
        rng.Anchored = true
2569
        rng.BrickColor = origcolor
2570
        rng.CanCollide = false
2571
        rng.FormFactor = 3
2572
        rng.Name = "Ring"
2573
        rng.Size = Vector3.new(1, 1, 1)
2574
        rng.Transparency = 0
2575
        rng.TopSurface = 0
2576
        rng.BottomSurface = 0
2577
        rng.CFrame = pos
2578
        local rngm = Instance.new("SpecialMesh", rng)
2579
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
2580
rngm.Scale = scale
2581
local scaler2 = 1
2582
if type == "Add" then
2583
scaler2 = 1*value
2584
elseif type == "Divide" then
2585
scaler2 = 1/value
2586
end
2587
coroutine.resume(coroutine.create(function()
2588
for i = 0,10,0.1 do
2589
swait()
2590
if type == "Add" then
2591
scaler2 = scaler2 - 0.01*value
2592
elseif type == "Divide" then
2593
scaler2 = scaler2 - 0.01/value
2594
end
2595
rng.Transparency = rng.Transparency + 0.01
2596
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2597
end
2598
rng:Destroy()
2599
end))
2600
end
2601
 
2602
function wind(type,pos,scale,value,speed)
2603
local type = type
2604
local rng = Instance.new("Part", char)
2605
        rng.Anchored = true
2606
        rng.BrickColor = origcolor
2607
        rng.CanCollide = false
2608
        rng.FormFactor = 3
2609
        rng.Name = "Ring"
2610
        rng.Size = Vector3.new(1, 1, 1)
2611
        rng.Transparency = 0
2612
        rng.TopSurface = 0
2613
        rng.BottomSurface = 0
2614
        rng.CFrame = pos
2615
        local rngm = Instance.new("SpecialMesh", rng)
2616
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2617
rngm.Scale = scale
2618
local scaler2 = 1
2619
if type == "Add" then
2620
scaler2 = 1*value
2621
elseif type == "Divide" then
2622
scaler2 = 1/value
2623
end
2624
coroutine.resume(coroutine.create(function()
2625
for i = 0,10,0.1 do
2626
swait()
2627
if type == "Add" then
2628
scaler2 = scaler2 - 0.01*value
2629
elseif type == "Divide" then
2630
scaler2 = scaler2 - 0.01/value
2631
end
2632
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2633
rng.Transparency = rng.Transparency + 0.01
2634
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
2635
end
2636
rng:Destroy()
2637
end))
2638
end
2639
 
2640
function groundwind(type,pos,scale,value,speed)
2641
local type = type
2642
local rng = Instance.new("Part", char)
2643
        rng.Anchored = true
2644
        rng.BrickColor = origcolor
2645
        rng.CanCollide = false
2646
        rng.FormFactor = 3
2647
        rng.Name = "Ring"
2648
        rng.Size = Vector3.new(1, 1, 1)
2649
        rng.Transparency = 0
2650
        rng.TopSurface = 0
2651
        rng.BottomSurface = 0
2652
        rng.CFrame = pos
2653
        local rngm = Instance.new("SpecialMesh", rng)
2654
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
2655
rngm.Scale = scale
2656
local scaler2 = 1
2657
if type == "Add" then
2658
scaler2 = 1*value
2659
elseif type == "Divide" then
2660
scaler2 = 1/value
2661
end
2662
coroutine.resume(coroutine.create(function()
2663
for i = 0,10,0.1 do
2664
swait()
2665
if type == "Add" then
2666
scaler2 = scaler2 - 0.01*value
2667
elseif type == "Divide" then
2668
scaler2 = scaler2 - 0.01/value
2669
end
2670
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
2671
rng.Transparency = rng.Transparency + 0.01
2672
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
2673
end
2674
rng:Destroy()
2675
end))
2676
end
2677
 
2678
function CameraManager()
2679
  if TwoD and not CamInterrupt then
2680
    if Humanoid.Health > 0 then
2681
      Camera.CameraSubject = Humanoid
2682
      Camera.CameraType = "Scriptable"
2683
      Humanoid.AutoRotate = false
2684
      if Booleans.GyroUse then
2685
        Directer.MaxTorque = Vec3(0, huge, 0)
2686
      else
2687
        Directer.MaxTorque = Vec3(0, 0, 0)
2688
      end
2689
      if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
2690
        if Booleans.CamFollow then
2691
          CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
2692
          Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
2693
        else
2694
          CPart.Position = RootPart.Position
2695
        end
2696
      else
2697
        local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
2698
        CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
2699
      end
2700
      Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
2701
    else
2702
      Camera.CameraSubject = Humanoid
2703
      Camera.CameraType = "Custom"
2704
      Controller.Disabled = false
2705
    end
2706
  end
2707
end
2708
 
2709
function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
2710
local type = type
2711
local rng = Instance.new("Part", char)
2712
        rng.Anchored = true
2713
        rng.BrickColor = color
2714
        rng.CanCollide = false
2715
        rng.FormFactor = 3
2716
        rng.Name = "Ring"
2717
        rng.Material = "Neon"
2718
        rng.Size = Vector3.new(1, 1, 1)
2719
        rng.Transparency = 0
2720
        rng.TopSurface = 0
2721
        rng.BottomSurface = 0
2722
        rng.CFrame = pos
2723
        local rngm = Instance.new("SpecialMesh", rng)
2724
        rngm.MeshType = "Sphere"
2725
   
2726
 
2727
if(heart)then
2728
    rngm.MeshType = Enum.MeshType.FileMesh
2729
    rngm.MeshId = "rbxassetid://105992239"
2730
    rngm.Offset = Vector3.new(0,0,-.25)
2731
end
2732
rngm.Scale = scale
2733
if rainbowmode == true and not notaffectbychaosrainbow then
2734
rng.Color = Color3.new(r/255,g/255,b/255)
2735
end
2736
local scaler2 = 1
2737
if type == "Add" then
2738
scaler2 = 1*value
2739
elseif type == "Divide" then
2740
scaler2 = 1/value
2741
end
2742
coroutine.resume(coroutine.create(function()
2743
for i = 0,10/bonuspeed,0.1 do
2744
swait()
2745
if rainbowmode == true and not notaffectbychaosrainbow then
2746
rng.Color = Color3.new(r/255,g/255,b/255)
2747
end
2748
if type == "Add" then
2749
scaler2 = scaler2 - 0.01*value/bonuspeed
2750
elseif type == "Divide" then
2751
scaler2 = scaler2 - 0.01/value*bonuspeed
2752
end
2753
if chaosmode == true and not notaffectbychaosrainbow then
2754
rng.BrickColor = BrickColor.random()
2755
end
2756
        if glitchymode then
2757
            local val = math.random(1,255)
2758
            local color = Color3.fromRGB(val,val,val)
2759
            rng.Color = color
2760
        end
2761
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2762
if(invert)then
2763
    if(heart)then
2764
        rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2765
    else
2766
        rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2767
    end
2768
else
2769
    if(heart)then
2770
        rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2771
    else
2772
        rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2773
    end
2774
end
2775
rng.CFrame = pos
2776
end
2777
rng:Destroy()
2778
end))
2779
end
2780
 
2781
function newBezier(startpos, pos2, pos3, endpos, t)
2782
  local A = clerp(startpos, pos2, t)
2783
  local B = clerp(pos2, pos3, t)
2784
  local C = clerp(pos3, endpos, t)
2785
  local lerp1 = clerp(A, B, t)
2786
  local lerp2 = clerp(B, C, t)
2787
  local cubic = clerp(lerp1, lerp2, t)
2788
  return cubic
2789
end
2790
 
2791
 
2792
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
2793
local type = type
2794
local rng = Instance.new("Part", char)
2795
        rng.Anchored = true
2796
        rng.BrickColor = color
2797
        rng.CanCollide = false
2798
        rng.FormFactor = 3
2799
        rng.Name = "Ring"
2800
        rng.Material = "Neon"
2801
        rng.Size = Vector3.new(1, 1, 1)
2802
        rng.Transparency = 0
2803
        rng.TopSurface = 0
2804
        rng.BottomSurface = 0
2805
        rng.CFrame = pos
2806
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2807
        local rngm = Instance.new("SpecialMesh", rng)
2808
        rngm.MeshType = "Brick"
2809
if(heart)then
2810
    rngm.MeshType = Enum.MeshType.FileMesh
2811
    rngm.MeshId = "rbxassetid://105992239"
2812
    rngm.Offset = Vector3.new(0,0,-.25)
2813
end
2814
rngm.Scale = vt(x1,y1,z1)
2815
if rainbowmode == true then
2816
rng.Color = Color3.new(r/255,g/255,b/255)
2817
end
2818
local scaler2 = 1
2819
local speeder = FastSpeed/10
2820
if type == "Add" then
2821
scaler2 = 1*value
2822
elseif type == "Divide" then
2823
scaler2 = 1/value
2824
end
2825
coroutine.resume(coroutine.create(function()
2826
for i = 0,10/bonuspeed,0.1 do
2827
swait()
2828
if rainbowmode == true then
2829
rng.Color = Color3.new(r/255,g/255,b/255)
2830
end
2831
if type == "Add" then
2832
scaler2 = scaler2 - 0.01*value/bonuspeed
2833
elseif type == "Divide" then
2834
scaler2 = scaler2 - 0.01/value*bonuspeed
2835
end
2836
if chaosmode == true then
2837
rng.BrickColor = BrickColor.random()
2838
end
2839
        if glitchymode then
2840
            local val = math.random(1,255)
2841
            local color = Color3.fromRGB(val,val,val)
2842
            rng.Color = color
2843
        end
2844
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
2845
if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
2846
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2847
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2848
end
2849
rng:Destroy()
2850
end))
2851
end
2852
 
2853
 
2854
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
2855
local type = type
2856
local rng = Instance.new("Part", char)
2857
        rng.Anchored = true
2858
        rng.BrickColor = color
2859
        rng.CanCollide = false
2860
        rng.FormFactor = 3
2861
        rng.Name = "Ring"
2862
        rng.Material = "Neon"
2863
        rng.Size = Vector3.new(1, 1, 1)
2864
        rng.Transparency = 0
2865
        rng.TopSurface = 0
2866
        rng.BottomSurface = 0
2867
        rng.CFrame = pos
2868
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2869
        local rngm = Instance.new("SpecialMesh", rng)
2870
        rngm.MeshType = "Brick"
2871
if(heart)then
2872
    rngm.MeshType = Enum.MeshType.FileMesh
2873
    rngm.MeshId = "rbxassetid://105992239"
2874
    rngm.Offset = Vector3.new(0,0,-.25)
2875
end
2876
rngm.Scale = vt(x1,y1,z1)
2877
if rainbowmode == true then
2878
rng.Color = Color3.new(r/255,g/255,b/255)
2879
end
2880
local scaler2 = 0
2881
local speeder = FastSpeed/10
2882
if type == "Add" then
2883
scaler2 = 1*value
2884
elseif type == "Divide" then
2885
scaler2 = 1/value
2886
end
2887
coroutine.resume(coroutine.create(function()
2888
for i = 0,10/bonuspeed,0.1 do
2889
swait()
2890
if rainbowmode == true then
2891
rng.Color = Color3.new(r/255,g/255,b/255)
2892
end
2893
if type == "Add" then
2894
scaler2 = scaler2 - 0.01*value/bonuspeed
2895
elseif type == "Divide" then
2896
scaler2 = scaler2 - 0.01/value*bonuspeed
2897
end
2898
if chaosmode == true then
2899
rng.BrickColor = BrickColor.random()
2900
end
2901
        if glitchymode then
2902
            local val = math.random(1,255)
2903
            local color = Color3.fromRGB(val,val,val)
2904
            rng.Color = color
2905
        end
2906
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
2907
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2908
if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
2909
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
2910
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
2911
end
2912
rng:Destroy()
2913
end))
2914
end
2915
 
2916
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2917
local type = type
2918
local rng = Instance.new("Part", char)
2919
        rng.Anchored = true
2920
        rng.BrickColor = color
2921
        rng.CanCollide = false
2922
        rng.FormFactor = 3
2923
        rng.Name = "Ring"
2924
        rng.Material = "Neon"
2925
        rng.Size = Vector3.new(1, 1, 1)
2926
        rng.Transparency = 0
2927
        rng.TopSurface = 0
2928
        rng.BottomSurface = 0
2929
        rng.CFrame = pos
2930
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2931
        local rngm = Instance.new("SpecialMesh", rng)
2932
        rngm.MeshType = "Sphere"
2933
rngm.Scale = vt(x1,y1,z1)
2934
if rainbowmode == true then
2935
rng.Color = Color3.new(r/255,g/255,b/255)
2936
end
2937
local scaler2 = 1
2938
local speeder = FastSpeed
2939
if type == "Add" then
2940
scaler2 = 1*value
2941
elseif type == "Divide" then
2942
scaler2 = 1/value
2943
end
2944
coroutine.resume(coroutine.create(function()
2945
for i = 0,10/bonuspeed,0.1 do
2946
swait()
2947
if rainbowmode == true then
2948
rng.Color = Color3.new(r/255,g/255,b/255)
2949
end
2950
if type == "Add" then
2951
scaler2 = scaler2 - 0.01*value/bonuspeed
2952
elseif type == "Divide" then
2953
scaler2 = scaler2 - 0.01/value*bonuspeed
2954
end
2955
if chaosmode == true then
2956
rng.BrickColor = BrickColor.random()
2957
end
2958
        if glitchymode then
2959
            local val = math.random(1,255)
2960
            local color = Color3.fromRGB(val,val,val)
2961
            rng.Color = color
2962
        end
2963
speeder = speeder - 0.01*FastSpeed*bonuspeed
2964
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
2965
rng.Transparency = rng.Transparency + 0.01*bonuspeed
2966
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
2967
end
2968
rng:Destroy()
2969
end))
2970
end
2971
 
2972
 
2973
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
2974
local type = type
2975
local rng = Instance.new("Part", char)
2976
        rng.Anchored = true
2977
        rng.BrickColor = color
2978
        rng.CanCollide = false
2979
        rng.FormFactor = 3
2980
        rng.Name = "Ring"
2981
        rng.Material = "Neon"
2982
        rng.Size = Vector3.new(1, 1, 1)
2983
        rng.Transparency = 1
2984
        rng.TopSurface = 0
2985
        rng.BottomSurface = 0
2986
        rng.CFrame = pos
2987
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
2988
        local rngm = Instance.new("SpecialMesh", rng)
2989
        rngm.MeshType = "Sphere"
2990
rngm.Scale = vt(x1,y1,z1)
2991
if rainbowmode == true then
2992
rng.Color = Color3.new(r/255,g/255,b/255)
2993
end
2994
local scaler2 = 1
2995
local speeder = FastSpeed
2996
if type == "Add" then
2997
scaler2 = 1*value
2998
elseif type == "Divide" then
2999
scaler2 = 1/value
3000
end
3001
coroutine.resume(coroutine.create(function()
3002
for i = 0,10/bonuspeed,0.1 do
3003
swait()
3004
if rainbowmode == true then
3005
rng.Color = Color3.new(r/255,g/255,b/255)
3006
end
3007
if type == "Add" then
3008
scaler2 = scaler2 - 0.01*value/bonuspeed
3009
elseif type == "Divide" then
3010
scaler2 = scaler2 - 0.01/value*bonuspeed
3011
end
3012
if chaosmode == true then
3013
rng.BrickColor = BrickColor.random()
3014
end
3015
        if glitchymode then
3016
            local val = math.random(1,255)
3017
            local color = Color3.fromRGB(val,val,val)
3018
            rng.Color = color
3019
        end
3020
speeder = speeder - 0.01*FastSpeed*bonuspeed
3021
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3022
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3023
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3024
end
3025
rng:Destroy()
3026
end))
3027
end
3028
 
3029
function dmg(dude)
3030
if dude.Name ~= Character then
3031
local bgf = Instance.new("BodyGyro",dude.Head)
3032
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
3033
local val = Instance.new("BoolValue",dude)
3034
val.Name = "IsHit"
3035
local ds = coroutine.wrap(function()
3036
local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
3037
for i = 1, 10 do
3038
    sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
3039
end
3040
dude:WaitForChild("Head"):BreakJoints()
3041
wait(0.5)
3042
targetted = nil
3043
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
3044
 
3045
coroutine.resume(coroutine.create(function()
3046
for i, v in pairs(dude:GetChildren()) do
3047
if v:IsA("Accessory") then
3048
v:Destroy()
3049
end
3050
if v:IsA("Humanoid") then
3051
v:Destroy()
3052
end
3053
if v:IsA("CharacterMesh") then
3054
v:Destroy()
3055
end
3056
if v:IsA("Model") then
3057
v:Destroy()
3058
end
3059
if v:IsA("Part") or v:IsA("MeshPart") then
3060
for x, o in pairs(v:GetChildren()) do
3061
if o:IsA("Decal") then
3062
o:Destroy()
3063
end
3064
end
3065
coroutine.resume(coroutine.create(function()
3066
v.Material = "Neon"
3067
v.CanCollide = false
3068
local bld = Instance.new("ParticleEmitter",v)
3069
bld.LightEmission = 1
3070
bld.Texture = "rbxassetid://284205403"
3071
bld.Color = ColorSequence.new(Color3.new(1,1,1))
3072
bld.Rate = 50
3073
bld.Lifetime = NumberRange.new(1)
3074
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
3075
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3076
bld.Speed = NumberRange.new(0,0)
3077
bld.VelocitySpread = 50000
3078
bld.Rotation = NumberRange.new(-500,500)
3079
bld.RotSpeed = NumberRange.new(-500,500)
3080
        local sbs = Instance.new("BodyPosition", v)
3081
        sbs.P = 3000
3082
        sbs.D = 1000
3083
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
3084
        sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
3085
v.Color = Color3.new(1,1,1)
3086
coroutine.resume(coroutine.create(function()
3087
for i = 0, 49 do
3088
swait(1)
3089
v.Transparency = v.Transparency + 0.02
3090
end
3091
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
3092
bld.Speed = NumberRange.new(1,5)
3093
bld.Acceleration = vt(0,10,0)
3094
wait(0.5)
3095
bld.Enabled = false
3096
wait(3)
3097
v:Destroy()
3098
dude:Destroy()
3099
end))
3100
end))
3101
end
3102
end
3103
end))
3104
end)
3105
ds()
3106
end
3107
end
3108
 
3109
 
3110
function FindNearestHead(Position, Distance, SinglePlayer)
3111
    if SinglePlayer then
3112
        return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
3113
    end
3114
    local List = {}
3115
    for i, v in pairs(workspace:GetChildren()) do
3116
        if v:IsA("Model") then
3117
            if v:findFirstChild("Head") then
3118
                if v ~= Character then
3119
                    if (v.Head.Position - Position).magnitude <= Distance then
3120
                        table.insert(List, v)
3121
                    end
3122
                end
3123
            end
3124
        end
3125
    end
3126
    return List
3127
end
3128
 
3129
function FaceMouse()
3130
  Cam = workspace.CurrentCamera
3131
  return {
3132
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
3133
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3134
  }
3135
end
3136
 
3137
function FaceMouse2()
3138
  Cam = workspace.CurrentCamera
3139
  return {
3140
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
3141
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3142
  }
3143
end
3144
 
3145
local ModeOfGlitch = 1
3146
-- Functions are ready.
3147
local storehumanoidWS = 16
3148
 
3149
function CorruptBlink()
3150
for i = 0, 14 do
3151
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)
3152
end
3153
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3154
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3155
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
3156
CameraEnshaking(2,10)
3157
if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
3158
if v:FindFirstChild('Head') then
3159
dmg(v)
3160
end
3161
end end
3162
for i = 0, 14 do
3163
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)
3164
end
3165
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3166
end
3167
 
3168
function ExtinctiveHeartbreak()
3169
local targetted = nil
3170
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3171
targetted = mouse.Target.Parent
3172
end
3173
if targetted ~= nil then
3174
attack = true
3175
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
3176
for i = 0, 9 do
3177
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 black"),0)
3178
end
3179
for i = 0, 24 do
3180
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
3181
end
3182
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
3183
local originalpos = root.CFrame
3184
RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
3185
for i = 0, 9 do
3186
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 black"),0)
3187
end
3188
for i = 0, 24 do
3189
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
3190
end
3191
hum.WalkSpeed = 0
3192
targetted.Head.Anchored = true
3193
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
3194
for i = 0,2,0.1 do
3195
swait()
3196
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)),.4)
3197
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)
3198
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)
3199
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
3200
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)
3201
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)
3202
end
3203
coroutine.resume(coroutine.create(function()
3204
bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
3205
bld.LightEmission = 0.1
3206
bld.Texture = "rbxassetid://284205403"
3207
bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
3208
bld.Rate = 500
3209
bld.Lifetime = NumberRange.new(1)
3210
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
3211
bld.Acceleration = vt(0,-25,0)
3212
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
3213
bld.Speed = NumberRange.new(10,50)
3214
bld.EmissionDirection = "Front"
3215
bld.VelocitySpread = 25
3216
bld.Rotation = NumberRange.new(-500,500)
3217
bld.RotSpeed = NumberRange.new(-500,500)
3218
end))
3219
coroutine.resume(coroutine.create(function()
3220
bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
3221
bld.LightEmission = 0.1
3222
bld.Texture = "rbxassetid://284205403"
3223
bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
3224
bld.Rate = 500
3225
bld.Lifetime = NumberRange.new(1)
3226
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
3227
bld.Acceleration = vt(0,-25,0)
3228
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
3229
bld.Speed = NumberRange.new(10,50)
3230
bld.EmissionDirection = "Front"
3231
bld.VelocitySpread = 25
3232
bld.Rotation = NumberRange.new(-500,500)
3233
bld.RotSpeed = NumberRange.new(-500,500)
3234
end))
3235
CameraEnshaking(5,5)
3236
game:GetService("Debris"):AddItem(bld,3)
3237
dmg(targetted)
3238
CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
3239
for i = 0,1,0.1 do
3240
swait()
3241
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)
3242
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)),.8)
3243
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)
3244
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
3245
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)
3246
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)
3247
end
3248
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
3249
for i = 0, 9 do
3250
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 black"),0)
3251
end
3252
for i = 0, 24 do
3253
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
3254
end
3255
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
3256
root.CFrame = originalpos
3257
for i = 0, 9 do
3258
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 black"),0)
3259
end
3260
for i = 0, 24 do
3261
PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really black"),0)
3262
end
3263
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
3264
bld.Enabled = false
3265
attack = false
3266
hum.WalkSpeed = storehumanoidWS
3267
end
3268
end
3269
function PureBomb()
3270
attack = true
3271
 
3272
local orb = Instance.new("Part", char)
3273
        orb.Anchored = true
3274
        orb.BrickColor = BrickColor.new("Toothpaste")
3275
        orb.CanCollide = false
3276
        orb.FormFactor = 3
3277
        orb.Name = "Ring"
3278
        orb.Material = "Neon"
3279
        orb.Size = Vector3.new(1, 1, 1)
3280
        orb.Transparency = 0
3281
        orb.TopSurface = 0
3282
        orb.BottomSurface = 0
3283
        local orbm = Instance.new("SpecialMesh", orb)
3284
        orbm.MeshType = "Sphere"
3285
orbm.Name = "SizeMesh"
3286
orbm.Scale = vt(0,0,0)
3287
local scaled = 0.1
3288
local posid = 0
3289
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
3290
for i = 0, 5, 0.1 do
3291
swait()
3292
scaled = scaled - 0.001
3293
posid = posid - scaled
3294
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3295
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
3296
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)
3297
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)
3298
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)
3299
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)
3300
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)
3301
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
3302
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
3303
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)
3304
end
3305
for i = 0, 2, 0.1 do
3306
swait()
3307
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
3308
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)
3309
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)
3310
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)
3311
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
3312
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
3313
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)
3314
end
3315
coroutine.resume(coroutine.create(function()
3316
orb.Anchored = false
3317
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
3318
    local a = Instance.new("Part",workspace)
3319
    a.Name = "Direction"   
3320
    a.Anchored = true
3321
    a.BrickColor = bc("Bright red")
3322
a.Material = "Neon"
3323
a.Transparency = 1
3324
    a.CanCollide = false
3325
    local ray = Ray.new(
3326
        orb.CFrame.p,                           -- origin
3327
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
3328
    )
3329
    local ignore = orb
3330
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3331
    a.BottomSurface = 10
3332
    a.TopSurface = 10
3333
    local distance = (orb.CFrame.p - position).magnitude
3334
    a.Size = Vector3.new(0.1, 0.1, 0.1)
3335
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
3336
orb.CFrame = a.CFrame
3337
a:Destroy()
3338
local bv = Instance.new("BodyVelocity")
3339
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3340
bv.velocity = orb.CFrame.lookVector*125
3341
bv.Parent = orb
3342
local hitted = false
3343
game:GetService("Debris"):AddItem(orb, 15)
3344
wait()
3345
local hit =orb.Touched:connect(function(hit)
3346
    if hitted == false then
3347
    hitted = true
3348
CameraEnshaking(10,2.5)
3349
CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
3350
    MagniDamage(orb, 65, 65,90, 0, "Normal")
3351
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
3352
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
3353
for i = 0, 49 do
3354
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)
3355
end
3356
for i = 0, 9 do
3357
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)
3358
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)
3359
end
3360
orb.Anchored = true
3361
orb.Transparency = 1
3362
wait(8)
3363
orb:Destroy()
3364
end
3365
end)
3366
end))
3367
for i = 0, 1, 0.1 do
3368
swait()
3369
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)
3370
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)
3371
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)
3372
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
3373
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
3374
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)
3375
end
3376
attack = false
3377
end
3378
 
3379
function ChaosGroundStrike()
3380
attack = true
3381
for i = 0, 2, 0.1 do
3382
swait()
3383
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)
3384
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)
3385
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3386
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3387
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
3388
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
3389
end
3390
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
3391
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
3392
CameraEnshaking(4,12)
3393
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
3394
if v:FindFirstChild('Head') then
3395
dmg(v)
3396
end
3397
end
3398
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
3399
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
3400
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
3401
for i = 0, 2, 0.1 do
3402
swait()
3403
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)
3404
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)
3405
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)
3406
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)
3407
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3408
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3409
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
3410
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
3411
end
3412
attack = false
3413
end
3414
 
3415
function InsaneGroundStrike()
3416
attack = true
3417
chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
3418
for i = 0, 8, 0.1 do
3419
swait()
3420
PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*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)
3421
 
3422
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)
3423
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)
3424
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3425
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3426
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
3427
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
3428
end
3429
CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
3430
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
3431
CameraEnshaking(8,24)
3432
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
3433
if v:FindFirstChild('Head') then
3434
dmg(v)
3435
end
3436
end
3437
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
3438
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
3439
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
3440
CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
3441
chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
3442
for i = 0, 2, 0.1 do
3443
swait()
3444
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
3445
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
3446
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)
3447
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)
3448
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3449
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3450
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
3451
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
3452
end
3453
attack = false
3454
end
3455
 
3456
function Starfall()
3457
attack = true
3458
hum.WalkSpeed = 0
3459
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
3460
for i = 0, 5, 0.1 do
3461
swait()
3462
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)
3463
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)
3464
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)
3465
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)
3466
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)
3467
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
3468
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)
3469
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)
3470
end
3471
local Overed = false
3472
CameraEnshaking(2,20)
3473
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3474
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3475
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
3476
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
3477
local orb = Instance.new("Part", char)
3478
        orb.Anchored = true
3479
        orb.BrickColor = BrickColor.new("Toothpaste")
3480
        orb.CanCollide = false
3481
        orb.FormFactor = 3
3482
        orb.Name = "Remenant"
3483
        orb.Material = "Neon"
3484
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
3485
        orb.Size = Vector3.new(1, 1, 1)
3486
        orb.Transparency = 1
3487
        orb.TopSurface = 0
3488
        orb.BottomSurface = 0
3489
hum.WalkSpeed = storehumanoidWS
3490
coroutine.resume(coroutine.create(function()
3491
for i = 0, 9 do
3492
swait(10)
3493
                 local lb = Instance.new("Part")
3494
    lb.Color = MAINRUINCOLOR.Color
3495
     lb.CanCollide = false
3496
lb.Material = "Neon"
3497
     lb.Anchored = true
3498
lb.TopSurface = 0
3499
        lb.BottomSurface = 0
3500
     lb.Transparency = 0
3501
     lb.Size = vt(1,1,1)
3502
     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)))
3503
lb.Anchored = false
3504
  lb.Parent = char
3505
local thingery = Instance.new("SpecialMesh",lb)
3506
     thingery.MeshType = "Sphere"
3507
thingery.Scale = vt(20,20,20)
3508
game:GetService("Debris"):AddItem(lb, 10)
3509
  local bv = Instance.new("BodyVelocity")
3510
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3511
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
3512
  bv.Parent = lb
3513
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
3514
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
3515
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
3516
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
3517
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
3518
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
3519
local hitted = false
3520
coroutine.resume(coroutine.create(function()
3521
while true do
3522
swait(1)
3523
if lb.Parent ~= nil and hitted == false then
3524
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)
3525
elseif lb.Parent == nil then
3526
break
3527
end
3528
end
3529
end))
3530
 
3531
game:GetService("Debris"):AddItem(a, 0.1)
3532
 
3533
coroutine.resume(coroutine.create(function()
3534
swait(1)
3535
lb.Touched:connect(function(hit)
3536
if hitted == false then
3537
hitted = true
3538
lb.Transparency = 1
3539
lb.Anchored = true
3540
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
3541
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
3542
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
3543
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
3544
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
3545
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
3546
MagniDamage(lb, 45, 45,85, 0, "Normal")
3547
CameraEnshaking(1,5)
3548
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
3549
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
3550
for i = 0, 9 do
3551
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)
3552
end
3553
for i = 0, 49 do
3554
swait()
3555
MagniDamage(lb, 30, 2,4, 0, "Normal")
3556
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)
3557
end
3558
end
3559
end)
3560
end))
3561
end
3562
Overed = true
3563
orb:Destroy()
3564
end))
3565
 
3566
attack = false
3567
end
3568
 
3569
function StarfallEX()
3570
attack = true
3571
hum.WalkSpeed = 0
3572
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
3573
for i = 0, 5, 0.1 do
3574
swait()
3575
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)
3576
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)
3577
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)
3578
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)
3579
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)
3580
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
3581
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)
3582
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)
3583
end
3584
local Overed = false
3585
CameraEnshaking(2,20)
3586
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3587
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3588
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
3589
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
3590
local orb = Instance.new("Part", char)
3591
        orb.Anchored = true
3592
        orb.BrickColor = BrickColor.new("Toothpaste")
3593
        orb.CanCollide = false
3594
        orb.FormFactor = 3
3595
        orb.Name = "Remenant"
3596
        orb.Material = "Neon"
3597
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
3598
        orb.Size = Vector3.new(1, 1, 1)
3599
        orb.Transparency = 1
3600
        orb.TopSurface = 0
3601
        orb.BottomSurface = 0
3602
hum.WalkSpeed = storehumanoidWS
3603
coroutine.resume(coroutine.create(function()
3604
for i = 1, 5 do
3605
swait(10)
3606
                 local lb = Instance.new("Part")
3607
    lb.Color = MAINRUINCOLOR.Color
3608
     lb.CanCollide = false
3609
lb.Material = "Neon"
3610
     lb.Anchored = true
3611
lb.TopSurface = 0
3612
        lb.BottomSurface = 0
3613
     lb.Transparency = 0
3614
     lb.Size = vt(1,1,1)
3615
     lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
3616
lb.Anchored = false
3617
  lb.Parent = char
3618
local thingery = Instance.new("SpecialMesh",lb)
3619
     thingery.MeshType = "Sphere"
3620
thingery.Scale = vt(20,20,20)
3621
game:GetService("Debris"):AddItem(lb, 10)
3622
  local bv = Instance.new("BodyVelocity")
3623
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3624
  bv.velocity = lb.CFrame.lookVector*math.random(75,250)
3625
  bv.Parent = lb
3626
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
3627
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
3628
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
3629
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
3630
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
3631
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
3632
local hitted = false
3633
coroutine.resume(coroutine.create(function()
3634
while true do
3635
swait(1)
3636
if lb.Parent ~= nil and hitted == false then
3637
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)
3638
elseif lb.Parent == nil then
3639
break
3640
end
3641
end
3642
end))
3643
 
3644
game:GetService("Debris"):AddItem(a, 0.1)
3645
 
3646
coroutine.resume(coroutine.create(function()
3647
swait(5)
3648
lb.Touched:connect(function(hit)
3649
if hitted == false and not hit:IsDescendantOf(Character) then
3650
hitted = true
3651
lb.Transparency = 1
3652
lb.Anchored = true
3653
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
3654
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
3655
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
3656
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
3657
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
3658
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
3659
MagniDamage(lb, 45, 90,170, 0, "Normal")
3660
CameraEnshaking(1,5)
3661
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
3662
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
3663
for i = 0, 9 do
3664
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)
3665
end
3666
for i = 0, 49 do
3667
swait()
3668
MagniDamage(lb, 60, 20,40, 0, "Normal")
3669
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)
3670
end
3671
end
3672
end)
3673
end))
3674
end
3675
Overed = true
3676
orb:Destroy()
3677
end))
3678
 
3679
attack = false
3680
end
3681
 
3682
 
3683
function StarDivision()
3684
attack = true
3685
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
3686
for i = 0, 2, 0.1 do
3687
swait()
3688
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)
3689
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
3690
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
3691
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
3692
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
3693
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
3694
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
3695
end
3696
local orb = Instance.new("Part", char)
3697
        orb.BrickColor = MAINRUINCOLOR
3698
        orb.CanCollide = false
3699
        orb.FormFactor = 3
3700
        orb.Name = "Ring"
3701
        orb.Material = "Neon"
3702
        orb.Size = Vector3.new(1, 1, 1)
3703
        orb.Transparency = 0
3704
        orb.TopSurface = 0
3705
        orb.BottomSurface = 0
3706
        local orbm = Instance.new("SpecialMesh", orb)
3707
        orbm.MeshType = "Sphere"
3708
orbm.Name = "SizeMesh"
3709
orbm.Scale = vt(2,2,2)
3710
local a = Instance.new("Part",workspace)
3711
    a.Name = "Direction"   
3712
    a.Anchored = true
3713
    a.BrickColor = bc("Bright red")
3714
a.Material = "Neon"
3715
a.Transparency = 1
3716
    a.CanCollide = false
3717
    local ray = Ray.new(
3718
        sorb.CFrame.p,                           -- origin
3719
        (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
3720
    )
3721
    local ignore = sorb
3722
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
3723
    a.BottomSurface = 10
3724
    a.TopSurface = 10
3725
    local distance = (sorb.CFrame.p - position).magnitude
3726
    a.Size = Vector3.new(0.1, 0.1, 0.1)
3727
    a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
3728
orb.CFrame = a.CFrame
3729
a:Destroy()
3730
local bv = Instance.new("BodyVelocity")
3731
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
3732
bv.velocity = orb.CFrame.lookVector*100
3733
bv.Parent = orb
3734
local hitted = false
3735
game:GetService("Debris"):AddItem(orb, 10)
3736
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
3737
CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
3738
CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
3739
CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
3740
CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
3741
coroutine.resume(coroutine.create(function()
3742
while true do
3743
swait(1)
3744
if orb.Parent ~= nil and hitted == false then
3745
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)
3746
elseif orb.Parent == nil then
3747
break
3748
end
3749
end
3750
end))
3751
coroutine.resume(coroutine.create(function()
3752
swait(1)
3753
orb.Touched:connect(function(hit)
3754
if hitted == false then
3755
hitted = true
3756
game:GetService("Debris"):AddItem(orb, 5)
3757
orb.Transparency = 1
3758
orb.Anchored = true
3759
local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
3760
elocacenter.Anchored = true
3761
elocacenter.CFrame = orb.CFrame
3762
elocacenter.Orientation = vt(0,0,0)
3763
local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
3764
eloca1.Anchored = true
3765
eloca1.CFrame = elocacenter.CFrame
3766
local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
3767
eloca2.Anchored = true
3768
eloca2.CFrame = elocacenter.CFrame
3769
local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
3770
eloca3.Anchored = true
3771
eloca3.CFrame = elocacenter.CFrame
3772
local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
3773
eloca4.Anchored = true
3774
eloca4.CFrame = elocacenter.CFrame
3775
local lookavec = 0
3776
local speeds = 0
3777
CameraEnshaking(1,1)
3778
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
3779
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3780
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3781
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3782
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3783
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3784
for i = 0, 99 do
3785
swait()
3786
lookavec = lookavec + 1
3787
speeds = speeds + 0.1
3788
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
3789
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
3790
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)
3791
 
3792
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
3793
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)
3794
 
3795
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
3796
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)
3797
 
3798
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
3799
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)
3800
end
3801
 
3802
for i = 0, 149 do
3803
swait()
3804
speeds = speeds + 0.1
3805
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
3806
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
3807
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)
3808
 
3809
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
3810
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)
3811
 
3812
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
3813
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)
3814
 
3815
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
3816
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)
3817
end
3818
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
3819
if v:FindFirstChild('Head') then
3820
dmg(v)
3821
end
3822
end
3823
CameraEnshaking(7,30)
3824
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
3825
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
3826
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
3827
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
3828
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
3829
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
3830
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
3831
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3832
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3833
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3834
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3835
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
3836
for i = 0, 24 do
3837
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)
3838
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)
3839
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)
3840
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)
3841
end
3842
coroutine.resume(coroutine.create(function()
3843
for i = 0, 499 do
3844
swait(1)
3845
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
3846
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)
3847
end
3848
elocacenter:Destroy()
3849
eloca1:Destroy()
3850
eloca2:Destroy()
3851
eloca3:Destroy()
3852
eloca4:Destroy()
3853
end))
3854
end
3855
end)
3856
end))
3857
attack = false
3858
end
3859
 
3860
 
3861
function UniversalCollapse()
3862
attack = true
3863
local speedearn = 0
3864
hum.WalkSpeed = 0
3865
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
3866
for i = 0, 10, 0.1 do
3867
swait()
3868
speedearn = speedearn + 0.1
3869
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)
3870
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)
3871
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)
3872
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)
3873
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)
3874
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)
3875
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)
3876
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)
3877
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
3878
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)
3879
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)
3880
end
3881
CameraEnshaking(5,45)
3882
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
3883
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
3884
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
3885
if v:FindFirstChild('Head') then
3886
dmg(v)
3887
end
3888
end
3889
hum.WalkSpeed = storehumanoidWS
3890
attack = false
3891
end
3892
function ChaosBegone()
3893
attack = true
3894
local speedearn = 0
3895
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
3896
for i = 0, 10, 0.1 do
3897
swait()
3898
speedearn = speedearn + 0.1
3899
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)
3900
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)
3901
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)
3902
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)
3903
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)
3904
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)
3905
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)
3906
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3907
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
3908
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
3909
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
3910
end
3911
CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
3912
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
3913
CameraEnshaking(5,25)
3914
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
3915
if v:FindFirstChild('Head') then
3916
dmg(v)
3917
end
3918
end
3919
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
3920
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
3921
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
3922
for i = 0, 3, 0.1 do
3923
swait()
3924
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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
3925
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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
3926
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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
3927
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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
3928
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)
3929
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)
3930
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3931
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
3932
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
3933
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
3934
end
3935
attack = false
3936
end
3937
 
3938
function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
3939
local orb = Instance.new("Part", char)
3940
        orb.Anchored = true
3941
        orb.BrickColor = color
3942
        orb.CanCollide = false
3943
        orb.FormFactor = 3
3944
        orb.Name = "Ring"
3945
        orb.Material = "Neon"
3946
        orb.Size = Vector3.new(1, 1, 1)
3947
        orb.Transparency = 0
3948
        orb.TopSurface = 0
3949
        orb.BottomSurface = 0
3950
        local orbm = Instance.new("SpecialMesh", orb)
3951
        orbm.MeshType = "Sphere"
3952
orb.CFrame = positted
3953
orbm.Name = "SizeMesh"
3954
orbm.Scale = vt(1,1,1)
3955
coroutine.wrap(function()
3956
    while orb and orb.Parent do
3957
        if glitchymode then
3958
            local val = math.random(1,255)
3959
            local color = Color3.fromRGB(val,val,val)
3960
            orb.Color = color
3961
        end
3962
        swait()
3963
    end
3964
end)()
3965
CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
3966
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
3967
--[[for i = 0, 2 do
3968
sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
3969
end]]--
3970
coroutine.resume(coroutine.create(function()
3971
wait(timer)
3972
CameraEnshaking(3,ShakePower)
3973
orb.Transparency = 1
3974
MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
3975
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
3976
--[[for i = 0, 4 do
3977
sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
3978
end]]--
3979
CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
3980
wait(3)
3981
orb:Destroy()
3982
end))
3983
end
3984
 
3985
function orb_spawn(positted,timer)
3986
local orb = Instance.new("Part", char)
3987
        orb.Anchored = true
3988
        orb.BrickColor = BrickColor.new("White")
3989
 
3990
        orb.CanCollide = false
3991
        orb.FormFactor = 3
3992
        orb.Name = "Ring"
3993
        orb.Material = "Neon"
3994
        orb.Size = Vector3.new(1, 1, 1)
3995
        orb.Transparency = 0
3996
        orb.TopSurface = 0
3997
        orb.BottomSurface = 0
3998
        local orbm = Instance.new("SpecialMesh", orb)
3999
        orbm.MeshType = "Sphere"
4000
orb.CFrame = positted
4001
orbm.Name = "SizeMesh"
4002
orbm.Scale = vt(1,1,1)
4003
CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
4004
sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
4005
coroutine.wrap(function()
4006
    while orb and orb.Parent do
4007
        if glitchymode then
4008
            local val = math.random(1,255)
4009
            local color = Color3.fromRGB(val,val,val)
4010
            orb.Color = color
4011
        end
4012
        swait()
4013
    end
4014
end)()
4015
for i = 0, 2 do
4016
sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
4017
end
4018
 
4019
coroutine.resume(coroutine.create(function()
4020
wait(timer)
4021
CameraEnshaking(3,2)
4022
orb.Transparency = 1
4023
MagniDamage(orb, 17.5, 10,50, 0, "Normal")
4024
sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
4025
for i = 0, 4 do
4026
sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
4027
end
4028
CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
4029
wait(3)
4030
orb:Destroy()
4031
end))
4032
end
4033
 
4034
function scattercorrupt()
4035
attack = true
4036
local rot = 0
4037
local randomrotations = math.random(1,2)
4038
local lookv = 2.5
4039
local power = 5
4040
sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
4041
sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
4042
for i = 0, 9 do
4043
sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
4044
end
4045
    CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
4046
    CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
4047
    CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
4048
CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
4049
CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
4050
local hite = Instance.new("Part", char)
4051
        hite.Anchored = true
4052
        hite.CanCollide = false
4053
        hite.FormFactor = 3
4054
        hite.Name = "Ring"
4055
        hite.Material = "Neon"
4056
        hite.Size = Vector3.new(1, 1, 1)
4057
        hite.Transparency = 1
4058
        hite.TopSurface = 0
4059
        hite.BottomSurface = 0
4060
hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
4061
local rem = Instance.new("Part", char)
4062
        rem.Anchored = true
4063
        rem.CanCollide = false
4064
        rem.FormFactor = 3
4065
        rem.Name = "Ring"
4066
        rem.Material = "Neon"
4067
        rem.Size = Vector3.new(1, 1, 1)
4068
        rem.Transparency = 1
4069
        rem.TopSurface = 0
4070
        rem.BottomSurface = 0
4071
rem.CFrame = hite.CFrame
4072
local rem2 = rem:Clone()
4073
rem2.Parent = char
4074
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
4075
local rem3 = rem:Clone()
4076
rem3.Parent = char
4077
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
4078
local rem4 = rem:Clone()
4079
rem4.Parent = char
4080
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
4081
hite:Destroy()
4082
coroutine.resume(coroutine.create(function()
4083
for i = 0, 24 do
4084
swait(1)
4085
if randomrotations == 1 then
4086
rot = rot + 1
4087
elseif randomrotations == 2 then
4088
rot = rot - 1
4089
end
4090
power = power + 0.5
4091
lookv = lookv + 7.5
4092
rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
4093
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
4094
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
4095
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
4096
orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4097
orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4098
orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4099
orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
4100
end
4101
end))
4102
attack = false
4103
end
4104
function yinyangi()
4105
attack = true
4106
for i = 0, 2, 0.1 do
4107
swait()
4108
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
4109
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
4110
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
4111
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4112
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
4113
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
4114
end
4115
local bv = Instance.new("BodyVelocity")
4116
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4117
bv.velocity = root.CFrame.lookVector*175
4118
bv.Parent = root
4119
for Rotations = 0, 9 do
4120
 
4121
for i = 0, 1, 0.5 do
4122
swait()
4123
bv.velocity = root.CFrame.lookVector*175
4124
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
4125
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
4126
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
4127
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4128
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4129
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4130
end
4131
 
4132
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4133
for i = 0, 1, 0.5 do
4134
swait()
4135
bv.velocity = root.CFrame.lookVector*175
4136
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
4137
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
4138
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
4139
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4140
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4141
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4142
end
4143
 
4144
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4145
for i = 0, 1, 0.5 do
4146
swait()
4147
bv.velocity = root.CFrame.lookVector*175
4148
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
4149
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
4150
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
4151
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4152
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4153
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4154
end
4155
 
4156
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4157
for i = 0, 1, 0.5 do
4158
swait()
4159
bv.velocity = root.CFrame.lookVector*175
4160
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
4161
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
4162
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
4163
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
4164
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
4165
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
4166
end
4167
 
4168
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
4169
end
4170
bv:Destroy()
4171
attack = false
4172
end
4173
 
4174
function JusticeBeam()
4175
attack = true
4176
 
4177
local rngb = Instance.new("Part", char)
4178
        rngb.Anchored = true
4179
        rngb.BrickColor = origcolor
4180
        rngb.CanCollide = false
4181
        rngb.FormFactor = 3
4182
        rngb.Name = "Ring"
4183
        rngb.Material = "Neon"
4184
        rngb.Size = Vector3.new(1, 0.05, 1)
4185
        rngb.Transparency = 1
4186
        rngb.TopSurface = 0
4187
        rngb.BottomSurface = 0
4188
        local rngmb = Instance.new("SpecialMesh", rngb)
4189
        rngmb.MeshType = "Brick"
4190
rngmb.Name = "SizeMesh"
4191
rngmb.Scale = vt(0,1,0)
4192
 
4193
local orb = rngb:Clone()
4194
orb.Parent = char
4195
orb.Transparency = 0
4196
orb.BrickColor = BrickColor.new("White")
4197
orb.Size = vt(1,1,1)
4198
local orbmish = orb.SizeMesh
4199
orbmish.Scale = vt(0,0,0)
4200
orbmish.MeshType = "Sphere"
4201
 
4202
local orbe = rngb:Clone()
4203
orbe.Parent = char
4204
orbe.Transparency = 0.5
4205
orbe.BrickColor = BrickColor.new("New Yeller")
4206
orbe.Size = vt(1,1,1)
4207
local orbmish2 = orbe.SizeMesh
4208
orbmish2.Scale = vt(0,0,0)
4209
orbmish2.MeshType = "Sphere"
4210
orbe.Color = Color3.new(1,1,1)
4211
 
4212
rngb:Destroy()
4213
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
4214
local scaled = 1
4215
for i = 0,5,0.1 do
4216
swait()
4217
scaled = scaled - 0.02
4218
if rainbowmode == true then
4219
orbe.Color = Color3.new(r/255,g/255,b/255)
4220
end
4221
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
4222
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
4223
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4224
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4225
sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
4226
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4227
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4228
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4229
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4230
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
4231
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
4232
RootPart.CFrame = FaceMouse()[1]
4233
end]]--
4234
for i = 0,5,0.1 do
4235
swait()
4236
if rainbowmode == true then
4237
orbe.Color = Color3.new(r/255,g/255,b/255)
4238
end
4239
        if glitchymode then
4240
            local val = math.random(1,255)
4241
            local color = Color3.fromRGB(val,val,val)
4242
            orbe.Color = color
4243
        end
4244
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4245
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4246
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)
4247
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)
4248
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4249
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
4250
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
4251
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
4252
end
4253
orbe.Transparency = 1
4254
orb.Transparency = 1
4255
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
4256
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
4257
local a2 = Instance.new("Part",Character)
4258
    a2.Name = "Direction"  
4259
    a2.Anchored = true
4260
    a2.BrickColor = bc("New Yeller")
4261
a2.Color = Color3.new(1,1,1)
4262
a2.Material = "Neon"
4263
a2.Transparency = 0.5
4264
a2.Shape = "Cylinder"
4265
    a2.CanCollide = false
4266
local ba = Instance.new("Part",Character)
4267
    ba.Name = "HitDirect"  
4268
    ba.Anchored = true
4269
    ba.BrickColor = bc("Cool yellow")
4270
ba.Material = "Neon"
4271
ba.Transparency = 1
4272
    ba.CanCollide = false
4273
    local ray = Ray.new(
4274
        orb.CFrame.p,                           -- origin
4275
        root.CFrame.lookVector.unit * 1000 -- direction
4276
    )
4277
    local ignore = Character
4278
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4279
    a2.Transparency = .75
4280
    a2.BottomSurface = 10
4281
    a2.TopSurface = 10
4282
    local distance = (orb.CFrame.p - position).magnitude
4283
    a2.Size = Vector3.new(distance, 1, 1)
4284
    a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4285
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4286
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4287
game:GetService("Debris"):AddItem(a2, 20)
4288
game:GetService("Debris"):AddItem(ba, 20)
4289
local msh2 = Instance.new("SpecialMesh",a2)
4290
msh2.MeshType = "Cylinder"
4291
msh2.Scale = vt(1,6*5,6*5)
4292
 
4293
local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
4294
for i = 1, 80*2 do
4295
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)
4296
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)
4297
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
4298
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
4299
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
4300
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
4301
swait()
4302
CameraEnshaking(1,5)
4303
a2.Color = Color3.new(1,1,1)
4304
a2.Transparency = .25
4305
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4306
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4307
    ray = Ray.new(
4308
        orb.CFrame.p,                           -- origin
4309
        root.CFrame.lookVector.unit * 1000 -- direction
4310
    )
4311
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4312
distance = (orb.CFrame.p - position).magnitude
4313
if typrot == 1 then
4314
rotation = rotation + 2.5
4315
elseif typrot == 2 then
4316
rotation = rotation - 2.5
4317
end
4318
a2.Size = Vector3.new(distance, 1, 1)
4319
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4320
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4321
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4322
msh2.Scale = msh2.Scale - vt(0,.19,.19)
4323
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4324
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4325
MagniDamage(ba, 30, 5,25, 0, "Normal")
4326
end
4327
a2:Destroy()
4328
ba:Destroy()
4329
orb:Destroy()
4330
orbe:Destroy()
4331
attack = false
4332
end
4333
 
4334
function Wip()
4335
attack = true
4336
 
4337
local rngb = Instance.new("Part", char)
4338
        rngb.Anchored = true
4339
        rngb.BrickColor = origcolor
4340
        rngb.CanCollide = false
4341
        rngb.FormFactor = 3
4342
        rngb.Name = "Ring"
4343
        rngb.Material = "Neon"
4344
        rngb.Size = Vector3.new(1, 0.05, 1)
4345
        rngb.Transparency = 1
4346
        rngb.TopSurface = 0
4347
        rngb.BottomSurface = 0
4348
        local rngmb = Instance.new("SpecialMesh", rngb)
4349
        rngmb.MeshType = "Brick"
4350
rngmb.Name = "SizeMesh"
4351
rngmb.Scale = vt(0,1,0)
4352
 
4353
local orb = rngb:Clone()
4354
orb.Parent = char
4355
orb.Transparency = 0
4356
orb.BrickColor = BrickColor.new("White")
4357
orb.Size = vt(1,1,1)
4358
local orbmish = orb.SizeMesh
4359
orbmish.Scale = vt(0,0,0)
4360
orbmish.MeshType = "Sphere"
4361
 
4362
local orbe = rngb:Clone()
4363
orbe.Parent = char
4364
orbe.Transparency = 0.5
4365
orbe.BrickColor = BrickColor.new("New Yeller")
4366
orbe.Size = vt(1,1,1)
4367
local orbmish2 = orbe.SizeMesh
4368
orbmish2.Scale = vt(0,0,0)
4369
orbmish2.MeshType = "Sphere"
4370
orbe.Color = Color3.new(r/255,g/255,b/255)
4371
 
4372
hum.AutoRotate = false
4373
rngb:Destroy()
4374
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
4375
local scaled = 1
4376
for i = 0,5,0.1 do
4377
swait()
4378
scaled = scaled - 0.02
4379
if rainbowmode == true then
4380
orbe.Color = Color3.new(r/255,g/255,b/255)
4381
end
4382
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
4383
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
4384
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4385
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4386
sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
4387
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4388
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4389
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4390
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4391
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
4392
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
4393
RootPart.CFrame = FaceMouse()[1]
4394
end]]--
4395
for i = 0,5,0.1 do
4396
swait()
4397
if rainbowmode == true then
4398
orbe.Color = Color3.new(r/255,g/255,b/255)
4399
end
4400
        if glitchymode then
4401
            local val = math.random(1,255)
4402
            local color = Color3.fromRGB(val,val,val)
4403
            orbe.Color = color
4404
        end
4405
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4406
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4407
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4408
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4409
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4410
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4411
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
4412
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
4413
RootPart.CFrame = FaceMouse()[1]
4414
end
4415
orbe.Transparency = 1
4416
orb.Transparency = 1
4417
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
4418
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
4419
local a = Instance.new("Part",Character)
4420
    a.Name = "Direction"   
4421
    a.Anchored = true
4422
    a.BrickColor = bc("White")
4423
a.Material = "Neon"
4424
a.Transparency = 0
4425
a.Shape = "Cylinder"
4426
    a.CanCollide = false
4427
local a2 = Instance.new("Part",Character)
4428
    a2.Name = "Direction"  
4429
    a2.Anchored = true
4430
    a2.BrickColor = bc("New Yeller")
4431
a2.Color = Color3.new(r/255,g/255,b/255)
4432
a2.Material = "Neon"
4433
a2.Transparency = 0.5
4434
a2.Shape = "Cylinder"
4435
    a2.CanCollide = false
4436
local ba = Instance.new("Part",Character)
4437
    ba.Name = "HitDirect"  
4438
    ba.Anchored = true
4439
    ba.BrickColor = bc("Cool yellow")
4440
ba.Material = "Neon"
4441
ba.Transparency = 1
4442
    ba.CanCollide = false
4443
    local ray = Ray.new(
4444
        orb.CFrame.p,                           -- origin
4445
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4446
    )
4447
    local ignore = Character
4448
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4449
    a.BottomSurface = 10
4450
    a.TopSurface = 10
4451
    a2.BottomSurface = 10
4452
    a2.TopSurface = 10
4453
    local distance = (orb.CFrame.p - position).magnitude
4454
    a.Size = Vector3.new(distance, 1, 1)
4455
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4456
    a2.Size = Vector3.new(distance, 1, 1)
4457
    a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4458
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4459
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4460
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4461
game:GetService("Debris"):AddItem(a, 20)
4462
game:GetService("Debris"):AddItem(a2, 20)
4463
game:GetService("Debris"):AddItem(ba, 20)
4464
local msh = Instance.new("SpecialMesh",a)
4465
msh.MeshType = "Cylinder"
4466
msh.Scale = vt(1,5*5,5*5)
4467
local msh2 = Instance.new("SpecialMesh",a2)
4468
msh2.MeshType = "Cylinder"
4469
msh2.Scale = vt(1,6*5,6*5)
4470
 
4471
for i = 0,10,0.1 do
4472
swait()
4473
CameraEnshaking(1,5)
4474
a2.Color = Color3.new(r/255,g/255,b/255)
4475
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4476
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4477
ray = Ray.new(
4478
        orb.CFrame.p,                           -- origin
4479
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4480
    )
4481
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4482
distance = (orb.CFrame.p - position).magnitude
4483
if typrot == 1 then
4484
rotation = rotation + 2.5
4485
elseif typrot == 2 then
4486
rotation = rotation - 2.5
4487
end
4488
RootPart.CFrame = FaceMouse()[1]
4489
a.Size = Vector3.new(distance, 1, 1)
4490
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4491
a2.Size = Vector3.new(distance, 1, 1)
4492
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4493
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4494
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4495
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4496
msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
4497
msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
4498
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4499
sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
4500
MagniDamage(ba, 30, 5,25, 0, "Normal")
4501
end
4502
a:Destroy()
4503
a2:Destroy()
4504
ba:Destroy()
4505
orb:Destroy()
4506
orbe:Destroy()
4507
hum.AutoRotate = true
4508
attack = false
4509
end
4510
 
4511
 
4512
function UniversalSpark()
4513
attack = true
4514
 
4515
local rngb = Instance.new("Part", char)
4516
        rngb.Anchored = true
4517
        rngb.BrickColor = origcolor
4518
        rngb.CanCollide = false
4519
        rngb.FormFactor = 3
4520
        rngb.Name = "Ring"
4521
        rngb.Material = "Neon"
4522
        rngb.Size = Vector3.new(1, 0.05, 1)
4523
        rngb.Transparency = 1
4524
        rngb.TopSurface = 0
4525
        rngb.BottomSurface = 0
4526
        local rngmb = Instance.new("SpecialMesh", rngb)
4527
        rngmb.MeshType = "Brick"
4528
rngmb.Name = "SizeMesh"
4529
rngmb.Scale = vt(0,1,0)
4530
 
4531
local orb = rngb:Clone()
4532
orb.Parent = char
4533
orb.Transparency = 0
4534
orb.BrickColor = BrickColor.new("White")
4535
orb.Size = vt(1,1,1)
4536
local orbmish = orb.SizeMesh
4537
orbmish.Scale = vt(0,0,0)
4538
orbmish.MeshType = "Sphere"
4539
 
4540
local orbe = rngb:Clone()
4541
orbe.Parent = char
4542
orbe.Transparency = 0.5
4543
orbe.BrickColor = BrickColor.new("New Yeller")
4544
orbe.Size = vt(1,1,1)
4545
local orbmish2 = orbe.SizeMesh
4546
orbmish2.Scale = vt(0,0,0)
4547
orbmish2.MeshType = "Sphere"
4548
orbe.Color = Color3.new(r/255,g/255,b/255)
4549
 
4550
rngb:Destroy()
4551
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
4552
local scaled = 1
4553
for i = 0,5,0.1 do
4554
swait()
4555
scaled = scaled - 0.02
4556
if rainbowmode == true then
4557
orbe.Color = Color3.new(r/255,g/255,b/255)
4558
end
4559
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
4560
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
4561
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4562
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4563
sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
4564
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4565
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4566
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4567
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4568
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
4569
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
4570
RootPart.CFrame = FaceMouse()[1]
4571
end]]--
4572
for i = 0,5,0.1 do
4573
swait()
4574
if rainbowmode == true then
4575
orbe.Color = Color3.new(r/255,g/255,b/255)
4576
end
4577
        if glitchymode then
4578
            local val = math.random(1,255)
4579
            local color = Color3.fromRGB(val,val,val)
4580
            orbe.Color = color
4581
        end
4582
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4583
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
4584
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
4585
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
4586
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
4587
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4588
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
4589
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
4590
RootPart.CFrame = FaceMouse()[1]
4591
end
4592
orbe.Transparency = 1
4593
orb.Transparency = 1
4594
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
4595
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
4596
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
4597
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
4598
 
4599
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
4600
CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
4601
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
4602
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
4603
CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
4604
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
4605
CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
4606
local xd= Instance.new("Sound",char)
4607
xd.SoundId = "rbxassetid://445796828"
4608
xd.Pitch = 0.75
4609
xd.Looped = true
4610
xd.Volume = 1.25
4611
xd:Play()
4612
local a = Instance.new("Part",Character)
4613
    a.Name = "Direction"   
4614
    a.Anchored = true
4615
    a.BrickColor = bc("Alder")
4616
a.Color = MAINRUINCOLOR.Color
4617
a.Material = "Neon"
4618
a.Transparency = 0.5
4619
a.Shape = "Cylinder"
4620
    a.CanCollide = false
4621
local a2 = Instance.new("Part",Character)
4622
    a2.Name = "Direction"  
4623
    a2.Anchored = true
4624
    a2.BrickColor = bc("New Yeller")
4625
a2.Color = MAINRUINCOLOR.Color
4626
a2.Material = "Neon"
4627
a2.Transparency = 0.5
4628
a2.Shape = "Cylinder"
4629
    a2.CanCollide = false
4630
local ba = Instance.new("Part",Character)
4631
    ba.Name = "HitDirect"  
4632
    ba.Anchored = true
4633
    ba.BrickColor = bc("Cool yellow")
4634
ba.Material = "Neon"
4635
ba.Transparency = 1
4636
    ba.CanCollide = false
4637
    local ray = Ray.new(
4638
        orb.CFrame.p,                           -- origin
4639
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4640
    )
4641
    local ignore = Character
4642
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4643
    a.BottomSurface = 10
4644
    a.TopSurface = 10
4645
    a2.BottomSurface = 10
4646
    a2.TopSurface = 10
4647
    local distance = (orb.CFrame.p - position).magnitude
4648
    a.Size = Vector3.new(distance, 1, 1)
4649
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4650
    a2.Size = Vector3.new(distance, 1, 1)
4651
    a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4652
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4653
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4654
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4655
game:GetService("Debris"):AddItem(a, 60)
4656
game:GetService("Debris"):AddItem(a2, 60)
4657
game:GetService("Debris"):AddItem(ba, 60)
4658
local outerscale = 0
4659
local msh = Instance.new("SpecialMesh",a)
4660
msh.MeshType = "Cylinder"
4661
msh.Scale = vt(1,0,0)
4662
local msh2 = Instance.new("SpecialMesh",a2)
4663
msh2.MeshType = "Cylinder"
4664
msh2.Scale = vt(1,0,0)
4665
for i = 0,2,0.1 do
4666
swait()
4667
CameraEnshaking(1,1)
4668
msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
4669
msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
4670
outerscale = outerscale - 0.015
4671
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4672
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4673
ray = Ray.new(
4674
        orb.CFrame.p,                           -- origin
4675
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4676
    )
4677
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4678
distance = (orb.CFrame.p - position).magnitude
4679
if typrot == 1 then
4680
rotation = rotation + 2.5
4681
elseif typrot == 2 then
4682
rotation = rotation - 2.5
4683
end
4684
RootPart.CFrame = FaceMouse()[1]
4685
a.Size = Vector3.new(distance, 1, 1)
4686
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4687
a2.Size = Vector3.new(distance, 1, 1)
4688
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4689
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4690
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4691
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4692
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4693
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4694
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4695
end
4696
for z = 0, 2 do
4697
for i = 0,4,0.1 do
4698
swait()
4699
CameraEnshaking(1,1)
4700
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
4701
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
4702
outerscale = outerscale + 0.015
4703
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4704
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4705
ray = Ray.new(
4706
        orb.CFrame.p,                           -- origin
4707
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4708
    )
4709
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4710
distance = (orb.CFrame.p - position).magnitude
4711
if typrot == 1 then
4712
rotation = rotation + 2.5
4713
elseif typrot == 2 then
4714
rotation = rotation - 2.5
4715
end
4716
RootPart.CFrame = FaceMouse()[1]
4717
a.Size = Vector3.new(distance, 1, 1)
4718
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4719
a2.Size = Vector3.new(distance, 1, 1)
4720
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4721
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4722
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4723
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4724
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4725
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4726
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4727
end
4728
for i = 0,4,0.1 do
4729
swait()
4730
CameraEnshaking(1,1)
4731
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
4732
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
4733
outerscale = outerscale - 0.015
4734
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4735
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4736
ray = Ray.new(
4737
        orb.CFrame.p,                           -- origin
4738
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4739
    )
4740
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4741
distance = (orb.CFrame.p - position).magnitude
4742
if typrot == 1 then
4743
rotation = rotation + 2.5
4744
elseif typrot == 2 then
4745
rotation = rotation - 2.5
4746
end
4747
RootPart.CFrame = FaceMouse()[1]
4748
a.Size = Vector3.new(distance, 1, 1)
4749
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4750
a2.Size = Vector3.new(distance, 1, 1)
4751
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4752
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4753
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4754
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4755
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4756
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4757
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4758
end
4759
end
4760
for i = 0,4,0.1 do
4761
swait()
4762
CameraEnshaking(1,1)
4763
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
4764
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
4765
xd.Volume = xd.Volume - 0.025
4766
a.Transparency = a.Transparency + 0.025
4767
a2.Transparency = a2.Transparency + 0.025
4768
outerscale = outerscale - 0.015
4769
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4770
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
4771
ray = Ray.new(
4772
        orb.CFrame.p,                           -- origin
4773
        (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
4774
    )
4775
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4776
distance = (orb.CFrame.p - position).magnitude
4777
if typrot == 1 then
4778
rotation = rotation + 2.5
4779
elseif typrot == 2 then
4780
rotation = rotation - 2.5
4781
end
4782
RootPart.CFrame = FaceMouse()[1]
4783
a.Size = Vector3.new(distance, 1, 1)
4784
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4785
a2.Size = Vector3.new(distance, 1, 1)
4786
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
4787
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
4788
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
4789
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
4790
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4791
sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
4792
MagniDamage(ba, 100, 500,60000, 0, "Normal")
4793
end
4794
xd:Destroy()
4795
a:Destroy()
4796
a2:Destroy()
4797
ba:Destroy()
4798
orb:Destroy()
4799
orbe:Destroy()
4800
attack = false
4801
end
4802
 
4803
 
4804
 
4805
function attackone()
4806
    attack = true
4807
    for i = 0,1,0.1 do
4808
        swait()
4809
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
4810
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
4811
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
4812
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
4813
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)
4814
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)
4815
    end
4816
    CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
4817
 
4818
local hitb = Instance.new("Part", char)
4819
        hitb.Anchored = true
4820
        hitb.CanCollide = false
4821
        hitb.FormFactor = 3
4822
        hitb.Name = "Ring"
4823
        hitb.Material = "Neon"
4824
        hitb.Size = Vector3.new(1, 1, 1)
4825
        hitb.Transparency = 1
4826
        hitb.TopSurface = 0
4827
        hitb.BottomSurface = 0
4828
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
4829
MagniDamage(hitb, 3, 10,30, 0, "Normal")
4830
hitb:Destroy()
4831
    for i = 0,1,0.1 do
4832
        swait()
4833
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
4834
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
4835
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
4836
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
4837
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)
4838
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)
4839
    end
4840
 
4841
    attack = false
4842
end
4843
 
4844
function attacktwo()
4845
    attack = true
4846
    for i = 0,1,0.1 do
4847
        swait()
4848
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
4849
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
4850
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
4851
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
4852
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)
4853
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)
4854
    end
4855
    CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
4856
local hitb = Instance.new("Part", char)
4857
        hitb.Anchored = true
4858
        hitb.CanCollide = false
4859
        hitb.FormFactor = 3
4860
        hitb.Name = "Ring"
4861
        hitb.Material = "Neon"
4862
        hitb.Size = Vector3.new(1, 1, 1)
4863
        hitb.Transparency = 1
4864
        hitb.TopSurface = 0
4865
        hitb.BottomSurface = 0
4866
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
4867
MagniDamage(hitb, 3, 10,30, 0, "Normal")
4868
hitb:Destroy()
4869
    for i = 0,1,0.1 do
4870
        swait()
4871
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
4872
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
4873
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
4874
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
4875
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)
4876
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)
4877
    end
4878
    attack = false
4879
end
4880
 
4881
function attackthree()
4882
    attack = true
4883
    for i = 0,1,0.1 do
4884
        swait()
4885
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
4886
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
4887
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
4888
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
4889
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
4890
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
4891
    end
4892
local distlook = 5
4893
for i = 0, 4 do
4894
swait(2)
4895
CameraEnshaking(2,3)
4896
local hite = Instance.new("Part", char)
4897
        hite.Anchored = true
4898
        hite.CanCollide = false
4899
        hite.FormFactor = 3
4900
        hite.Name = "Ring"
4901
        hite.Material = "Neon"
4902
        hite.Size = Vector3.new(1, 1, 1)
4903
        hite.Transparency = 1
4904
        hite.TopSurface = 0
4905
        hite.BottomSurface = 0
4906
hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
4907
sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
4908
sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
4909
MagniDamage(hite, 10, 15,35, 0, "Normal")
4910
for i = 0, 2 do
4911
sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
4912
sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
4913
sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
4914
end
4915
CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
4916
CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
4917
game:GetService("Debris"):AddItem(hite, 5)
4918
distlook = distlook + 10
4919
end
4920
    attack = false
4921
end
4922
 
4923
function FinalCalamity()
4924
end
4925
 
4926
function resetmode()
4927
rainbowmode = false
4928
chaosmode = false
4929
glitchymode = false
4930
tl1.Enabled = false
4931
tl2.Enabled = false
4932
tl3.Enabled = false
4933
local lust = ModeOfGlitch == 69
4934
               ModeOfGlitch = 1
4935
storehumanoidWS = 16
4936
if(not lust)then
4937
    newTheme("rbxassetid://1564523997",48.6,1,1)
4938
end
4939
coroutine.resume(coroutine.create(function()
4940
attack = true
4941
hum.WalkSpeed = 0
4942
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
4943
for i = 0,4,0.1 do
4944
swait()
4945
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)
4946
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)
4947
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)
4948
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
4949
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)
4950
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
4951
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
4952
end
4953
if(lust)then
4954
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
4955
sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
4956
for i = 0, 49 do
4957
PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
4958
end
4959
 
4960
for i = 0,4,0.05 do
4961
swait()
4962
Pitch = 1-i/4
4963
    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)
4964
    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)
4965
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)
4966
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
4967
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)
4968
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
4969
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
4970
end
4971
for i = 0,3,0.1 do
4972
swait()
4973
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)
4974
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)
4975
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)
4976
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
4977
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)
4978
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
4979
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
4980
end
4981
newTheme("rbxassetid://1564523997",48.6,1,1)
4982
end
4983
CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
4984
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
4985
CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
4986
CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
4987
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
4988
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
4989
RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
4990
CameraEnshaking(5,2.5)
4991
MAINRUINCOLOR = BrickColor.new("Really black")
4992
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4993
for i = 0, 49 do
4994
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)
4995
end
4996
for i = 0,3,0.1 do
4997
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)
4998
end
4999
for i, v in pairs(mw2:GetChildren()) do
5000
if v:IsA("Part") then
5001
v.BrickColor = BrickColor.new("Really black")
5002
v.Material = "Neon"
5003
end
5004
end
5005
for i, v in pairs(mw1:GetChildren()) do
5006
if v:IsA("Part") then
5007
v.Transparency = 1
5008
v.BrickColor = BrickColor.new("Really black")
5009
v.Material = "Neon"
5010
end
5011
end
5012
for i, v in pairs(m:GetChildren()) do
5013
if v:IsA("Part") then
5014
v.BrickColor = BrickColor.new("Really black")
5015
v.Material = "Glass"
5016
end
5017
end
5018
for i, v in pairs(m2:GetChildren()) do
5019
if v:IsA("Part") then
5020
v.BrickColor = BrickColor.new("Dark stone grey")
5021
v.Material = "Granite"
5022
end
5023
end
5024
for i, v in pairs(m3:GetChildren()) do
5025
if v:IsA("Part") then
5026
v.BrickColor = BrickColor.new("Really black")
5027
v.Material = "Neon"
5028
end
5029
end
5030
for i, v in pairs(extrawingmod1:GetChildren()) do
5031
if v:IsA("Part") then
5032
v.Transparency = 1
5033
v.BrickColor = BrickColor.new("White")
5034
v.Material = "Neon"
5035
end
5036
end
5037
for i, v in pairs(extrawingmod2:GetChildren()) do
5038
if v:IsA("Part") then
5039
v.Transparency = 1
5040
v.BrickColor = BrickColor.new("White")
5041
v.Material = "Neon"
5042
end
5043
end
5044
for i = 0,2,0.1 do
5045
swait()
5046
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)
5047
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)
5048
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5049
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
5050
RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
5051
LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
5052
end
5053
hum.WalkSpeed = storehumanoidWS
5054
attack = false
5055
end))
5056
end
5057
 
5058
function lustmode()
5059
 
5060
               ModeOfGlitch = 69
5061
storehumanoidWS = 16
5062
rainbowmode = false
5063
chaosmode = false
5064
glitchymode = false
5065
tl1.Enabled = false
5066
tl2.Enabled = false
5067
tl3.Enabled = false
5068
newTheme("rbxassetid://1292453759",0,1,1)
5069
coroutine.wrap(function()
5070
attack = true
5071
hum.WalkSpeed = 0
5072
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
5073
for i = 0,4,0.1 do
5074
swait()
5075
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)
5076
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)
5077
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)
5078
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5079
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)
5080
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5081
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5082
end
5083
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5084
sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
5085
 
5086
for i = 0,4,0.1 do
5087
swait()
5088
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)
5089
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)
5090
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)
5091
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5092
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)
5093
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5094
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5095
end
5096
CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
5097
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5098
CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
5099
CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
5100
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
5101
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
5102
CameraEnshaking(5,2.5)
5103
MAINRUINCOLOR = BrickColor.new("Pink")
5104
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5105
for i = 0, 49 do
5106
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))),6,6,6,0.12,MAINRUINCOLOR,0,true)
5107
end
5108
for i = 0,3,0.1 do
5109
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,true)
5110
end
5111
RecolorTextAndRename("Loost",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
5112
for i, v in pairs(mw2:GetChildren()) do
5113
if v:IsA("Part") then
5114
v.BrickColor = MAINRUINCOLOR
5115
v.Material = "Neon"
5116
end
5117
end
5118
for i, v in pairs(mw1:GetChildren()) do
5119
if v:IsA("Part") then
5120
v.Transparency = 1
5121
v.BrickColor = MAINRUINCOLOR
5122
v.Material = "Neon"
5123
end
5124
end
5125
for i, v in pairs(m:GetChildren()) do
5126
if v:IsA("Part") then
5127
v.BrickColor = BrickColor.new("Pink")
5128
v.Material = "Ice"
5129
end
5130
end
5131
for i, v in pairs(m2:GetChildren()) do
5132
if v:IsA("Part") then
5133
v.BrickColor = BrickColor.new("Pink")
5134
v.Material = "Glass"
5135
end
5136
end
5137
for i, v in pairs(m3:GetChildren()) do
5138
if v:IsA("Part") then
5139
v.BrickColor = BrickColor.new("Pink")
5140
v.Material = "Neon"
5141
end
5142
end
5143
for i, v in pairs(extrawingmod1:GetChildren()) do
5144
if v:IsA("Part") then
5145
v.Transparency = 1
5146
v.BrickColor = BrickColor.new("Pink")
5147
v.Material = "Neon"
5148
end
5149
end
5150
for i, v in pairs(extrawingmod2:GetChildren()) do
5151
if v:IsA("Part") then
5152
v.Transparency = 1
5153
v.BrickColor = BrickColor.new("Pink")
5154
v.Material = "Neon"
5155
end
5156
end
5157
for i = 0,2,0.1 do
5158
swait()
5159
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)
5160
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)
5161
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5162
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
5163
RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
5164
LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
5165
end
5166
hum.WalkSpeed = storehumanoidWS
5167
attack = false
5168
end)()
5169
end
5170
 
5171
function insanitymode()
5172
storehumanoidWS = 16
5173
hum.WalkSpeed = 0
5174
rainbowmode = false
5175
glitchymode = false
5176
chaosmode = true
5177
tl1.Enabled = true 
5178
tl2.Enabled = true
5179
tl3.Enabled = true
5180
local lust = ModeOfGlitch == 69
5181
newTheme("rbxassetid://919231299",0,1,1)
5182
coroutine.resume(coroutine.create(function()
5183
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5184
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5185
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5186
attack = true
5187
hum.WalkSpeed = 0
5188
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
5189
for i = 0,4,0.1 do
5190
swait()
5191
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)
5192
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)
5193
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)
5194
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5195
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)
5196
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5197
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5198
end
5199
for i = 0,8,0.1 do
5200
swait()
5201
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)
5202
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,.035,MAINRUINCOLOR,0)
5203
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)
5204
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)
5205
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5206
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)
5207
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5208
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5209
end
5210
 
5211
for i = 0,3,0.1 do
5212
swait()
5213
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)
5214
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)
5215
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)
5216
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
5217
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)
5218
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
5219
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
5220
end
5221
CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
5222
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5223
CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
5224
CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
5225
CameraEnshaking(5,2.5)
5226
MAINRUINCOLOR = BrickColor.new("Black")
5227
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5228
for i = 0, 49 do
5229
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)
5230
end
5231
for i = 0,3,0.1 do
5232
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)
5233
end
5234
ModeOfGlitch = 666666
5235
for i, v in pairs(mw2:GetChildren()) do
5236
if v:IsA("Part") then
5237
v.BrickColor = MAINRUINCOLOR
5238
v.Material = "Neon"
5239
end
5240
end
5241
for i, v in pairs(mw1:GetChildren()) do
5242
if v:IsA("Part") then
5243
v.Transparency = 0.75
5244
v.BrickColor = BrickColor.random()
5245
v.Material = "Neon"
5246
end
5247
end
5248
for i, v in pairs(m:GetChildren()) do
5249
if v:IsA("Part") then
5250
v.BrickColor = BrickColor.new("Black")
5251
v.Material = "Neon"
5252
end
5253
end
5254
for i, v in pairs(m2:GetChildren()) do
5255
if v:IsA("Part") then
5256
v.BrickColor = BrickColor.random()
5257
v.Material = "Neon"
5258
end
5259
end
5260
for i, v in pairs(m3:GetChildren()) do
5261
if v:IsA("Part") then
5262
v.BrickColor = BrickColor.new("Black")
5263
v.Material = "Neon"
5264
end
5265
end
5266
for i, v in pairs(extrawingmod1:GetChildren()) do
5267
if v:IsA("Part") then
5268
v.Transparency = .75
5269
v.BrickColor = BrickColor.Random()
5270
v.Material = "Neon"
5271
end
5272
end
5273
for i, v in pairs(extrawingmod2:GetChildren()) do
5274
if v:IsA("Part") then
5275
v.Transparency = 0
5276
v.BrickColor = BrickColor.new("Black")
5277
v.Material = "Neon"
5278
end
5279
end
5280
for i = 0,2,0.1 do
5281
swait()
5282
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)
5283
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)
5284
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5285
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
5286
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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
5287
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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
5288
end
5289
hum.WalkSpeed = storehumanoidWS
5290
attack = false
5291
end))
5292
end
5293
 
5294
local attacktype = 1
5295
mouse.Button1Down:connect(function()
5296
  if attack == false and attacktype == 1 then
5297
    attacktype = 2
5298
    attackone()
5299
  elseif attack == false and attacktype == 2 then
5300
    attacktype = 3
5301
    attacktwo()
5302
  elseif attack == false and attacktype == 3 then
5303
    attacktype = 1
5304
    attackthree()
5305
  elseif attack == false and attacktype == 4 then
5306
    attacktype = 1
5307
    --attackfour()
5308
  end
5309
end)
5310
 
5311
function Judgement()
5312
    attack = true
5313
    hum.WalkSpeed = 0
5314
    local p = Instance.new("Part",root)
5315
    p.Anchored = true
5316
    p.CanCollide = false
5317
    p.BrickColor = MAINRUINCOLOR
5318
    p.Material = Enum.Material.Neon
5319
    p.Size = Vector3.new(1,1,1)
5320
    p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5321
    p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5322
    local m = Instance.new("SpecialMesh",p)
5323
    m.MeshType = "Cylinder"
5324
    m.Scale = Vector3.new(2000,2,2)
5325
    local targ = Instance.new("Part",root)
5326
    targ.Transparency = 1
5327
    targ.CanCollide = false
5328
    targ.Size = Vector3.new(1,1,1)
5329
    targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5330
    CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
5331
    CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
5332
    for i = 1,15 do
5333
        targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5334
        RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
5335
        Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
5336
    RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
5337
    LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
5338
    RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-20)),.2)
5339
    LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
5340
        sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
5341
        sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
5342
        m.Scale = m.Scale+Vector3.new(0,1,1)
5343
        p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5344
        p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5345
        swait()
5346
    end
5347
    sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
5348
    for i = 1,200 do
5349
        targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5350
        sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
5351
        sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
5352
        p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5353
        p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5354
        MagniDamage(targ, 25, 5, 8, 0, "Normal")
5355
        swait()
5356
    end
5357
    for i =1,15 do
5358
    m.Scale = m.Scale-Vector3.new(1,1,1)
5359
    p.Transparency = i / 15
5360
    swait()
5361
    end
5362
    p:Destroy()
5363
    hum.WalkSpeed = storehumanoidWS
5364
    attack = false
5365
end
5366
 
5367
local ODerDB = false
5368
function ChooseODer()
5369
    if(not ODerDB)then
5370
        coroutine.wrap(function()
5371
           
5372
            local allowOD = true
5373
            local whom = (mouse.Target and mouse.Target.Parent)
5374
            if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
5375
                ODerDB = true
5376
                for _,v in next, ODers do
5377
                    if(v == whom)then
5378
                        print'nO OD SELF'
5379
                        allowOD = false
5380
                    end
5381
                end
5382
                if(allowOD)then
5383
                    local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
5384
                    local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
5385
                   
5386
                    ref.CFrame = Torso.CFrame
5387
                    ref.Anchored = true
5388
                    local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
5389
                    local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
5390
                    local MPos = whom.Head.CFrame*cf(0,4,0)
5391
                    for i = 0, 1, .05 do
5392
                        swait()
5393
                        ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
5394
                   
5395
                        sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
5396
                        if whom:FindFirstChild'Head' == nil then
5397
                        break
5398
                        end
5399
                    end
5400
                    ref:destroy()
5401
                    if whom:FindFirstChild'Head' then
5402
                        table.insert(ODers,whom)
5403
                        if(#ODers > 2)then
5404
                            table.remove(ODers,1)
5405
                        end
5406
                        sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
5407
                    end
5408
                end
5409
                ODerDB = false
5410
            end
5411
        end)()
5412
    end
5413
end
5414
 
5415
function RiddleMeThisRiddleMeThat()-- Who's afraid of the big black IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
5416
    attack = true
5417
    hum.WalkSpeed = 0
5418
    storehumanoidWS = 75
5419
    hum.JumpPower = 0
5420
    newThemeCust("rbxassetid://1420353940",0,1,1)
5421
    kan.TimePosition = 0
5422
    ModeOfGlitch = 8376532578634534
5423
    repeat swait() until kan.IsLoaded
5424
    chatfunc("Riddle me this..",text.TextStrokeColor3)
5425
    for i = 0, 14, .1 do
5426
        swait()
5427
        RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5428
        LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5429
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
5430
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
5431
        RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5432
        LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5433
    end
5434
    chatfunc("Riddle me that..",text.TextStrokeColor3)
5435
    for i = 0, 12, .1 do
5436
        swait()
5437
        RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5438
        LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5439
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
5440
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
5441
        RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5442
        LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5443
    end
5444
    chatfunc("Who's afraid of the big black..",Color3.new(1,1,1))
5445
    for i = 0, 16, .1 do
5446
        swait()
5447
        RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
5448
        LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5449
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
5450
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
5451
        RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
5452
        LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
5453
    end
5454
    CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
5455
    CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5456
    CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
5457
    CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
5458
    pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
5459
    pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
5460
    RecolorTextAndRename("The Big Black",Color3.new(0,0,0),Color3.new(1,1,1))
5461
    CameraEnshaking(5,2.5)
5462
    MAINRUINCOLOR = BrickColor.new("Really black")
5463
    sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5464
tl1.Enabled = true
5465
tl2.Enabled = true
5466
tl3.Enabled = true
5467
    for i = 0, 49 do
5468
    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)
5469
    end
5470
    for i = 0,3,0.1 do
5471
    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)
5472
    end
5473
    for i, v in pairs(mw2:GetChildren()) do
5474
    if v:IsA("Part") then
5475
    v.BrickColor = BrickColor.new("Really black")
5476
    v.Material = "Glass"
5477
    end
5478
    end
5479
    for i, v in pairs(mw1:GetChildren()) do
5480
    if v:IsA("Part") then
5481
    v.Transparency = 0
5482
    v.BrickColor = BrickColor.new("Really black")
5483
    v.Material = "Glass"
5484
    end
5485
    end
5486
    for i, v in pairs(m:GetChildren()) do
5487
    if v:IsA("Part") then
5488
    v.BrickColor = BrickColor.new("Really black")
5489
    v.Material = "Glass"
5490
    end
5491
    end
5492
    for i, v in pairs(m2:GetChildren()) do
5493
    if v:IsA("Part") then
5494
    v.BrickColor = BrickColor.new("Dark stone grey")
5495
    v.Material = "Granite"
5496
    end
5497
    end
5498
    for i, v in pairs(m3:GetChildren()) do
5499
    if v:IsA("Part") then
5500
    v.BrickColor = BrickColor.new("Really black")
5501
    v.Material = "Glass"
5502
    end
5503
    end
5504
    for i, v in pairs(extrawingmod1:GetChildren()) do
5505
    if v:IsA("Part") then
5506
    v.Transparency = 0
5507
    v.BrickColor = BrickColor.new("Dark stone grey")
5508
    v.Material = "Glass"
5509
    end
5510
    end
5511
    for i, v in pairs(extrawingmod2:GetChildren()) do
5512
    if v:IsA("Part") then
5513
    v.Transparency = 0
5514
    v.BrickColor = BrickColor.new("Dark stone grey")
5515
    v.Material = "Glass"
5516
    end
5517
    end
5518
    for i = 0,2,0.1 do
5519
    swait()
5520
    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)
5521
    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)
5522
    RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
5523
    Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.2)
5524
    RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.2)
5525
    LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.2)
5526
    end
5527
    hum.JumpPower = 50
5528
    hum.WalkSpeed = storehumanoidWS
5529
    attack = false
5530
end
5531
 
5532
function FuckMeSidewaysAndCallMeGay()
5533
    local whom = (mouse.Target and mouse.Target.Parent)
5534
    --[[local fuckThisBoi = false
5535
    if(whom and whom:FindFirstChildOfClass'Humanoid')then
5536
        for _,v in next, ODers do
5537
            if(v == whom)then
5538
                fuckThisBoi = false
5539
            end
5540
        end
5541
    end
5542
    if(not fuckThisBoi)then
5543
        attack = false
5544
        warn'to fuck that boi you need to target them with z'
5545
    else]]
5546
    if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
5547
        local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
5548
        local hum = whom:FindFirstChildOfClass'Humanoid'
5549
        local ocf = RootPart.CFrame
5550
        hum.WalkSpeed = 0
5551
        hum.JumpPower = 0
5552
        hed.Anchored = true
5553
        RootPart.Anchored = true
5554
        Humanoid.WalkSpeed = 0
5555
        Humanoid.JumpPower = 0
5556
        RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5557
        CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
5558
        for i = 0, 9 do
5559
        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("Pink"),0)
5560
        end
5561
        for i = 0, 24 do
5562
        PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
5563
        end
5564
        sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
5565
        attack = true
5566
        local speed = 1
5567
        local heck;
5568
        local stopitlol = false;
5569
        heck = mouse.KeyUp:connect(function(k)
5570
            if(k:lower() == 'm')then
5571
                stopitlol = true
5572
                heck:disconnect()
5573
            end
5574
        end)
5575
        local times = 0
5576
        repeat swait()
5577
            speed = speed - .01
5578
            times = times + 1
5579
            if(speed < .1)then
5580
                speed = .1
5581
            end
5582
            for i = 0, speed, .05 do
5583
                RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5584
                swait()
5585
                RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
5586
                LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5587
                RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)   
5588
                Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5589
                RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5590
                LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5591
            end
5592
            CameraEnshaking(5,5)
5593
           
5594
            CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)  
5595
           
5596
            for i = 0, speed, .05 do
5597
                RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5598
                swait()
5599
                RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
5600
                LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5601
                RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
5602
                Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5603
                RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5604
                LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5605
            end
5606
        until stopitlol and times >= 3
5607
        for i = 1, 3 do
5608
            for i = 0, 1.5, .05 do
5609
                RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5610
                swait()
5611
                RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
5612
                LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5613
                RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)   
5614
                Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5615
                RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5616
                LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
5617
            end
5618
            CameraEnshaking(5,25)
5619
           
5620
            CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
5621
           
5622
 
5623
            coroutine.resume(coroutine.create(function()
5624
            bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
5625
            bld.LightEmission = 0.1
5626
            bld.Texture = "rbxassetid://284205403"
5627
            bld.Color = ColorSequence.new(Color3.new(1,1,1))
5628
            bld.Rate = 500
5629
            bld.Lifetime = NumberRange.new(1)
5630
            bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5631
            bld.Acceleration = vt(0,-25,0)
5632
            bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5633
            bld.Speed = NumberRange.new(10,50)
5634
            bld.EmissionDirection = "Back"
5635
            bld.VelocitySpread = 25
5636
            bld.Rotation = NumberRange.new(-500,500)
5637
            bld.RotSpeed = NumberRange.new(-500,500)
5638
            bld.Enabled = false
5639
            bld:Emit(250)
5640
            end))
5641
            coroutine.resume(coroutine.create(function()
5642
            bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
5643
            bld.LightEmission = 0.1
5644
            bld.Texture = "rbxassetid://284205403"
5645
            bld.Color = ColorSequence.new(Color3.new(1,1,1))
5646
            bld.Rate = 500
5647
            bld.Lifetime = NumberRange.new(1)
5648
            bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5649
            bld.Acceleration = vt(0,-25,0)
5650
            bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5651
            bld.Speed = NumberRange.new(10,50)
5652
            bld.EmissionDirection = "Back"
5653
            bld.VelocitySpread = 25
5654
            bld.Rotation = NumberRange.new(-500,500)
5655
            bld.RotSpeed = NumberRange.new(-500,500)
5656
            bld.Enabled = false
5657
            bld:Emit(250)
5658
            end))
5659
            for i = 0, 1.5, .05 do
5660
                RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5661
                swait()
5662
                RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
5663
                LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5664
                RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
5665
                Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5666
                RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5667
                LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5668
            end
5669
        end
5670
            for i = 0, 4, .05 do
5671
                RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5672
                swait()
5673
                RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
5674
                LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
5675
                RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)  
5676
                Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
5677
                RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
5678
                LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
5679
            end
5680
            CameraEnshaking(5,25)
5681
            CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
5682
            CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
5683
           
5684
            dmg(whom)
5685
            coroutine.resume(coroutine.create(function()
5686
            bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
5687
            bld.LightEmission = 0.1
5688
            bld.Texture = "rbxassetid://284205403"
5689
            bld.Color = ColorSequence.new(Color3.new(1,1,1))
5690
            bld.Rate = 500
5691
            bld.Lifetime = NumberRange.new(1)
5692
            bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5693
            bld.Acceleration = vt(0,-25,0)
5694
            bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5695
            bld.Speed = NumberRange.new(10,50)
5696
            bld.EmissionDirection = "Back"
5697
            bld.VelocitySpread = 25
5698
            bld.Rotation = NumberRange.new(-500,500)
5699
            bld.RotSpeed = NumberRange.new(-500,500)
5700
            bld.Enabled = true
5701
            end))
5702
            coroutine.resume(coroutine.create(function()
5703
            bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
5704
            bld.LightEmission = 0.1
5705
            bld.Texture = "rbxassetid://284205403"
5706
            bld.Color = ColorSequence.new(Color3.new(1,1,1))
5707
            bld.Rate = 500
5708
            bld.Lifetime = NumberRange.new(1)
5709
            bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
5710
            bld.Acceleration = vt(0,-25,0)
5711
            bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
5712
            bld.Speed = NumberRange.new(10,50)
5713
            bld.EmissionDirection = "Back"
5714
            bld.VelocitySpread = 25
5715
            bld.Rotation = NumberRange.new(-500,500)
5716
            bld.RotSpeed = NumberRange.new(-500,500)
5717
            bld.Enabled = true
5718
            end))
5719
            for i = 0, 3, .05 do
5720
                RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
5721
                swait()
5722
                RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
5723
                LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
5724
                RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)   
5725
                Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
5726
                RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5727
                LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
5728
            end
5729
       
5730
        RootPart.CFrame = ocf
5731
        CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
5732
        for i = 0, 9 do
5733
        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("Pink"),0)
5734
        end
5735
        for i = 0, 24 do
5736
        PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Pink"),0)
5737
        end
5738
        sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
5739
        RootPart.Anchored = false
5740
        Humanoid.WalkSpeed = storehumanoidWS
5741
        Humanoid.JumpPower = 50
5742
        attack = false
5743
    end
5744
end
5745
 
5746
local input = ""
5747
 
5748
mouse.KeyDown:connect(function(k)
5749
    if(k == "w" or k == "a" or k == "s" or k == "d")then
5750
        input = input .. k
5751
        local newInput = input
5752
        coroutine.wrap(function()
5753
            for i = 1, 25 do
5754
                if(newInput ~= input)then break end
5755
                swait()
5756
            end
5757
            if(newInput == input)then input = "" end
5758
        end)()
5759
        if(input == "w" and not AllowRape)then
5760
            AllowRape = true
5761
            warn("Rape unlocked! Have fun ;)")
5762
        elseif(input == "w" and not AllowCata)then
5763
            AllowCata = true
5764
            warn("You unlocked CATASTROPHE.")
5765
        elseif(input == 'wds' and ModeOfGlitch == 4 and not attack)then
5766
            ChaosBegone()
5767
        end
5768
    end
5769
end)
5770
 
5771
mouse.KeyDown:connect(function(k)
5772
    if k == "h" then
5773
   
5774
    end
5775
   
5776
        if k == "q" and attack == false and ModeOfGlitch ~= 2 then
5777
               ModeOfGlitch = 2
5778
storehumanoidWS = 16
5779
hum.WalkSpeed = 16
5780
rainbowmode = false
5781
chaosmode = false
5782
glitchymode = false
5783
tl1.Enabled = false
5784
tl2.Enabled = false
5785
tl3.Enabled = false
5786
RecolorTextAndRename("Purity",Color3.new(1,1,1),Color3.new(0,1,1))
5787
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
5788
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
5789
newTheme("rbxassetid://1539245059",0,1,1)
5790
MAINRUINCOLOR = BrickColor.new("Toothpaste")
5791
for i, v in pairs(mw2:GetChildren()) do
5792
if v:IsA("Part") then
5793
v.BrickColor = MAINRUINCOLOR
5794
v.Material = "Neon"
5795
end
5796
end
5797
for i, v in pairs(mw1:GetChildren()) do
5798
if v:IsA("Part") then
5799
v.Transparency = 1
5800
v.BrickColor = MAINRUINCOLOR
5801
v.Material = "Neon"
5802
end
5803
end
5804
for i, v in pairs(m:GetChildren()) do
5805
if v:IsA("Part") then
5806
v.BrickColor = BrickColor.new("White")
5807
v.Material = "Ice"
5808
end
5809
end
5810
for i, v in pairs(m2:GetChildren()) do
5811
if v:IsA("Part") then
5812
v.BrickColor = BrickColor.new("Pastel light blue")
5813
v.Material = "Glass"
5814
end
5815
end
5816
for i, v in pairs(m3:GetChildren()) do
5817
if v:IsA("Part") then
5818
v.BrickColor = BrickColor.new("Toothpaste")
5819
v.Material = "Neon"
5820
end
5821
end
5822
for i, v in pairs(extrawingmod1:GetChildren()) do
5823
if v:IsA("Part") then
5824
v.Transparency = 1
5825
v.BrickColor = BrickColor.new("White")
5826
v.Material = "Neon"
5827
end
5828
end
5829
for i, v in pairs(extrawingmod2:GetChildren()) do
5830
if v:IsA("Part") then
5831
v.Transparency = 1
5832
v.BrickColor = BrickColor.new("White")
5833
v.Material = "Neon"
5834
end
5835
end
5836
elseif k == "q" and attack == false and ModeOfGlitch == 2 then
5837
resetmode()
5838
end
5839
if k == "f" and attack == false and ModeOfGlitch ~= 69 then
5840
lustmode()
5841
elseif k == "f" and attack == false and ModeOfGlitch == 69 then
5842
resetmode()
5843
end
5844
if k == "m" and attack == false and ModeOfGlitch == 1 then
5845
    RiddleMeThisRiddleMeThat()
5846
elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
5847
    resetmode()
5848
end
5849
if k == "e" and attack == false and ModeOfGlitch ~= 3 then
5850
               ModeOfGlitch = 3
5851
storehumanoidWS = 16
5852
hum.WalkSpeed = 16
5853
rainbowmode = false
5854
chaosmode = false
5855
glitchymode = true
5856
tl1.Enabled = true
5857
tl2.Enabled = true
5858
tl3.Enabled = true
5859
RecolorTextAndRename("gLiTcHy",Color3.new(0,0,0),Color3.new(0.35,0,1))
5860
newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
5861
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
5862
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
5863
MAINRUINCOLOR = BrickColor.new("White")
5864
for i, v in pairs(mw2:GetChildren()) do
5865
if v:IsA("Part") then
5866
v.BrickColor = MAINRUINCOLOR
5867
v.Material = "Neon"
5868
end
5869
end
5870
for i, v in pairs(mw1:GetChildren()) do
5871
if v:IsA("Part") then
5872
v.Transparency = 0
5873
v.BrickColor = MAINRUINCOLOR
5874
v.Material = "Neon"
5875
end
5876
end
5877
for i, v in pairs(m:GetChildren()) do
5878
if v:IsA("Part") then
5879
v.BrickColor = BrickColor.new("Really black")
5880
v.Material = "Ice"
5881
end
5882
end
5883
for i, v in pairs(m2:GetChildren()) do
5884
if v:IsA("Part") then
5885
v.BrickColor = BrickColor.new("Dark indigo")
5886
v.Material = "Glass"
5887
end
5888
end
5889
for i, v in pairs(m3:GetChildren()) do
5890
if v:IsA("Part") then
5891
v.Transparency = 1
5892
v.BrickColor = BrickColor.new("Royal purple")
5893
v.Material = "Neon"
5894
end
5895
end
5896
for i, v in pairs(extrawingmod1:GetChildren()) do
5897
if v:IsA("Part") then
5898
v.Transparency = 1
5899
v.BrickColor = BrickColor.new("White")
5900
v.Material = "Neon"
5901
end
5902
end
5903
for i, v in pairs(extrawingmod2:GetChildren()) do
5904
if v:IsA("Part") then
5905
v.Transparency = 1
5906
v.BrickColor = BrickColor.new("White")
5907
v.Material = "Neon"
5908
end
5909
end
5910
elseif k == "e" and attack == false and ModeOfGlitch == 3 then
5911
resetmode()
5912
end
5913
if k == "r" and attack == false and ModeOfGlitch ~= 4 then
5914
               ModeOfGlitch = 4
5915
storehumanoidWS = 16
5916
hum.WalkSpeed = 16
5917
rainbowmode = false
5918
glitchymode = false
5919
chaosmode = true
5920
tl1.Enabled = true
5921
tl2.Enabled = true
5922
tl3.Enabled = true
5923
RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color)
5924
newTheme("rbxassetid://1369263130",0,1,1)
5925
MAINRUINCOLOR = BrickColor.new("Black")
5926
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5927
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5928
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
5929
for i, v in pairs(mw2:GetChildren()) do
5930
if v:IsA("Part") then
5931
v.BrickColor = MAINRUINCOLOR
5932
v.Material = "Neon"
5933
end
5934
end
5935
for i, v in pairs(mw1:GetChildren()) do
5936
if v:IsA("Part") then
5937
v.Transparency = 0.75
5938
v.BrickColor = BrickColor.random()
5939
v.Material = "Neon"
5940
end
5941
end
5942
for i, v in pairs(m:GetChildren()) do
5943
if v:IsA("Part") then
5944
v.BrickColor = BrickColor.new("Black")
5945
v.Material = "Neon"
5946
end
5947
end
5948
for i, v in pairs(m2:GetChildren()) do
5949
if v:IsA("Part") then
5950
v.BrickColor = BrickColor.random()
5951
v.Material = "Neon"
5952
end
5953
end
5954
for i, v in pairs(m3:GetChildren()) do
5955
if v:IsA("Part") then
5956
v.BrickColor = BrickColor.new("Black")
5957
v.Material = "Neon"
5958
end
5959
end
5960
for i, v in pairs(extrawingmod1:GetChildren()) do
5961
if v:IsA("Part") then
5962
v.Transparency = 1
5963
v.BrickColor = BrickColor.new("White")
5964
v.Material = "Neon"
5965
end
5966
end
5967
for i, v in pairs(extrawingmod2:GetChildren()) do
5968
if v:IsA("Part") then
5969
v.Transparency = 1
5970
v.BrickColor = BrickColor.new("White")
5971
v.Material = "Neon"
5972
end
5973
end
5974
elseif k == "r" and attack == false and ModeOfGlitch == 4 then
5975
resetmode()
5976
end
5977
 
5978
if k == "m" and attack == false and ModeOfGlitch == 4 then
5979
insanitymode()
5980
elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
5981
resetmode()
5982
end
5983
if k == "t" and attack == false and ModeOfGlitch ~= 5 then
5984
               ModeOfGlitch = 5
5985
storehumanoidWS = 16
5986
hum.WalkSpeed = 16
5987
rainbowmode = false
5988
chaosmode = false
5989
glitchymode = false
5990
tl1.Enabled = true
5991
tl2.Enabled = true
5992
tl3.Enabled = true
5993
RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(1,1,0.5))
5994
newTheme("rbxassetid://661079869",0,1.02,1)
5995
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
5996
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
5997
MAINRUINCOLOR = BrickColor.new("Bright yellow")
5998
for i, v in pairs(mw2:GetChildren()) do
5999
if v:IsA("Part") then
6000
v.BrickColor = MAINRUINCOLOR
6001
v.Material = "Neon"
6002
end
6003
end
6004
for i, v in pairs(mw1:GetChildren()) do
6005
if v:IsA("Part") then
6006
v.Transparency = 0
6007
v.BrickColor = MAINRUINCOLOR
6008
v.Material = "Neon"
6009
end
6010
end
6011
for i, v in pairs(m:GetChildren()) do
6012
if v:IsA("Part") then
6013
v.BrickColor = BrickColor.new("Cool yellow")
6014
v.Material = "Ice"
6015
end
6016
end
6017
for i, v in pairs(m2:GetChildren()) do
6018
if v:IsA("Part") then
6019
v.BrickColor = BrickColor.new("Bright yellow")
6020
v.Material = "Ice"
6021
end
6022
end
6023
for i, v in pairs(m3:GetChildren()) do
6024
if v:IsA("Part") then
6025
v.BrickColor = BrickColor.new("Bright yellow")
6026
v.Material = "Neon"
6027
end
6028
end
6029
for i, v in pairs(extrawingmod1:GetChildren()) do
6030
if v:IsA("Part") then
6031
v.Transparency = 1
6032
v.BrickColor = BrickColor.new("White")
6033
v.Material = "Neon"
6034
end
6035
end
6036
for i, v in pairs(extrawingmod2:GetChildren()) do
6037
if v:IsA("Part") then
6038
v.Transparency = 1
6039
v.BrickColor = BrickColor.new("White")
6040
v.Material = "Neon"
6041
end
6042
end
6043
elseif k == "t" and attack == false and ModeOfGlitch == 5 then
6044
resetmode()
6045
end
6046
if k == "y" and attack == false and ModeOfGlitch ~= 6 then
6047
               ModeOfGlitch = 6
6048
storehumanoidWS = 75
6049
hum.WalkSpeed = 75
6050
rainbowmode = false
6051
chaosmode = false
6052
glitchymode = false
6053
tl1.Enabled = true
6054
tl2.Enabled = true
6055
tl3.Enabled = true
6056
RecolorTextAndRename("Justice",Color3.new(0,0,0),Color3.new(1,1,1))
6057
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
6058
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
6059
newTheme("rbxassetid://1102271169",0,1,1)
6060
MAINRUINCOLOR = BrickColor.new("White")
6061
for i, v in pairs(mw2:GetChildren()) do
6062
if v:IsA("Part") then
6063
v.BrickColor = MAINRUINCOLOR
6064
v.Material = "Neon"
6065
end
6066
end
6067
for i, v in pairs(mw1:GetChildren()) do
6068
if v:IsA("Part") then
6069
v.Transparency = 0
6070
v.BrickColor = MAINRUINCOLOR
6071
v.Material = "Neon"
6072
end
6073
end
6074
for i, v in pairs(m:GetChildren()) do
6075
if v:IsA("Part") then
6076
v.BrickColor = BrickColor.new("White")
6077
v.Material = "Ice"
6078
end
6079
end
6080
for i, v in pairs(m2:GetChildren()) do
6081
if v:IsA("Part") then
6082
v.BrickColor = BrickColor.new("White")
6083
v.Material = "Ice"
6084
end
6085
end
6086
for i, v in pairs(m3:GetChildren()) do
6087
if v:IsA("Part") then
6088
v.BrickColor = BrickColor.new("White")
6089
v.Material = "Neon"
6090
end
6091
end
6092
for i, v in pairs(extrawingmod1:GetChildren()) do
6093
if v:IsA("Part") then
6094
v.Transparency = 1
6095
v.BrickColor = BrickColor.new("White")
6096
v.Material = "Neon"
6097
end
6098
end
6099
for i, v in pairs(extrawingmod2:GetChildren()) do
6100
if v:IsA("Part") then
6101
v.Transparency = 1
6102
v.BrickColor = BrickColor.new("White")
6103
v.Material = "Neon"
6104
end
6105
end
6106
elseif k == "y" and attack == false and ModeOfGlitch == 6 then
6107
resetmode()
6108
end
6109
if k == "u" and attack == false then
6110
 
6111
storehumanoidWS = 50
6112
hum.WalkSpeed = 50
6113
rainbowmode = true
6114
chaosmode = false
6115
glitchymode = false
6116
tl1.Enabled = true
6117
tl2.Enabled = true
6118
tl3.Enabled = true
6119
 
6120
if(ModeOfGlitch == 6127843)then
6121
    vaporwave = not vaporwave
6122
end
6123
 
6124
if(not vaporwave)then
6125
RecolorTextAndRename("RAINBOW",Color3.new(1,1,1),Color3.new(1,1,1))
6126
newTheme("rbxassetid://147930134",0,1,1)
6127
else
6128
RecolorTextAndRename("Vaporwave",Color3.new(1,1,1),Color3.new(1,1,1))
6129
newTheme("rbxassetid://1308711379",0,1,1)  
6130
end
6131
 
6132
 
6133
               ModeOfGlitch = 6127843
6134
MAINRUINCOLOR = BrickColor.new("White")
6135
for i, v in pairs(mw2:GetChildren()) do
6136
if v:IsA("Part") then
6137
v.BrickColor = MAINRUINCOLOR
6138
v.Material = "Neon"
6139
end
6140
end
6141
for i, v in pairs(mw1:GetChildren()) do
6142
if v:IsA("Part") then
6143
v.Transparency = 0
6144
v.BrickColor = MAINRUINCOLOR
6145
v.Material = "Neon"
6146
end
6147
end
6148
for i, v in pairs(m:GetChildren()) do
6149
if v:IsA("Part") then
6150
v.BrickColor = BrickColor.new("White")
6151
v.Material = "Neon"
6152
end
6153
end
6154
for i, v in pairs(m2:GetChildren()) do
6155
if v:IsA("Part") then
6156
v.BrickColor = BrickColor.new("White")
6157
v.Material = "Neon"
6158
end
6159
end
6160
for i, v in pairs(m3:GetChildren()) do
6161
if v:IsA("Part") then
6162
v.BrickColor = BrickColor.new("White")
6163
v.Material = "Neon"
6164
end
6165
end
6166
for i, v in pairs(extrawingmod1:GetChildren()) do
6167
if v:IsA("Part") then
6168
v.Transparency = 1
6169
v.BrickColor = BrickColor.new("White")
6170
v.Material = "Neon"
6171
end
6172
end
6173
for i, v in pairs(extrawingmod2:GetChildren()) do
6174
if v:IsA("Part") then
6175
v.Transparency = 1
6176
v.BrickColor = BrickColor.new("White")
6177
v.Material = "Neon"
6178
end
6179
end
6180
elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
6181
resetmode()
6182
end
6183
if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
6184
               ModeOfGlitch = 1000000
6185
storehumanoidWS = 100
6186
hum.WalkSpeed = 100
6187
rainbowmode = false
6188
chaosmode = false
6189
glitchymode = false
6190
tl1.Enabled = true
6191
tl2.Enabled = true
6192
tl3.Enabled = true
6193
RecolorTextAndRename("CALAMITY",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
6194
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Bright violet' end)
6195
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Bright violet' end)
6196
newTheme("rbxassetid://1359036559",0,1,1)
6197
MAINRUINCOLOR = BrickColor.new("Bright violet")
6198
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6199
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6200
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6201
for i, v in pairs(mw2:GetChildren()) do
6202
if v:IsA("Part") then
6203
v.BrickColor = MAINRUINCOLOR
6204
v.Material = "Neon"
6205
end
6206
end
6207
for i, v in pairs(mw1:GetChildren()) do
6208
if v:IsA("Part") then
6209
v.Transparency = 0
6210
v.BrickColor = MAINRUINCOLOR
6211
v.Material = "Neon"
6212
end
6213
end
6214
for i, v in pairs(m:GetChildren()) do
6215
if v:IsA("Part") then
6216
v.Color = Color3.new(0.5,0,1)
6217
v.Material = "Neon"
6218
end
6219
end
6220
for i, v in pairs(m2:GetChildren()) do
6221
if v:IsA("Part") then
6222
v.Color = Color3.new(0.25,0,1)
6223
v.Material = "Neon"
6224
end
6225
end
6226
for i, v in pairs(m3:GetChildren()) do
6227
if v:IsA("Part") then
6228
v.Color = Color3.new(0.45,0,1)
6229
v.Material = "Neon"
6230
end
6231
end
6232
for i, v in pairs(extrawingmod1:GetChildren()) do
6233
if v:IsA("Part") then
6234
v.Transparency = 0.75
6235
v.Color = Color3.new(0.25,0,1)
6236
v.Material = "Neon"
6237
end
6238
end
6239
for i, v in pairs(extrawingmod2:GetChildren()) do
6240
if v:IsA("Part") then
6241
v.Transparency = 0.75
6242
v.Color = Color3.new(0.5,0,1)
6243
v.Material = "Neon"
6244
end
6245
end
6246
elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
6247
resetmode()
6248
end
6249
if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
6250
newThemeCust("rbxassetid://1504604335",0,1,1)
6251
attack = true
6252
hum.WalkSpeed = 0
6253
MAINRUINCOLOR = BrickColor.new("Royal purple")
6254
for i = 0, 24, 0.1 do
6255
swait()
6256
sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
6257
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)
6258
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)
6259
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)
6260
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6261
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)
6262
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)
6263
end
6264
CameraEnshaking(1,1)
6265
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6266
CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
6267
wait(0.55)
6268
CameraEnshaking(1,2)
6269
sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6270
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6271
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6272
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
6273
wait(0.55)
6274
CameraEnshaking(1,3)
6275
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
6276
sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6277
sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6278
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6279
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6280
CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
6281
wait(0.55)
6282
CameraEnshaking(10,5)
6283
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
6284
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
6285
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
6286
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
6287
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
6288
sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
6289
sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
6290
sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
6291
sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
6292
sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6293
sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
6294
sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
6295
sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
6296
sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
6297
sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
6298
for i = 0, 49 do
6299
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)
6300
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)
6301
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)
6302
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)
6303
end
6304
ModeOfGlitch = 12345678987654321
6305
storehumanoidWS = 200
6306
hum.WalkSpeed = 200
6307
rainbowmode = false
6308
chaosmode = false
6309
glitchymode = false
6310
tl1.Enabled = true
6311
tl2.Enabled = true
6312
tl3.Enabled = true
6313
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Dark indigo' end)
6314
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Dark indigo' end)
6315
RecolorTextAndRename("CATASTROPHE",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
6316
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6317
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6318
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6319
for i, v in pairs(mw2:GetChildren()) do
6320
if v:IsA("Part") then
6321
v.BrickColor = MAINRUINCOLOR
6322
v.Material = "Neon"
6323
end
6324
end
6325
for i, v in pairs(mw1:GetChildren()) do
6326
if v:IsA("Part") then
6327
v.Transparency = 0
6328
v.BrickColor = MAINRUINCOLOR
6329
v.Material = "Neon"
6330
end
6331
end
6332
for i, v in pairs(m:GetChildren()) do
6333
if v:IsA("Part") then
6334
v.Color = Color3.new(0.5,0,1)
6335
v.Material = "Neon"
6336
end
6337
end
6338
for i, v in pairs(m2:GetChildren()) do
6339
if v:IsA("Part") then
6340
v.Color = Color3.new(0.5,0,1)
6341
v.Material = "Neon"
6342
end
6343
end
6344
for i, v in pairs(m3:GetChildren()) do
6345
if v:IsA("Part") then
6346
v.Color = Color3.new(0.5,0,1)
6347
v.Material = "Neon"
6348
end
6349
end
6350
for i, v in pairs(extrawingmod1:GetChildren()) do
6351
if v:IsA("Part") then
6352
v.Transparency = 0
6353
v.Color = Color3.new(0.5,0,1)
6354
v.Material = "Neon"
6355
end
6356
end
6357
for i, v in pairs(extrawingmod2:GetChildren()) do
6358
if v:IsA("Part") then
6359
v.Transparency = 0
6360
v.Color = Color3.new(0.5,0,1)
6361
v.Material = "Neon"
6362
end
6363
attack = false
6364
end
6365
elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
6366
resetmode()
6367
end
6368
if k == "l" and toggleTag == false then
6369
toggleTag = true
6370
text.TextTransparency = 0
6371
text.TextStrokeTransparency = 0
6372
elseif k == "l" and toggleTag == true then
6373
toggleTag = false
6374
text.TextTransparency = 1
6375
text.TextStrokeTransparency = 1
6376
end
6377
if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
6378
ExtinctiveHeartbreak()
6379
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
6380
PureBomb()
6381
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
6382
scattercorrupt()
6383
elseif k == "z" and attack == false and ModeOfGlitch == 5 then
6384
Judgement()
6385
elseif k == "z" and attack == false and ModeOfGlitch == 4 then
6386
ChaosGroundStrike()
6387
elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
6388
InsaneGroundStrike()
6389
 
6390
elseif k == "z" and attack == false and ModeOfGlitch == 69 then
6391
    ChooseODer()
6392
elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
6393
Starfall()
6394
elseif k == "z" and attack == false and ModeOfGlitch == 6 then
6395
yinyangi()
6396
elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
6397
Wip()
6398
elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
6399
StarfallEX()
6400
end
6401
if k == "x" and attack == false and ModeOfGlitch == 1000000 then
6402
StarDivision()
6403
elseif k == "x" and attack == false and ModeOfGlitch == 6 then
6404
JusticeBeam()
6405
end
6406
if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
6407
UniversalCollapse()
6408
end
6409
if k == "b" and attack == false and ModeOfGlitch == 4 then
6410
 
6411
end
6412
if k == "n" and attack == false then
6413
CorruptBlink()
6414
end
6415
if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
6416
FuckMeSidewaysAndCallMeGay()
6417
end
6418
end)
6419
coroutine.resume(coroutine.create(function()
6420
while true do
6421
swait(2)
6422
if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
6423
sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
6424
end
6425
 
6426
end
6427
end))
6428
 
6429
 
6430
coroutine.resume(coroutine.create(function()
6431
while true do
6432
if ModeOfGlitch == 1000000 then
6433
swait(0.5)
6434
end
6435
swait()
6436
if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
6437
sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
6438
end
6439
if ModeOfGlitch == 12345678987654321 then
6440
sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
6441
end
6442
end
6443
end))
6444
 
6445
 
6446
function RandomMaterial()
6447
    local getRandom;
6448
    local material;
6449
    local function IsTerrainMaterial(mat)
6450
        local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
6451
        return isMaterial
6452
    end
6453
    getRandom = function()
6454
        local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
6455
        if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
6456
    end
6457
    getRandom()
6458
    repeat wait() until material
6459
    return material
6460
end
6461
function RandomCaps(str)
6462
    local new = ""
6463
    for i = 1, #str do
6464
        if(math.random(1,2) == 1)then
6465
            new = new .. (str:sub(i,i):upper())
6466
        else
6467
            new = new .. str:sub(i,i)
6468
        end
6469
    end
6470
    return new
6471
end
6472
 
6473
coroutine.resume(coroutine.create(function()
6474
while true do
6475
for i = 1, #ODers do
6476
    local ODer = ODers[i]
6477
    if(ODer)then
6478
        local hed = ODer:FindFirstChild'Head'
6479
        if(ODer.Parent and hed)then
6480
            sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
6481
        else
6482
            table.remove(ODers,i)
6483
        end
6484
    else
6485
        table.remove(ODers,i)
6486
    end
6487
end
6488
if(not kan)then
6489
    kan = Instance.new("Sound",char)
6490
end
6491
kan.Parent = char
6492
if(plr.UserId == 5719877)then kan.Volume = 3 else  kan.Volume = 1 end
6493
kan.Pitch = Pitch
6494
kan.SoundId = MID
6495
kan.Name = "wrecked"
6496
kan.Looped = true
6497
kan:Resume()
6498
swait()
6499
if glitchymode == true then
6500
    local val = math.random(1,255)
6501
    local color = Color3.fromRGB(val,val,val)
6502
    pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
6503
    pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
6504
    tl1.Color = ColorSequence.new(color)
6505
    tl2.Color = ColorSequence.new(color)
6506
    tl3.Color = ColorSequence.new(color)
6507
    tr1.Color = ColorSequence.new(color)
6508
    tr2.Color = ColorSequence.new(color)
6509
    tr3.Color = ColorSequence.new(color)
6510
    for i, v in pairs(mw1:GetChildren()) do
6511
    if v:IsA("Part") then
6512
    v.Transparency = 0
6513
    v.Color = color
6514
    v.Material = "Neon"
6515
    end
6516
    end
6517
    for i, v in pairs(mw2:GetChildren()) do
6518
    if v:IsA("Part") then
6519
    v.Color = color
6520
    v.Material = "Neon"
6521
    end
6522
    end
6523
    for i, v in pairs(m2:GetChildren()) do
6524
    if v:IsA("Part") then
6525
    v.Color = color
6526
    v.Material = "Neon"
6527
    end
6528
    end
6529
    RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"glitchy"),Color3.new(0,0,0),color)
6530
end
6531
if chaosmode or glitchymode then
6532
    pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
6533
    pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
6534
else
6535
    pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
6536
    pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
6537
end
6538
if chaosmode == true then
6539
tl1.Color = ColorSequence.new(BrickColor.random().Color)
6540
tl2.Color = ColorSequence.new(BrickColor.random().Color)
6541
tl3.Color = ColorSequence.new(BrickColor.random().Color)
6542
RecolorTextAndRename((ModeOfGlitch == 666666 and "INSANITY" or "CHAOS"),Color3.new(0,0,0),BrickColor.random().Color)
6543
pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
6544
pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
6545
for i, v in pairs(mw1:GetChildren()) do
6546
if v:IsA("Part") then
6547
v.Transparency = 0.75
6548
v.BrickColor = BrickColor.random()
6549
v.Material = "Neon"
6550
end
6551
end
6552
for i, v in pairs(extrawingmod1:GetChildren()) do
6553
if v:IsA("Part") and ModeOfGlitch == 666666 then
6554
v.Transparency = 0.75
6555
v.BrickColor = BrickColor.random()
6556
v.Material = "Neon"
6557
elseif v:IsA("Part") then
6558
v.Transparency = 1
6559
end
6560
end
6561
for i, v in pairs(m2:GetChildren()) do
6562
if v:IsA("Part") then
6563
v.BrickColor = BrickColor.random()
6564
v.Material = "Neon"
6565
end
6566
end
6567
end
6568
end
6569
end))
6570
Humanoid.Name = "STARGLITCHER"
6571
Humanoid.MaxHealth = math.huge
6572
Humanoid.Health = math.huge
6573
Instance.new("ForceField",char).Visible = false
6574
Humanoid.Animator.Parent = nil
6575
idleanim=.4
6576
while true do
6577
if rainbowmode == false and chaosmode == false and glitchymode == false then
6578
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6579
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6580
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6581
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6582
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6583
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6584
end
6585
if rainbowmode == true then
6586
pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
6587
pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
6588
if(not vaporwave)then
6589
    RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
6590
else
6591
    RecolorTextAndRename("Vaporwave",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
6592
end
6593
MAINRUINCOLOR = BrickColor.new("White")
6594
tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6595
tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6596
tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6597
tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6598
tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6599
tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
6600
for i, v in pairs(m:GetChildren()) do
6601
if v:IsA("Part") then
6602
v.Color = Color3.new(r/255,g/255,b/255)
6603
end
6604
end
6605
for i, v in pairs(m2:GetChildren()) do
6606
if v:IsA("Part") then
6607
v.Color = Color3.new(r/255,g/255,b/255)
6608
end
6609
end
6610
for i, v in pairs(m3:GetChildren()) do
6611
if v:IsA("Part") then
6612
v.Color = Color3.new(r/255,g/255,b/255)
6613
end
6614
end
6615
for i, v in pairs(mw1:GetChildren()) do
6616
if v:IsA("Part") then
6617
v.Color = Color3.new(r/255,g/255,b/255)
6618
v.Material = "Neon"
6619
end
6620
end
6621
for i, v in pairs(mw2:GetChildren()) do
6622
if v:IsA("Part") then
6623
v.Color = Color3.new(r/255,g/255,b/255)
6624
v.Material = "Neon"
6625
end
6626
end
6627
end
6628
CameraManager()
6629
swait()
6630
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)
6631
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)
6632
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)
6633
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)
6634
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)
6635
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)
6636
 
6637
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)
6638
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)
6639
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)
6640
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)
6641
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)
6642
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)
6643
  sine = sine + change
6644
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
6645
local velderp=RootPart.Velocity.y
6646
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
6647
if equipped==true or equipped==false then
6648
if attack==false then
6649
idle=idle+1
6650
else
6651
idle=0
6652
end
6653
if idle>=500 then
6654
if attack==false then
6655
--Sheath()
6656
end
6657
end
6658
if RootPart.Velocity.y > 1 and hitfloor==nil then
6659
Anim="Jump"
6660
if attack==false then
6661
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(-20)),.1)
6662
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)
6663
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)
6664
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
6665
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)
6666
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)
6667
end
6668
elseif RootPart.Velocity.y < -1 and hitfloor==nil then
6669
Anim="Fall"
6670
if attack==false then
6671
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(-20)),.1)
6672
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)
6673
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
6674
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
6675
RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
6676
LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
6677
end
6678
elseif torvel<1 and hitfloor~=nil then
6679
Anim="Idle"
6680
if attack==false then
6681
if ModeOfGlitch == 1 then
6682
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)
6683
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)
6684
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)
6685
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
6686
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
6687
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
6688
 
6689
elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
6690
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
6691
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)
6692
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)
6693
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
6694
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
6695
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
6696
 
6697
elseif ModeOfGlitch == 3 then
6698
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)
6699
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
6700
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
6701
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
6702
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
6703
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
6704
elseif ModeOfGlitch == 4 then
6705
RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
6706
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
6707
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6708
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
6709
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
6710
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
6711
elseif ModeOfGlitch == 69 then
6712
RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
6713
Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
6714
LH.C0 = LH.C0:lerp(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)
6715
RH.C0 = RH.C0:lerp(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)
6716
LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
6717
RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
6718
elseif ModeOfGlitch == 8376532578634534 then
6719
RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
6720
LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
6721
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)  
6722
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
6723
RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
6724
LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
6725
       
6726
elseif ModeOfGlitch == 666666 then
6727
RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(20)),.1)
6728
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-20)),.1)
6729
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6730
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6731
RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6732
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6733
 
6734
elseif ModeOfGlitch == 5 then
6735
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)
6736
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)
6737
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)
6738
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)
6739
RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
6740
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)
6741
 
6742
elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
6743
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)
6744
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)
6745
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
6746
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
6747
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
6748
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
6749
 
6750
elseif ModeOfGlitch == 12345678987654321 then
6751
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)
6752
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)
6753
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
6754
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
6755
RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
6756
LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
6757
end
6758
end
6759
elseif torvel>2 and torvel<22 and hitfloor~=nil then
6760
Anim="Walk"
6761
if attack==false then
6762
if ModeOfGlitch == 1 then
6763
RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
6764
LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
6765
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
6766
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6767
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
6768
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
6769
elseif ModeOfGlitch == 4 then
6770
RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
6771
LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
6772
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
6773
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
6774
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
6775
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
6776
elseif ModeOfGlitch == 666666 then
6777
RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
6778
LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
6779
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
6780
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6781
RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6782
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6783
 
6784
elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
6785
RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
6786
LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
6787
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
6788
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
6789
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
6790
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
6791
end
6792
end
6793
elseif torvel>=22 and hitfloor~=nil then
6794
Anim="Run"
6795
if attack==false then
6796
if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
6797
RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
6798
LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
6799
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
6800
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
6801
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
6802
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
6803
elseif ModeOfGlitch == 666666 then
6804
RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*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)
6805
LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*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)
6806
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
6807
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6808
RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6809
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
6810
 
6811
elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
6812
RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
6813
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
6814
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
6815
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
6816
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
6817
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
6818
end
6819
end
6820
end
6821
end
6822
end