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