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