View difference between Paste ID: c0Jih9HN and mShZCQEe
SHOW: | | - or go back to the newest paste.
1-
--TODO: add comments or something idk
1+
						
2-
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2+
warn([[SpectrumGlitcher v2 Loaded.
3-
local Player = owner
3+
All purpose switcher... -- wat
4-
local Mouse,mouse,UserInputService,ContextActionService
4+
5-
do
5+
############################
6-
	script.Parent = Player.Character
6+
Discord: SpectrumEeveez#2356
7-
	local CAS = {Actions={}}
7+
Contact Me For Updates!
8-
	local Event = Instance.new("RemoteEvent")
8+
############################
9-
	Event.Name = "UserInput_Event"
9+
10-
	Event.Parent = Player.Character
10+
Created by 'NoobyGames12'
11-
	local fakeEvent = function()
11+
Edited by 'GodzPlaysRB'
12-
		local t = {_fakeEvent=true}
12+
]])
13-
		t.Connect = function(self,f)self.Function=f end
13+
print([[Icons:
14-
		t.connect = t.Connect
14+
! = New
15-
		return t
15+
? = Spoilers
16
* = Exclusivity
17-
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
17+
]])
18-
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
18+
warn([[V 3.3.1 (ON PROGRESS) Update Log:
19-
	function CAS:BindAction(name,fun,touch,...)
19+
* New Mode (On Divinity upon pressing M)
20-
		CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
20+
! Recolors and Retexts
21
? Text Shows up when entering Hatred Mode
22-
	function CAS:UnbindAction(name)
22+
* Equality is back!!!
23-
		CAS.Actions[name] = nil
23+
* New! Hope mode upon pressing G (2 moves)
24
- Hope Smash "Z"
25-
	local function te(self,ev,...)
25+
- Glitch "C"
26-
		local t = m[ev]
26+
! New Mode on PHANTOM pressing "x"
27-
		if t and t._fakeEvent and t.Function then
27+
SORRY I NERFED IT :-;
28-
			t.Function(...)
28+
Only special peeps get the newer ones
29
And some people that trade.
30
Sorry this is the last one im giving out.
31-
	m.TrigEvent = te
31+
32-
	UIS.TrigEvent = te
32+
I'd like if you wouldnt remove my or NoobyGames's credit, thanks alot ;).
33-
	Event.OnServerEvent:Connect(function(plr,io)
33+
But Further i do!
34-
	    if plr~=Player then return end
34+
I may present!
35-
		if io.isMouse then
35+
SpectrumGlitcher v2
36-
			m.Target = io.Target
36+
]])
37-
			m.Hit = io.Hit
37+
--- its obs smooth af do not touch 
38-
		elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
38+
---- Sources and functions might be taken from others
39-
	        if io.UserInputState == Enum.UserInputState.Begin then
39+
plr = game:GetService("Players").Diamond_Nicholas
40-
				m:TrigEvent("Button1Down")
40+
41
hum = char.Humanoid
42-
				m:TrigEvent("Button1Up")
42+
43
local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
44
Camera = cam
45-
			for n,t in pairs(CAS.Actions) do
45+
46-
				for _,k in pairs(t.Keys) do
46+
47-
					if k==io.KeyCode then
47+
48-
						t.Function(t.Name,io.UserInputState,io)
48+
49
t = char.Torso
50
h = char.Head
51
ra = char["Right Arm"]
52-
	        if io.UserInputState == Enum.UserInputState.Begin then
52+
53-
	            m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
53+
54-
				UIS:TrigEvent("InputBegan",io,false)
54+
55
tors = char.Torso
56-
				m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
56+
57-
				UIS:TrigEvent("InputEnded",io,false)
57+
58-
	        end
58+
59-
	    end
59+
60
rarm = char["Right Arm"]
61-
	NLS([==[
61+
62-
	local Player = game:GetService("Players").LocalPlayer
62+
63
random = math.random
64-
	local Char = Player.Character
64+
65-
	local Event = Char:WaitForChild("UserInput_Event")
65+
66
cFrame = CFrame.new
67-
	local UIS = game:GetService("UserInputService")
67+
68
vt = Vector3.new
69-
	local input = function(io,a)
69+
70-
	    if a then return end
70+
71-
		local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
71+
72-
		Event:FireServer(io)
72+
73
local eff = true
74-
	UIS.InputBegan:Connect(input)
74+
local shielding = false
75-
	UIS.InputEnded:Connect(input)
75+
local char = plr.Character
76-
	local Changed = false
76+
local hum = char:FindFirstChildOfClass'Humanoid'
77-
	local Mouse = Player:GetMouse()
77+
local hed = char.Head
78-
	local h,t = Mouse.Hit,Mouse.Target
78+
local root = char:FindFirstChild'HumanoidRootPart'
79-
	while wait(1/30) do
79+
local rootj = root.RootJoint
80-
		if h~=Mouse.Hit or t~=Mouse.Target then
80+
local tors = char.Torso
81-
			Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
81+
local ra = char["Right Arm"]
82-
            h,t=Mouse.Hit,Mouse.Target
82+
local la = char["Left Arm"]
83
local rl = char["Right Leg"]
84
local ll = char["Left Leg"]
85-
	]==],Player.Character)
85+
local neck = tors["Neck"]
86-
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
86+
local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
87
local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
88-
if game.PlaceId == 843468296 then
88+
local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
89-
error("This script has been banned. You cannot use it here. Please use Place 2.")
89+
local maincolor = MAINRUINCOLOR
90
cam = game.Workspace.CurrentCamera
91-
plr = owner
91+
CF = CFrame.new
92
angles = CFrame.Angles
93
attack = false
94
Euler = CFrame.fromEulerAnglesXYZ
95
Rad = math.rad
96
IT = Instance.new
97
BrickC = BrickColor.new
98
Cos = math.cos
99
Acos = math.acos
100
Sin = math.sin
101
Asin = math.asin
102
Abs = math.abs
103
Mrandom = math.random
104
Floor = math.floor
105
IT = Instance.new
106
CF = CFrame.new
107
VT = Vector3.new
108
RAD = math.rad
109
C3 = Color3.new
110
UD2 = UDim2.new
111
BRICKC = BrickColor.new
112
ANGLES = CFrame.Angles
113
EULER = CFrame.fromEulerAnglesXYZ
114
COS = math.cos
115
ACOS = math.acos
116
SIN = math.sin
117
ASIN = math.asin
118
ABS = math.abs
119
MRANDOM = math.random
120
FLOOR = math.floor
121
local RWINGS = {}
122
local LWINGS = {}
123
local GunPoint
124
Player_Size = 1
125
126
for i,v in pairs(char:children()) do
127
if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
128
v:Remove()
129
end
130
end
131
shirt = Instance.new("Shirt", char)
132
shirt.Name = "Shirt"
133
pants = Instance.new("Pants", char)
134
pants.Name = "Pants"
135
char.Shirt.ShirtTemplate = "rbxassetid://62300690"
136
char.Pants.PantsTemplate = "rbxassetid://179766142"
137
138
local Booleans = {
139
  CamFollow = true,
140
  GyroUse = true
141
}
142
143
function lerp(object, newCFrame, alpha)
144-
local chaosmode = false
144+
145
end
146-
local kan = Instance.new("Sound",char)
146+
147
local Directer = Inst("BodyGyro", root)
148
Directer.MaxTorque = Vec3(0, 0, 0)
149
Directer.P = 600000
150
local CPart = Inst("Part")
151
CPart.Anchored = true
152
CPart.CanCollide = false
153
CPart.Locked = true
154
CPart.Transparency = 1
155
156-
local currentThemePlaying = kan.SoundId
156+
157-
local currentPitch = kan.Pitch
157+
local MALFUNCTIONmode = false
158-
local currentVol = kan.Volume
158+
159
kan = Instance.new("Sound",char)
160
kan.Volume = 1.25
161
kan.TimePosition = 0
162
kan.PlaybackSpeed = 1
163
kan.Pitch = 1
164
kan.SoundId = "rbxassetid://614032233"
165
kan.Name = "wrecked"
166
kan.Looped = true
167
kan:Play()
168
169-
currentThemePlaying = kanz.SoundId
169+
function Cso(ID, PARENT, VOLUME, PITCH)
170-
currentVol = kanz.Volume
170+
	local NSound = nil
171-
currentPitch = kanz.Pitch
171+
172
		NSound = IT("Sound", PARENT)
173
		NSound.Volume = VOLUME
174
		NSound.Pitch = PITCH
175
		NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
176
		swait()
177
		NSound:play()
178
		game:GetService("Debris"):AddItem(NSound, 10)
179
	end))
180
	return NSound
181
end
182
183
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
184
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
185
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
186
	wave.CFrame = CFRAME
187
	coroutine.resume(coroutine.create(function(PART)
188
		for i = 1, WAIT do
189-
currentThemePlaying = kanz.SoundId
189+
			Swait()
190-
currentVol = kanz.Volume
190+
			mesh.Scale = mesh.Scale + GROW
191-
currentPitch = kanz.Pitch
191+
			wave.Transparency = wave.Transparency + 1 / WAIT
192
			if wave.Transparency > 0.99 then
193
				wave:remove()
194
			end
195
		end
196
	end))
197
end
198-
local mutedtog = false
198+
199
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
200-
function IdolsWarn(text,represfont,color,color2)
200+
	return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
201-
	if disably ~= true then
201+
202-
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
202+
203-
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
203+
function PositiveAngle(NUMBER)
204-
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
204+
	if NUMBER >= 0 then
205
		NUMBER = 0
206-
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
206+
207-
v.PlayerGui:FindFirstChild("Spinny"):destroy()
207+
	return NUMBER
208
end
209-
local scrg = Instance.new("ScreenGui",v.PlayerGui)
209+
210-
scrg.Name = "Spinny"
210+
function NegativeAngle(NUMBER)
211-
local frm = Instance.new("Frame",scrg)
211+
	if NUMBER <= 0 then
212-
frm.BackgroundTransparency = 0.25
212+
		NUMBER = 0
213-
frm.BackgroundColor3 = color
213+
214-
frm.BorderSizePixel = 0
214+
	return NUMBER
215-
frm.Rotation = 45
215+
216-
frm.Size = UDim2.new(3,0,0,100)
216+
217-
frm.Position = UDim2.new(-4,0,0,0)
217+
function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
218-
local frm2 = frm:Clone()
218+
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
219-
frm2.Parent = scrg
219+
	local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
220-
frm2.BackgroundColor3 = color2
220+
	wave.CFrame = CFRAME
221-
frm2.Position = UDim2.new(-4.05,0,0,0)
221+
	coroutine.resume(coroutine.create(function(PART)
222-
local imlb = Instance.new("ImageLabel",scrg)
222+
		for i = 1, WAIT do
223-
imlb.BackgroundTransparency = 1
223+
			Swait()
224-
imlb.BackgroundColor3 = color
224+
			mesh.Scale = mesh.Scale + GROW
225-
imlb.Image = "rbxassetid://787198541"
225+
			mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
226-
imlb.Size = UDim2.new(0,750,0,750)
226+
			if DOESROT == true then
227-
imlb.ImageColor3 = color2
227+
				wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
228-
imlb.ImageTransparency = 0.25
228+
229-
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
229+
			wave.Transparency = wave.Transparency + 0.5 / WAIT
230-
local imlb2 = imlb:Clone()
230+
			if wave.Transparency > 0.99 then
231-
imlb2.Image = "rbxassetid://197468643"
231+
				wave:remove()
232-
imlb2.Size = UDim2.new(1,0,1,0)
232+
233-
imlb2.ImageTransparency = 0
233+
234-
imlb2.Position = UDim2.new(0,0,0,0)
234+
	end))
235-
local imlb3 = imlb:Clone()
235+
236-
imlb3.Image = "rbxassetid://787191999"
236+
237-
imlb3.Size = UDim2.new(1,0,1,0)
237+
function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
238-
imlb3.ImageColor3 = color2
238+
	for _, c in pairs(PARENT:GetChildren()) do
239-
imlb3.ImageTransparency = 0
239+
		if c.ClassName == "Model" then
240-
imlb3.Position = UDim2.new(0,0,0,0)
240+
			if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
241-
local imlb4 = imlb:Clone()
241+
				local HUMANOID = c:FindFirstChildOfClass("Humanoid")
242-
imlb4.Image = "rbxassetid://2092248396"
242+
				local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
243-
imlb4.Size = UDim2.new(3,0,3,0)
243+
				if DIST > (TORSO.Position - FROM).Magnitude then
244-
imlb3.ImageColor3 = color
244+
					table.insert(TABLE, c)
245-
imlb4.ImageTransparency = 0
245+
246-
imlb4.Position = UDim2.new(-1,0,-1,0)
246+
				AddChildrenToTable(FROM, c, DIST, TABLE)
247-
local imlb5 = imlb:Clone()
247+
			elseif c.ClassName == "Folder" then
248-
imlb5.Image = "rbxassetid://2344870656"
248+
				AddChildrenToTable(FROM, c, DIST, TABLE)
249-
imlb5.Size = UDim2.new(10,0,10,0)
249+
250-
imlb5.ImageColor3 = color2
250+
251-
imlb5.ImageTransparency = 0
251+
252-
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
252+
253-
imlb2.Parent = imlb
253+
254-
imlb3.Parent = imlb
254+
function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
255-
imlb4.Parent = imlb
255+
	local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
256-
imlb5.Parent = imlb
256+
	local mesh
257-
local txtlb2 = Instance.new("TextLabel",imlb)
257+
	if KIND == "Base" then
258
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
259
	elseif KIND == "Thin" then
260
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
261-
if Error == false then
261+
	elseif KIND == "Round" then
262-
txtlb2.Text = text
262+
		mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
263-
elseif Error == true then
263+
264-
txtlb2.Text = est[math.random(1,17)]
264+
	wave.CFrame = CFRAME
265
	coroutine.resume(coroutine.create(function(PART)
266
		for i = 1, WAIT do
267
			Swait()
268-
txtlb2.Font = represfont
268+
			mesh.Scale = mesh.Scale + GROW / 10
269-
txtlb2.TextColor3 = color
269+
			wave.Transparency = wave.Transparency + 0.5 / WAIT
270-
txtlb2.TextStrokeTransparency = 0
270+
			if wave.Transparency > 0.99 then
271-
txtlb2.BackgroundTransparency = 1
271+
				wave:remove()
272-
txtlb2.TextStrokeColor3 = color2
272+
273-
txtlb2.TextScaled = true
273+
274-
txtlb2.Size = UDim2.new(1,0,1,0)
274+
	end))
275-
txtlb2.Position = UDim2.new(0,0,0,0)
275+
276-
local fvalen = 0.55
276+
277-
local fval = -0.49
277+
function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
278
	local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
279
	local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
280
	wave.CFrame = CFRAME
281
	coroutine.resume(coroutine.create(function(PART)
282-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
282+
		for i = 1, WAIT do
283-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
283+
			Swait()
284-
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
284+
			mesh.Scale = mesh.Scale + GROW
285-
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
285+
			wave.Transparency = wave.Transparency + 1 / WAIT
286-
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
286+
			if wave.Transparency > 0.99 then
287-
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
287+
				wave:remove()
288-
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
288+
289-
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
289+
290-
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
290+
	end))
291-
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
291+
292-
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
292+
293-
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
293+
function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
294-
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
294+
	local TORSO = Torso
295-
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
295+
	local HUM = Humanoid
296
	if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
297
		coroutine.wrap(function()
298
			VT = Vector3.new
299
			MRANDOM = math.random
300
			local A = TIME
301
			local B = INTENSITY
302-
if Error == true then
302+
			local C = true
303-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
303+
			local HUMANOID = Humanoid
304-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
304+
			local TIMER = A or 35
305-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
305+
			local SHAKE = B or 5
306-
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
306+
			local FADE = C or true
307-
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
307+
			if HUMANOID then
308-
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
308+
				local FADER = SHAKE / TIMER
309-
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
309+
				for i = 1, TIMER do
310-
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
310+
					wait()
311-
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
311+
					HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
312-
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
312+
313-
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
313+
				HUMANOID.CameraOffset = VT(0, 0, 0)
314-
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
314+
315-
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
315+
316-
text = est[math.random(1,17)]
316+
		end)()
317
	end
318
end
319
320
function Effect(data)
321
	local FX = data.Effect or 'ResizeAndFade'
322
	local Parent = data.Parent or Effects
323-
if CRAZED == true then
323+
	local Color = data.Color or C3.N(0,0,0)
324-
txtlb2.Rotation = math.random(-1,1)
324+
	local Size = data.Size or V3.N(1,1,1)
325-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
325+
	local MoveDir = data.MoveDirection or nil
326-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
326+
	local MeshData = data.Mesh or nil
327-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
327+
	local SndData = data.Sound or nil
328-
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
328+
	local Frames = data.Frames or 45
329-
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
329+
	local Manual = data.Manual or nil
330-
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
330+
	local Material = data.Material or nil
331-
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
331+
	local CFra = data.CFrame or Torso.CFrame
332-
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
332+
	local Settings = data.FXSettings or {}
333-
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
333+
	local Snd,Prt,Msh;
334-
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
334+
	local Shape = data.Shape or Enum.PartType.Block
335-
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
335+
336-
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
336+
		if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
337-
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
337+
			Prt = Manual
338
		else
339
			Prt = Part(Parent,Color,Material,Size,CFra,true,false)
340
			Prt.Shape = Shape
341
		end
342
		if(typeof(MeshData) == 'table')then
343
			Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
344-
if chaosmode == true then
344+
		elseif(typeof(MeshData) == 'Instance')then
345-
txtlb2.Rotation = math.random(-1,1)
345+
			Msh = MeshData:Clone()
346-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
346+
			Msh.Parent = Prt
347-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
347+
		elseif(Shape == Enum.PartType.Block)then
348-
imlb.ImageColor3 = BrickColor.random().Color
348+
			Msh = Mesh(Prt,Enum.MeshType.Brick)
349-
txtlb2.TextStrokeColor3 = BrickColor.random().Color
349+
350
		if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
351
			Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
352
		end
353
		if(Snd)then
354
			repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
355
			Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
356-
if scrg.Parent ~= nil then
356+
357-
	fvalen = fvalen - 0.0001
357+
		local MoveSpeed = nil;
358-
elseif scrg.Parent == nil then
358+
		if(MoveDir)then
359
			MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
360
		end
361
		local Inc = M.RNG()-M.RNG()
362
		local Thingie = 0
363-
local flol = -5
363+
		local Thingie2 = M.RNG(50,100)/100
364-
local flil = 1.6
364+
		if(FX ~= 'Arc')then
365
			for i = 1, Frames do
366-
	for i = 0, 49 do
366+
				if(swait and typeof(swait) == 'function')then
367
					swait()
368-
		flol = flol + 0.125
368+
				else
369-
		flil = flil - 0.1
369+
					wait()
370-
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
370+
371-
		frm.Rotation = frm.Rotation - 0.25
371+
				if(FX == 'ResizeAndFade')then
372-
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
372+
					if(not Settings.EndSize)then
373-
		frm2.Rotation = frm.Rotation + 0.325
373+
						Settings.EndSize = V3.N(0,0,0)
374-
		imlb3.Rotation = imlb3.Rotation - 10
374+
375-
		imlb2.Rotation = imlb.Rotation + 7.5
375+
					local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
376-
		imlb.Rotation = imlb.Rotation + 5
376+
					if(Settings.EndIsIncrement)then
377-
		if Error == false then
377+
						Prt.Size = Prt.Size + Settings.EndSize					
378-
		txtlb2.Rotation = txtlb2.Rotation - 5.125
378+
					else
379-
		elseif Error == true then
379+
						Prt.Size = Prt.Size - grow/Frames
380-
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
380+
381
					Prt.Transparency = (i/Frames)
382-
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
382+
				elseif(FX == 'Fade')then
383
					Prt.Transparency = (i/Frames)
384-
	for i = 0, 99 do
384+
385
				
386-
		fval = fval + 0.05
386+
				if(Settings.RandomizeCFrame)then
387-
		flol = flol + 0.005
387+
					Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
388-
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
388+
389-
		frm.Rotation = frm.Rotation - 0.075
389+
				if(MoveDir and MoveSpeed)then
390-
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
390+
					local Orientation = Prt.Orientation
391-
		frm2.Rotation = frm2.Rotation + 0.125
391+
					Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
392-
		imlb3.Rotation = imlb3.Rotation - 2
392+
					Prt.Orientation = Orientation
393-
		imlb2.Rotation = imlb.Rotation + 1.5
393+
394-
		imlb.Rotation = imlb.Rotation + 1
394+
395-
		if Error == false then
395+
			Prt:destroy() 
396-
		txtlb2.Rotation = txtlb2.Rotation - 1.125
396+
397-
		elseif Error == true then
397+
			local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
398-
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
398+
			if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
399
			local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
400-
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
400+
			local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
401
			assert(start ~= nil,"You need to specify a start point!")
402-
local valinc = 0
402+
			assert(endP ~= nil,"You need to specify an end point!")
403-
local vinc2 = 1
403+
			for i = 0, 1, Settings.Speed or 0.01 do
404
				if(swait and typeof(swait) == 'function')then
405
					swait()
406-
vinc2 = vinc2 + 0.25
406+
				else
407-
valinc = valinc + 0.0001
407+
					wait()
408-
flol = flol + valinc
408+
409-
flil = flil + valinc
409+
				if(Settings.Home)then
410-
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
410+
					endP = Settings.Home.CFrame
411-
imlb3.Rotation = imlb3.Rotation - 2*vinc2
411+
412-
imlb.Rotation = imlb.Rotation + 1*vinc2
412+
				Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
413-
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
413+
414-
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
414+
			if(Settings.RemoveOnGoal)then
415-
frm.Rotation = frm.Rotation + 0.1*vinc2
415+
				Prt:destroy()
416-
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
416+
417-
frm2.Rotation = frm2.Rotation + 0.225*vinc2
417+
418-
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
418+
	end))
419-
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
419+
	return Prt,Msh,Snd
420-
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
420+
421-
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
421+
422-
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
422+
function Banish(Foe)
423-
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
423+
	if Foe then
424-
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
424+
		coroutine.resume(coroutine.create(function()
425-
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
425+
			--if game.Players:FindFirstChild(Foe.Name) then
426-
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
426+
				table.insert(TOBANISH,Foe.Name)
427
				printbye(Foe.Name)
428-
scrg:Destroy()
428+
			--end
429
			Foe.Archivable = true
430
			local CLONE = Foe:Clone()
431
			Foe:Destroy()
432
			CLONE.Parent = Effects
433
			CLONE:BreakJoints()
434
			local MATERIALS = {"Glass","Neon"}
435-
local IDTECC = {"LETS BE SERIOUS"," NEO","TRUE FORM","..."}
435+
			for _, c in pairs(CLONE:GetDescendants()) do
436
				if c:IsA("BasePart") then
437-
local OVMID = 1702473314
437+
					if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
438-
local OVMPIT = 1
438+
 						CreateSound(340722848, c, 10, 1, false)
439-
local OVMVOL = 1
439+
440
					c.Anchored = true
441-
function warnedpeople(text,represfont,color,color2)
441+
					c.Transparency = c.Transparency + 0.2
442-
	if disably ~= true then
442+
					c.Material = MATERIALS[MRANDOM(1,2)]
443-
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
443+
					c.Color = C3(0,255,0)
444-
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
444+
					if c.ClassName == "MeshPart" then
445-
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
445+
						c.TextureID = ""
446
					end
447-
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
447+
					if c:FindFirstChildOfClass("SpecialMesh") then
448-
v.PlayerGui:FindFirstChild("Spinny"):destroy()
448+
						c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
449
					end
450-
local scrg = Instance.new("ScreenGui",v.PlayerGui)
450+
					if c:FindFirstChildOfClass("Decal") then
451-
scrg.Name = "Spinny"
451+
						c:FindFirstChildOfClass("Decal"):remove()
452-
local frm = Instance.new("Frame",scrg)
452+
453-
frm.BackgroundTransparency = 0.25
453+
					c.Name = "Banished"
454-
frm.BackgroundColor3 = color
454+
					c.CanCollide = false
455-
frm.BorderSizePixel = 0
455+
				else
456-
frm.Rotation = 45
456+
					c:remove()
457-
frm.Size = UDim2.new(3,0,0,100)
457+
458-
frm.Position = UDim2.new(-4,0,0,0)
458+
459-
local frm2 = frm:Clone()
459+
			local A = false
460-
frm2.Parent = scrg
460+
			for i = 1, 35 do
461-
frm2.BackgroundColor3 = color2
461+
				if A == false then
462-
frm2.Position = UDim2.new(-4.05,0,0,0)
462+
					A = true
463-
local imlb = Instance.new("ImageLabel",scrg)
463+
				elseif A == true then
464-
imlb.BackgroundTransparency = 1
464+
					A = false
465-
imlb.BackgroundColor3 = Color3.new(0,0,0)
465+
466-
imlb.Image = "rbxassetid://2344851144"
466+
				for _, c in pairs(CLONE:GetDescendants()) do
467-
imlb.Size = UDim2.new(0,750,0,750)
467+
					if c:IsA("BasePart") then
468-
imlb.ImageColor3 = color2
468+
						c.Anchored = true
469-
imlb.ImageTransparency = 0.25
469+
						c.Material = MATERIALS[MRANDOM(1,2)]
470-
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
470+
						c.Transparency = c.Transparency + 0.8/35
471-
local imlb2 = imlb:Clone()
471+
						if A == false then
472-
imlb2.Image = "rbxassetid://2076458450"
472+
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
473-
imlb2.Size = UDim2.new(1,0,1,0)
473+
						elseif A == true then
474-
imlb2.ImageColor3 = color
474+
							c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)						
475-
imlb2.ImageTransparency = 0
475+
						end
476-
imlb2.Position = UDim2.new(0,0,0,0)
476+
477-
local imlb3 = imlb:Clone()
477+
478-
imlb3.Image = "rbxassetid://2312119891"
478+
				Swait()
479-
imlb3.Size = UDim2.new(1,0,1,0)
479+
480-
imlb3.ImageColor3 = color2
480+
			CLONE:remove()
481-
imlb3.ImageTransparency = 0
481+
		end))
482-
imlb3.Position = UDim2.new(0,0,0,0)
482+
483-
local imlb4 = imlb:Clone()
483+
484-
imlb4.Image = "rbxassetid://2092248396"
484+
485-
imlb4.Size = UDim2.new(3,0,3,0)
485+
function ApplyAoE(POSITION,RANGE,ISBANISH)
486-
imlb3.ImageColor3 = color
486+
	local CHILDREN = workspace:GetDescendants()
487-
imlb4.ImageTransparency = 0
487+
	for index, CHILD in pairs(CHILDREN) do
488-
imlb4.Position = UDim2.new(-1,0,-1,0)
488+
		if CHILD.ClassName == "Model" and CHILD ~= Character then
489-
local imlb5 = imlb:Clone()
489+
			local HUM = CHILD:FindFirstChildOfClass("Humanoid")
490-
imlb5.Image = "rbxassetid://2344870656"
490+
			if HUM then
491-
imlb5.Size = UDim2.new(10,0,10,0)
491+
				local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
492-
imlb5.ImageColor3 = color2
492+
				if TORSO then
493-
imlb5.ImageTransparency = 0
493+
					if (TORSO.Position - POSITION).Magnitude <= RANGE then
494-
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
494+
						if ISBANISH == true then
495-
imlb2.Parent = imlb
495+
							Banish(CHILD)
496-
imlb3.Parent = imlb
496+
						else
497-
imlb4.Parent = imlb
497+
							if ISBANISH == "Gravity" then
498-
imlb5.Parent = imlb
498+
								HUM.PlatformStand = true
499-
local txtlb2 = Instance.new("TextLabel",imlb)
499+
								if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
500-
txtlb2.Text = text
500+
									local grav = Instance.new("BodyPosition",TORSO)
501
									grav.D = 15
502
									grav.P = 20000
503
									grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
504-
if ASTRA == true then
504+
									grav.position = TORSO.Position
505-
txtlb2.Text = est[math.random(1,5)]
505+
									grav.Name = "V3BanishForce"..Player.Name
506-
elseif dragon == true then
506+
								else
507-
txtlb2.Text = nobreak[math.random(1,3)]
507+
									TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
508
									TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
509
								end
510
							else
511-
txtlb2.Font = represfont
511+
								HUM.PlatformStand = false
512-
txtlb2.TextColor3 = color
512+
							end
513-
txtlb2.TextStrokeTransparency = 0
513+
						end
514-
txtlb2.BackgroundTransparency = 1
514+
					elseif ISBANISH == "Gravity" then
515-
txtlb2.TextStrokeColor3 = color2
515+
						if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
516-
txtlb2.TextScaled = true
516+
							TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
517-
txtlb2.Size = UDim2.new(1,0,1,0)
517+
							HUM.PlatformStand = false
518-
txtlb2.Position = UDim2.new(0,0,0,0)
518+
						end
519-
local fvalen = 0.55
519+
520-
local fval = -0.49
520+
521
			end
522
		end
523
	end
524
end
525
526-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
526+
527-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
527+
function WACKYEFFECT(Table)
528-
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
528+
	local TYPE = (Table.EffectType or "Sphere")
529-
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
529+
	local SIZE = (Table.Size or Vector3.new(1,1,1))
530-
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
530+
	local ENDSIZE = (Table.Size2 or Vector3.new(0,0,0))
531-
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
531+
	local TRANSPARENCY = (Table.Transparency or 0)
532-
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
532+
	local ENDTRANSPARENCY = (Table.Transparency2 or 1)
533-
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
533+
	local CFRAME = (Table.CFrame or tors.CFrame)
534-
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
534+
	local MOVEDIRECTION = (Table.MoveToPos or nil)
535-
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
535+
	local ROTATION1 = (Table.RotationX or 0)
536-
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
536+
	local ROTATION2 = (Table.RotationY or 0)
537-
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
537+
	local ROTATION3 = (Table.RotationZ or 0)
538-
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
538+
	local MATERIAL = (Table.Material or "Neon")
539-
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
539+
	local COLOR = (Table.Color or Color3.new(1,1,1))
540
	local TIME = (Table.Time or 45)
541
	local SOUNDID = (Table.SoundID or nil)
542
	local SOUNDPITCH = (Table.SoundPitch or nil)
543
	local SOUNDVOLUME = (Table.SoundVolume or nil)
544
	coroutine.resume(coroutine.create(function()
545
		local PLAYSSOUND = false
546-
if Error == true then
546+
		local SOUND = nil
547-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
547+
		local EFFECT = CreatePart(3, EffectModel, MATERIAL, 0, TRANSPARENCY, BrickC("Pearl"), "Effect", Vector3.new(1,1,1), true)
548-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
548+
		if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
549-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
549+
			PLAYSSOUND = true
550-
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
550+
			SOUND = Cso(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
551-
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
551+
552-
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
552+
		EFFECT.Color = COLOR
553-
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
553+
		local MSH = nil
554-
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
554+
		if TYPE == "Sphere" then
555-
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
555+
			MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, Vector3.new(0,0,0))
556-
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
556+
		elseif TYPE == "Block" or TYPE == "Box" then
557-
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
557+
			MSH = IT("BlockMesh",EFFECT)
558-
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
558+
			MSH.Scale = SIZE
559-
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
559+
		elseif TYPE == "Cylinder" then
560-
text = est[math.random(1,17)]
560+
			MSH = IT("CylinderMesh",EFFECT)
561
			MSH.Scale = SIZE
562
		elseif TYPE == "Wave" then
563
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, Vector3.new(0,0,-SIZE.X/8))
564
		elseif TYPE == "Ring" then
565
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", Vector3.new(SIZE.X,SIZE.X,0.1), Vector3.new(0,0,0))
566
		elseif TYPE == "Slash" then
567-
if CRAZED == true then
567+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
568-
txtlb2.Rotation = math.random(-1,1)
568+
		elseif TYPE == "Round Slash" then
569-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
569+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", Vector3.new(SIZE.X/10,0,SIZE.X/10), Vector3.new(0,0,0))
570-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
570+
		elseif TYPE == "Swirl" then
571-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
571+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, Vector3.new(0,0,0))
572-
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
572+
		elseif TYPE == "Skull" then
573-
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
573+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, Vector3.new(0,0,0))
574-
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
574+
		elseif TYPE == "Crystal" then
575-
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
575+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, Vector3.new(0,0,0))
576-
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
576+
		elseif TYPE == "Crown" then
577-
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
577+
			MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, Vector3.new(0,0,0))
578-
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
578+
579-
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
579+
		if MSH ~= nil then
580-
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
580+
			local MOVESPEED = nil
581-
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
581+
			if MOVEDIRECTION ~= nil then
582
				MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
583
			end
584
			local GROWTH = SIZE - ENDSIZE
585
			local TRANS = TRANSPARENCY - ENDTRANSPARENCY
586
			if TYPE == "Block" then
587
				EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
588-
if chaosmode == true then
588+
589-
txtlb2.Rotation = math.random(-1,1)
589+
				EFFECT.CFrame = CFRAME
590-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
590+
591-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
591+
			for LOOP = 1, TIME+1 do
592-
imlb.ImageColor3 = BrickColor.random().Color
592+
				swait()
593-
txtlb2.TextStrokeColor3 = BrickColor.random().Color
593+
				MSH.Scale = MSH.Scale - GROWTH/TIME
594
				if TYPE == "Wave" then
595
					MSH.Offset = Vector3.new(0,0,-MSH.Scale.X/8)
596
				end
597
				EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
598
				if TYPE == "Block" then
599
					EFFECT.CFrame = CFRAME*angles(Rad(Mrandom(0,360)),Rad(Mrandom(0,360)),Rad(Mrandom(0,360)))
600-
if scrg.Parent ~= nil then
600+
				else
601-
	fvalen = fvalen - 0.0001
601+
					EFFECT.CFrame = EFFECT.CFrame*angles(Rad(ROTATION1),Rad(ROTATION2),Rad(ROTATION3))
602-
elseif scrg.Parent == nil then
602+
603
				if MOVEDIRECTION ~= nil then
604
					local ORI = EFFECT.Orientation
605
					EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
606
					EFFECT.Orientation = ORI
607-
local flol = -5
607+
608-
local flil = 1.6
608+
609
			EFFECT.Transparency = 1
610-
	for i = 0, 49 do
610+
			if PLAYSSOUND == false then
611
				EFFECT:remove()
612-
		flol = flol + 0.125
612+
613-
		flil = flil - 0.1
613+
				repeat swait() until SOUND.Playing == false
614-
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
614+
				EFFECT:remove()
615-
		frm.Rotation = frm.Rotation - 0.25
615+
616-
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
616+
617-
		frm2.Rotation = frm.Rotation + 0.325
617+
			if PLAYSSOUND == false then
618-
		imlb3.Rotation = imlb3.Rotation - 10
618+
				EFFECT:remove()
619-
		imlb2.Rotation = imlb.Rotation + 7.5
619+
620-
		imlb.Rotation = imlb.Rotation + 5
620+
				repeat swait() until SOUND.Playing == false
621-
		if Error == false then
621+
				EFFECT:remove()
622-
		txtlb2.Rotation = txtlb2.Rotation - 5.125
622+
623-
		elseif Error == true then
623+
624-
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
624+
	end))
625
end
626-
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
626+
627
function Magic(bonuspeed, type, pos, scale, value, color, MType)
628-
	for i = 0, 99 do
628+
	local type = type
629
	local rng = Instance.new("Part", char)
630-
		fval = fval + 0.05
630+
	rng.Anchored = true
631-
		flol = flol + 0.005
631+
	rng.BrickColor = color
632-
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
632+
	rng.CanCollide = false
633-
		frm.Rotation = frm.Rotation - 0.075
633+
	rng.FormFactor = 3
634-
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
634+
	rng.Name = "Ring"
635-
		frm2.Rotation = frm2.Rotation + 0.125
635+
	rng.Material = "Neon"
636-
		imlb3.Rotation = imlb3.Rotation - 2
636+
	rng.Size = Vector3.new(1, 1, 1)
637-
		imlb2.Rotation = imlb.Rotation + 1.5
637+
	rng.Transparency = 0
638-
		imlb.Rotation = imlb.Rotation + 1
638+
	rng.TopSurface = 0
639-
		if Error == false then
639+
	rng.BottomSurface = 0
640-
		txtlb2.Rotation = txtlb2.Rotation - 1.125
640+
	rng.CFrame = pos
641-
		elseif Error == true then
641+
	local rngm = Instance.new("SpecialMesh", rng)
642-
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
642+
	rngm.MeshType = MType
643
	rngm.Scale = scale
644-
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
644+
	local scaler2 = 1
645
	if type == "Add" then
646-
local valinc = 0
646+
		scaler2 = 1 * value
647-
local vinc2 = 1
647+
	elseif type == "Divide" then
648
		scaler2 = 1 / value
649
	end
650-
vinc2 = vinc2 + 0.25
650+
651-
valinc = valinc + 0.0001
651+
		for i = 0, 10 / bonuspeed, 0.1 do
652-
flol = flol + valinc
652+
			swait()
653-
flil = flil + valinc
653+
			if type == "Add" then
654-
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
654+
				scaler2 = scaler2 - 0.01 * value / bonuspeed
655-
imlb3.Rotation = imlb3.Rotation - 2*vinc2
655+
			elseif type == "Divide" then
656-
imlb.Rotation = imlb.Rotation + 1*vinc2
656+
				scaler2 = scaler2 - 0.01 / value * bonuspeed
657-
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
657+
658-
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
658+
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
659-
frm.Rotation = frm.Rotation + 0.1*vinc2
659+
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
660-
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
660+
661-
frm2.Rotation = frm2.Rotation + 0.225*vinc2
661+
		rng:Destroy()
662-
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
662+
	end))
663-
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
663+
664-
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
664+
665-
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
665+
function Eviscerate(dude)
666-
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
666+
	if dude.Name ~= char then
667-
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
667+
		local bgf = IT("BodyGyro", dude.Head)
668-
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
668+
		bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
669-
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
669+
		local val = IT("BoolValue", dude)
670-
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
670+
		val.Name = "IsHit"
671
		local ds = coroutine.wrap(function()
672-
scrg:Destroy()
672+
			dude:WaitForChild("Head"):BreakJoints()
673
			wait(0.5)
674
			target = nil
675
			coroutine.resume(coroutine.create(function()
676
				for i, v in pairs(dude:GetChildren()) do
677
					if v:IsA("Accessory") then
678
						v:Destroy()
679-
function warnedpeople2(text,represfont,color,color2)
679+
680-
	if disably ~= true then
680+
					if v:IsA("Humanoid") then
681-
CFuncs["Sound"].Create("rbxassetid://534859368", char, 1.25,1)
681+
						v:Destroy()
682-
CFuncs["Sound"].Create("rbxassetid://963718869", char, 0.8,1)
682+
683-
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
683+
					if v:IsA("CharacterMesh") then
684
						v:Destroy()
685-
if v.PlayerGui:FindFirstChild("Spinny")~= nil then
685+
686-
v.PlayerGui:FindFirstChild("Spinny"):destroy()
686+
					if v:IsA("Model") then
687
						v:Destroy()
688-
local scrg = Instance.new("ScreenGui",v.PlayerGui)
688+
689-
scrg.Name = "Spinny"
689+
					if v:IsA("Part") or v:IsA("MeshPart") then
690-
local frm = Instance.new("Frame",scrg)
690+
						for x, o in pairs(v:GetChildren()) do
691-
frm.BackgroundTransparency = 0.25
691+
							if o:IsA("Decal") then
692-
frm.BackgroundColor3 = color
692+
								o:Destroy()
693-
frm.BorderSizePixel = 0
693+
							end
694-
frm.Rotation = 45
694+
						end
695-
frm.Size = UDim2.new(3,0,0,100)
695+
						coroutine.resume(coroutine.create(function()
696-
frm.Position = UDim2.new(-4,0,0,0)
696+
							v.Material = "Neon"
697-
local frm2 = frm:Clone()
697+
							v.CanCollide = false
698-
frm2.Parent = scrg
698+
							local PartEmmit1 = IT("ParticleEmitter", v)
699-
frm2.BackgroundColor3 = color2
699+
							PartEmmit1.LightEmission = 1
700-
frm2.Position = UDim2.new(-4.05,0,0,0)
700+
							PartEmmit1.Texture = "rbxassetid://284205403"
701-
local imlb = Instance.new("ImageLabel",scrg)
701+
							PartEmmit1.Color = ColorSequence.new(maincolor.Color)
702-
imlb.BackgroundTransparency = 1
702+
							PartEmmit1.Rate = 150
703-
imlb.BackgroundColor3 = Color3.new(0,0,0)
703+
							PartEmmit1.Lifetime = NumberRange.new(1)
704-
imlb.Image = "rbxassetid://787198541"
704+
							PartEmmit1.Size = NumberSequence.new({
705-
imlb.Size = UDim2.new(0,750,0,750)
705+
								NumberSequenceKeypoint.new(0, 0.75, 0),
706-
imlb.ImageColor3 = color2
706+
								NumberSequenceKeypoint.new(1, 0, 0)
707-
imlb.ImageTransparency = 0.25
707+
							})
708-
imlb.Position = UDim2.new(-2.5,0,-2.5,0)
708+
							PartEmmit1.Transparency = NumberSequence.new({
709-
local imlb2 = imlb:Clone()
709+
								NumberSequenceKeypoint.new(0, 0, 0),
710-
imlb2.Image = "rbxassetid://2076458450"
710+
								NumberSequenceKeypoint.new(1, 1, 0)
711-
imlb2.Size = UDim2.new(1,0,1,0)
711+
							})
712-
imlb2.ImageColor3 = color
712+
							PartEmmit1.Speed = NumberRange.new(0, 0)
713-
imlb2.ImageTransparency = 0
713+
							PartEmmit1.VelocitySpread = 30000
714-
imlb2.Position = UDim2.new(0,0,0,0)
714+
							PartEmmit1.Rotation = NumberRange.new(-500, 500)
715-
local imlb3 = imlb:Clone()
715+
							PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
716-
imlb3.Image = "rbxassetid://787191999"
716+
							local BodPoss = IT("BodyPosition", v)
717-
imlb3.Size = UDim2.new(1,0,1,0)
717+
							BodPoss.P = 3000
718-
imlb3.ImageColor3 = color2
718+
							BodPoss.D = 1000
719-
imlb3.ImageTransparency = 0
719+
							BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
720-
imlb3.Position = UDim2.new(0,0,0,0)
720+
							BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
721-
local imlb4 = imlb:Clone()
721+
							v.Color = maincolor.Color
722-
imlb4.Image = "rbxassetid://2092248396"
722+
							coroutine.resume(coroutine.create(function()
723-
imlb4.Size = UDim2.new(3,0,3,0)
723+
								for i = 0, 49 do
724-
imlb3.ImageColor3 = color
724+
									swait(1)
725-
imlb4.ImageTransparency = 0
725+
									v.Transparency = v.Transparency + 0.08
726-
imlb4.Position = UDim2.new(-1,0,-1,0)
726+
								end
727-
local imlb5 = imlb:Clone()
727+
								wait(0.5)
728-
imlb5.Image = "rbxassetid://2344870656"
728+
								PartEmmit1.Enabled = false
729-
imlb5.Size = UDim2.new(10,0,10,0)
729+
								wait(3)
730-
imlb5.ImageColor3 = color2
730+
								v:Destroy()
731-
imlb5.ImageTransparency = 0
731+
								dude:Destroy()
732-
imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
732+
							end))
733-
imlb2.Parent = imlb
733+
						end))
734-
imlb3.Parent = imlb
734+
735-
imlb4.Parent = imlb
735+
736-
imlb5.Parent = imlb
736+
737-
local txtlb2 = Instance.new("TextLabel",imlb)
737+
		end)
738-
txtlb2.Text = text
738+
		ds()
739
	end
740
end
741
742-
if ASTRA == true then
742+
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
743-
txtlb2.Text = est[math.random(1,5)]
743+
	local type = type
744-
elseif dragon == true then
744+
	local rng = Instance.new("Part", char)
745-
txtlb2.Text = nobreak[math.random(1,3)]
745+
	rng.Anchored = true
746
	rng.BrickColor = color
747
	rng.CanCollide = false
748
	rng.FormFactor = 3
749-
txtlb2.Font = represfont
749+
	rng.Name = "Ring"
750-
txtlb2.TextColor3 = color
750+
	rng.Material = "Neon"
751-
txtlb2.TextStrokeTransparency = 0
751+
	rng.Size = Vector3.new(1, 1, 1)
752-
txtlb2.BackgroundTransparency = 1
752+
	rng.Transparency = 0
753-
txtlb2.TextStrokeColor3 = color2
753+
	rng.TopSurface = 0
754-
txtlb2.TextScaled = true
754+
	rng.BottomSurface = 0
755-
txtlb2.Size = UDim2.new(1,0,1,0)
755+
	rng.CFrame = pos
756-
txtlb2.Position = UDim2.new(0,0,0,0)
756+
	rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
757-
local fvalen = 0.55
757+
	local rngm = Instance.new("SpecialMesh", rng)
758-
local fval = -0.49
758+
	rngm.MeshType = MType
759
	rngm.Scale = Vector3.new(x1, y1, z1)
760
	local scaler2 = 1
761
	local speeder = FastSpeed
762
	if type == "Add" then
763
		scaler2 = 1 * value
764-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
764+
	elseif type == "Divide" then
765-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
765+
		scaler2 = 1 / value
766-
txtlb2.TextStrokeColor3 = Color3.new(r/255,g/255,b/255)
766+
767-
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
767+
768-
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
768+
		for i = 0, 10 / bonuspeed, 0.1 do
769-
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
769+
			swait()
770-
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
770+
			if type == "Add" then
771-
txtlb2.TextStrokeColor3 = Color3.new(1,1,1)
771+
				scaler2 = scaler2 - 0.01 * value / bonuspeed
772-
txtlb2.TextColor3 = Color3.new(r/255,g/255,b/255)
772+
			elseif type == "Divide" then
773-
imlb.ImageColor3 = Color3.new(r/255,g/255,b/255)
773+
				scaler2 = scaler2 - 0.01 / value * bonuspeed
774-
imlb3.ImageColor3 = Color3.new(r/255,g/255,b/255)
774+
775-
imgl2b.ImageColor3 = Color3.new(r/255,g/255,b/255)
775+
			speeder = speeder - 0.01 * FastSpeed * bonuspeed
776-
frm.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
776+
			rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
777-
frm2.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
777+
			rng.Transparency = rng.Transparency + 0.01 * bonuspeed
778
			rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
779
		end
780
		rng:Destroy()
781
	end))
782
end
783
784-
if Error == true then
784+
785-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
785+
786-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
786+
787-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
787+
--kanz.Volume = vol
788-
txtlb2.TextStrokeColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
788+
789-
txtlb2.TextColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
789+
790-
imlb.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
790+
791-
imlb2.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
791+
792-
imlb3.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
792+
793-
imlb4.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
793+
794-
imlb5.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
794+
kanz.Volume = 0.3
795-
imgl2b.ImageColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
795+
796-
frm.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
796+
797-
frm2.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
797+
798-
text = est[math.random(1,17)]
798+
799
end
800
801
function newThemeCust(ID,timepos,pitch,vol)
802
local kanz = kan
803
kanz:Stop()
804
kanz.Volume = vol
805-
if CRAZED == true then
805+
806-
txtlb2.Rotation = math.random(-1,1)
806+
807-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
807+
808-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
808+
809-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
809+
810-
txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
810+
811-
txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
811+
812-
imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
812+
813-
imlb2.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
813+
814-
imlb3.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
814+
815-
imlb4.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
815+
816-
imlb5.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
816+
817-
imgl2b.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
817+
818-
frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
818+
819-
frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
819+
function CameraShake(Times, Power, PlayerTarget)
820
coroutine.resume(coroutine.create(function()
821
FV = Instance.new("BoolValue", PlayerTarget)
822
FV.Name = "CameraShake"
823
for ShakeNum=1,Times do
824
swait()
825
local ef=Power
826-
if chaosmode == true then
826+
827-
txtlb2.Rotation = math.random(-1,1)
827+
828-
imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
828+
829-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
829+
830-
imlb.ImageColor3 = BrickColor.random().Color
830+
831-
txtlb2.TextStrokeColor3 = BrickColor.random().Color
831+
832
end
833
Humanoid.CameraOffset = Vector3.new(0,0,0)
834
FV:Destroy()
835
end))
836
end
837
838-
if scrg.Parent ~= nil then
838+
839-
	fvalen = fvalen - 0.0001
839+
840-
elseif scrg.Parent == nil then
840+
841
      local rotM = 0.01*Intensity
842
for i = 0, Length, 0.1 do
843
swait()
844
intensity = intensity - 0.05*Intensity/Length
845-
local flol = -5
845+
846-
local flil = 1.6
846+
847
      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)
848-
	for i = 0, 49 do
848+
849
Humanoid.CameraOffset = Vec3(0, 0, 0)
850-
		flol = flol + 0.125
850+
851-
		flil = flil - 0.1
851+
852-
		frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
852+
853-
		frm.Rotation = frm.Rotation - 0.25
853+
854-
		frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
854+
855-
		frm2.Rotation = frm.Rotation + 0.325
855+
856-
		imlb3.Rotation = imlb3.Rotation - 10
856+
857-
		imlb2.Rotation = imlb.Rotation + 7.5
857+
858-
		imlb.Rotation = imlb.Rotation + 5
858+
859-
		if Error == false then
859+
860-
		txtlb2.Rotation = txtlb2.Rotation - 5.125
860+
861-
		elseif Error == true then
861+
862-
		txtlb2.Rotation = txtlb2.Rotation - 5.125 + math.random(-6,6)
862+
863
for ShakeNum=1,Times do
864-
		imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
864+
865
local ef=Power
866-
	for i = 0, 99 do
866+
867
   Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
868-
		fval = fval + 0.05
868+
869-
		flol = flol + 0.005
869+
870-
		frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
870+
871-
		frm.Rotation = frm.Rotation - 0.075
871+
872-
		frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
872+
873-
		frm2.Rotation = frm2.Rotation + 0.125
873+
874-
		imlb3.Rotation = imlb3.Rotation - 2
874+
875-
		imlb2.Rotation = imlb.Rotation + 1.5
875+
876-
		imlb.Rotation = imlb.Rotation + 1
876+
877-
		if Error == false then
877+
878-
		txtlb2.Rotation = txtlb2.Rotation - 1.125
878+
879-
		elseif Error == true then
879+
880-
		txtlb2.Rotation = txtlb2.Rotation - 1.125 + math.random(-6,6)
880+
881
end
882-
		imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
882+
883
884-
local valinc = 0
884+
885-
local vinc2 = 1
885+
function chatfunc(text,color)
886
local chat = coroutine.wrap(function()
887
if Character:FindFirstChild("TalkingBillBoard")~= nil then
888-
vinc2 = vinc2 + 0.25
888+
889-
valinc = valinc + 0.0001
889+
890-
flol = flol + valinc
890+
891-
flil = flil + valinc
891+
892-
txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
892+
893-
imlb3.Rotation = imlb3.Rotation - 2*vinc2
893+
894-
imlb.Rotation = imlb.Rotation + 1*vinc2
894+
895-
imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
895+
896-
frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
896+
897-
frm.Rotation = frm.Rotation + 0.1*vinc2
897+
898-
frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
898+
899-
frm2.Rotation = frm2.Rotation + 0.225*vinc2
899+
tecks2.Font = "SciFi"
900-
frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
900+
901-
frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
901+
902-
imlb.ImageTransparency = imlb.ImageTransparency + 0.005
902+
903-
imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
903+
904-
imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
904+
905-
imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
905+
906-
imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
906+
907-
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
907+
908-
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
908+
909
tecks3.Font = "SciFi"
910-
scrg:Destroy()
910+
911
tecks3.TextStrokeTransparency = 0
912
tecks3.TextColor3 = Color3.new(0,0,0)
913
tecks3.TextStrokeColor3 = color
914
tecks3.Size = UDim2.new(1,0,0.5,0)
915
coroutine.resume(coroutine.create(function()
916
while true do
917
swait(1)
918
plr.Character.wrecked.Volume = 0.3
919
if MALFUNCTIONmode == true then
920
tecks2.TextColor3 = BrickColor.random().Color
921
tecks3.TextStrokeColor3 = BrickColor.random().Color
922
end
923
tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
924
tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
925
tecks2.Rotation = math.random(-5,5)
926
tecks3.Rotation = math.random(-5,5)
927
end
928
end))
929
for i = 1,string.len(text),1 do
930
CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
931
tecks2.Text = string.sub(text,1,i)
932
tecks3.Text = string.sub(text,1,i)
933
swait(1)
934
end
935
wait(1)
936
local randomrot = math.random(1,2)
937
if randomrot == 1 then
938
for i = 1, 50 do
939
swait()
940
tecks2.Rotation = tecks2.Rotation - .75
941
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
942
tecks2.TextTransparency = tecks2.TextTransparency + .04
943
tecks3.Rotation = tecks2.Rotation + .75
944
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
945
tecks3.TextTransparency = tecks2.TextTransparency + .04
946
end
947
elseif randomrot == 2 then
948
	for i = 1, 50 do
949
swait()
950
tecks2.Rotation = tecks2.Rotation + .75
951
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
952
tecks2.TextTransparency = tecks2.TextTransparency + .04
953
tecks3.Rotation = tecks2.Rotation - .75
954
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
955
tecks3.TextTransparency = tecks2.TextTransparency + .04
956
end
957
end
958
naeeym2:Destroy()
959
end)
960
chat()
961
end
962
963
local Create = LoadLibrary("RbxUtility").Create
964-
local bilguit = Instance.new("BillboardGui", hed)
964+
965-
bilguit.Adornee = nil
965+
966-
bilguit.Name = "ModeName"
966+
967-
bilguit.Size = UDim2.new(4, 0, 1.2, 0)
967+
968-
bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
968+
969-
local modet = Instance.new("TextLabel", bilguit)
969+
970-
modet.Size = UDim2.new(10/2, 0, 7/2, 0)
970+
971-
modet.FontSize = "Size8"
971+
972-
modet.TextScaled = true
972+
973-
modet.TextTransparency = 0
973+
974-
modet.BackgroundTransparency = 1 
974+
975-
modet.TextTransparency = 0
975+
976-
modet.TextStrokeTransparency = 0
976+
977-
modet.Font = "Antique"
977+
978-
modet.TextStrokeColor3 = Color3.new(1,0,0)
978+
979-
modet.TextColor3 = Color3.new(0.25,0,0)
979+
980-
modet.Text = "STAR GLITCHER V LOADED "
980+
981
		end;
982
	};
983-
function chatfunc(text,color,typet,font,timeex)
983+
984
	["Mesh"] = {
985
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
986
			local Msh = Create(Mesh){
987
				Parent = Part,
988
				Offset = OffSet,
989
				Scale = Scale,
990
			}
991
			if Mesh == "SpecialMesh" then
992
				Msh.MeshType = MeshType
993
				Msh.MeshId = MeshId
994
			end
995
			return Msh
996
		end;
997-
tecks2.Font = font
997+
998
	
999
	["Mesh"] = {
1000
		Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1001
			local Msh = Create(Mesh){
1002
				Parent = Part,
1003
				Offset = OffSet,
1004
				Scale = Scale,
1005
			}
1006
			if Mesh == "SpecialMesh" then
1007-
tecks3.Font = font
1007+
1008
				Msh.MeshId = MeshId
1009
			end
1010-
if typet == "Inverted" then
1010+
1011
		end;
1012
	};
1013-
elseif typet == "Normal" then
1013+
1014-
tecks3.TextColor3 = color
1014+
1015-
tecks3.TextStrokeColor3 = Color3.new(0,0,0)
1015+
1016
			local Weld = Create("Weld"){
1017
				Parent = Parent,
1018
				Part0 = Part0,
1019
				Part1 = Part1,
1020
				C0 = C0,
1021-
if chaosmode == true then
1021+
1022
			}
1023
			return Weld
1024
		end;
1025
	};
1026
1027-
modet.TextTransparency = modet.TextTransparency  + 1
1027+
1028-
modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
1028+
1029-
for i = 0, 74*timeex do
1029+
1030
				local S = Create("Sound"){
1031-
modet.TextTransparency = 1
1031+
1032-
modet.TextStrokeTransparency = 1
1032+
1033-
tecks2.Text = text
1033+
1034-
tecks3.Text = text
1034+
1035
					Parent = par or workspace,
1036
				}
1037
				wait() 
1038
				S:play() 
1039
				game:GetService("Debris"):AddItem(S, 10)
1040-
tecks2.Text = text
1040+
1041-
tecks3.Text = text
1041+
1042-
modet.TextTransparency = modet.TextTransparency - .02
1042+
1043-
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
1043+
1044
["LongSound"] = {
1045
		Create = function(id, par, vol, pit) 
1046
			coroutine.resume(coroutine.create(function()
1047
				local S = Create("Sound"){
1048
					Volume = vol,
1049
					Pitch = pit or 1,
1050
					SoundId = id,
1051
					Parent = par or workspace,
1052-
tecks2.Text = text
1052+
1053-
tecks3.Text = text
1053+
1054-
modet.TextTransparency = modet.TextTransparency - .02
1054+
1055-
modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
1055+
				game:GetService("Debris"):AddItem(S, 30)
1056
			end))
1057
		end;
1058
	};
1059
	
1060
	["ParticleEmitter"] = {
1061
		Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1062-
modet.TextTransparency = 0
1062+
1063-
modet.TextStrokeTransparency = 0
1063+
1064-
if toggleTag == false then
1064+
1065-
modet.TextTransparency = 1
1065+
1066-
modet.TextStrokeTransparency = 1
1066+
1067
				Texture = Texture,
1068
				Transparency = Transparency,
1069
				ZOffset = ZOffset,
1070
				Acceleration = Accel,
1071
				Drag = Drag,
1072
				LockedToPart = LockedToPart,
1073-
function bosschatfunc(text,color,watval)
1073+
1074-
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1074+
1075
				Enabled = Enabled,
1076-
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1076+
1077-
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1077+
1078
				Rotation = Rotation,
1079-
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1079+
1080-
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
1080+
1081-
scrg.Name = "Dialog"
1081+
1082-
local txtlb = Instance.new("TextLabel",scrg)
1082+
1083-
txtlb.Text = ""
1083+
1084-
txtlb.Font = "Bodoni"
1084+
1085-
txtlb.TextColor3 = Color3.new(0,0,0)
1085+
1086-
txtlb.TextStrokeTransparency = 0
1086+
1087-
txtlb.BackgroundTransparency = 0.75
1087+
1088-
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1088+
1089-
txtlb.TextStrokeColor3 = color
1089+
1090-
txtlb.TextScaled = true
1090+
1091-
txtlb.Size = UDim2.new(1,0,0.25,0)
1091+
1092-
txtlb.TextXAlignment = "Left"
1092+
1093-
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
1093+
1094-
local txtlb2 = Instance.new("TextLabel",scrg)
1094+
1095-
txtlb2.Text = "star:"
1095+
1096-
txtlb2.Font = "Arcade"
1096+
1097-
txtlb2.TextColor3 = Color3.new(0,0,0)
1097+
1098-
txtlb2.TextStrokeTransparency = 0
1098+
1099-
txtlb2.BackgroundTransparency = 1
1099+
1100-
txtlb2.TextStrokeColor3 = color
1100+
1101-
txtlb2.TextSize = 40
1101+
1102-
txtlb2.Size = UDim2.new(1,0,0.25,0)
1102+
1103-
txtlb2.TextXAlignment = "Left"
1103+
1104-
txtlb2.Position = UDim2.new(0,0,1,0)
1104+
1105-
local fvalen = 0.55
1105+
1106-
local fval = -0.49
1106+
1107
local lunacolor2 = BrickColor.new("Bright blue")
1108
local wepcolor = BrickColor.new("Really black")
1109
local maincolor = BrickColor.new("Really black")
1110-
if chaosmode == true then
1110+
1111-
txtlb.Rotation = math.random(-1,1)
1111+
1112-
txtlb2.Rotation = math.random(-1,1)
1112+
1113-
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1113+
1114-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1114+
1115-
txtlb.TextStrokeColor3 = BrickColor.random().Color
1115+
1116-
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1116+
1117
local extrawingmod2 = Instance.new("Model",char)
1118
1119
function CreateParta(parent,transparency,reflectance,material,brickcolor)
1120
local p = Instance.new("Part")
1121
p.TopSurface = 0
1122
p.BottomSurface = 0
1123-
if scrg.Parent ~= nil then
1123+
1124-
    fvalen = fvalen - 0.0001
1124+
1125-
elseif scrg.Parent == nil then
1125+
1126
p.Reflectance = reflectance
1127
p.CanCollide = false
1128
p.Locked = true
1129
p.BrickColor = brickcolor
1130-
local flol = 1.75
1130+
1131-
local flil = 1.6
1131+
1132
end
1133-
    for i = 0, 9 do
1133+
1134
function CreateMesh(parent,meshtype,x1,y1,z1)
1135-
        fval = fval + 0.05
1135+
1136-
        flol = flol - 0.1
1136+
1137-
        flil = flil - 0.1
1137+
1138-
        txtlb.Text = ""
1138+
1139-
        txtlb.Position = UDim2.new(0,0,flol,0)
1139+
1140-
        txtlb2.Position = UDim2.new(0,0,flil,0)
1140+
1141
function CreateSpecialMesh(parent,meshid,x1,y1,z1)
1142-
    txtlb.Text = text
1142+
1143-
wait(watval)
1143+
1144-
local valinc = 0
1144+
1145
mesh.Scale = Vector3.new(x1,y1,z1)
1146
return mesh
1147-
valinc = valinc + 0.0001
1147+
1148-
flol = flol + valinc
1148+
1149-
flil = flil + valinc
1149+
1150-
txtlb.Rotation = txtlb.Rotation + valinc*20
1150+
1151-
txtlb2.Rotation = txtlb2.Rotation - valinc*50
1151+
1152-
txtlb.Position = UDim2.new(0,0,flol,0)
1152+
1153-
txtlb2.Position = UDim2.new(0,0,flil,0)
1153+
1154-
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1154+
1155-
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1155+
1156-
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1156+
1157-
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1157+
1158-
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1158+
1159
1160-
scrg:Destroy()
1160+
1161
local weld = Instance.new("Weld")
1162
weld.Parent = parent
1163
weld.Part0 = part0
1164
weld.Part1 = part1
1165
weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
1166-
function bosschatfunc2(text,color,watval)
1166+
1167-
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1167+
1168
end
1169-
if v.PlayerGui:FindFirstChild("Dialog")~= nil then
1169+
1170-
v.PlayerGui:FindFirstChild("Dialog"):destroy()
1170+
1171
--------------
1172-
local scrg = Instance.new("ScreenGui",v.PlayerGui)
1172+
1173-
CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
1173+
1174-
scrg.Name = "Dialog"
1174+
1175-
local txtlb = Instance.new("TextLabel",scrg)
1175+
1176-
txtlb.Text = ""
1176+
1177-
txtlb.Font = "Bodoni"
1177+
1178-
txtlb.TextColor3 = Color3.new(0,0,0)
1178+
1179-
txtlb.TextStrokeTransparency = 0
1179+
1180-
txtlb.BackgroundTransparency = 0.75
1180+
1181-
txtlb.BackgroundColor3 = Color3.new(0,0,0)
1181+
1182-
txtlb.TextStrokeColor3 = color
1182+
1183-
txtlb.TextScaled = true
1183+
1184-
txtlb.Size = UDim2.new(1,0,0.25,0)
1184+
1185-
txtlb.TextXAlignment = "Left"
1185+
1186-
txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
1186+
1187-
local txtlb2 = Instance.new("TextLabel",scrg)
1187+
1188-
txtlb2.Text = "User:"
1188+
1189-
txtlb2.Font = "Arcade"
1189+
1190-
txtlb2.TextColor3 = Color3.new(0,0,0)
1190+
1191-
txtlb2.TextStrokeTransparency = 0
1191+
1192-
txtlb2.BackgroundTransparency = 1
1192+
1193-
txtlb2.TextStrokeColor3 = color
1193+
1194-
txtlb2.TextSize = 40
1194+
1195-
txtlb2.Size = UDim2.new(1,0,0.25,0)
1195+
1196-
txtlb2.TextXAlignment = "Left"
1196+
1197-
txtlb2.Position = UDim2.new(0,0,1,0)
1197+
1198-
local fvalen = 0.55
1198+
1199-
local fval = -0.49
1199+
1200
local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
1201
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))
1202
1203-
if chaosmode == true then
1203+
1204-
txtlb.Rotation = math.random(-1,1)
1204+
1205-
txtlb2.Rotation = math.random(-1,1)
1205+
1206-
txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1206+
1207-
txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
1207+
1208-
txtlb.TextStrokeColor3 = BrickColor.random().Color
1208+
1209-
txtlb2.TextStrokeColor3 = BrickColor.random().Color
1209+
1210
CreateMesh(rn,"Brick",0.25,0.1,0.1)
1211
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))
1212
end
1213
1214
handlex = CreateParta(mw2,1,1,"Neon",maincolor)
1215
CreateMesh(handle,"Brick",0,0,0)
1216-
if scrg.Parent ~= nil then
1216+
1217-
    fvalen = fvalen - 0.0001
1217+
1218-
elseif scrg.Parent == nil then
1218+
1219
	valuaring = valuaring + 10
1220
rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1221
CreateMesh(rn,"Brick",0.5,0.2,0.2)
1222
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))
1223-
local flol = 1.75
1223+
1224-
local flil = 1.6
1224+
1225
1226-
    for i = 0, 9 do
1226+
1227
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1228-
        fval = fval + 0.05
1228+
1229-
        flol = flol - 0.1
1229+
1230-
        flil = flil - 0.1
1230+
1231-
        txtlb.Text = ""
1231+
1232-
        txtlb.Position = UDim2.new(0,0,flol,0)
1232+
1233-
        txtlb2.Position = UDim2.new(0,0,flil,0)
1233+
1234
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))
1235-
    txtlb.Text = text
1235+
1236-
wait(watval)
1236+
1237-
local valinc = 0
1237+
1238
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))
1239
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1240-
valinc = valinc + 0.0001
1240+
1241-
flol = flol + valinc
1241+
1242-
flil = flil + valinc
1242+
1243-
txtlb.Rotation = txtlb.Rotation + valinc*20
1243+
1244-
txtlb2.Rotation = txtlb2.Rotation - valinc*50
1244+
1245-
txtlb.Position = UDim2.new(0,0,flol,0)
1245+
1246-
txtlb2.Position = UDim2.new(0,0,flil,0)
1246+
1247-
txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
1247+
1248-
txtlb.TextTransparency = txtlb.TextTransparency + 0.01
1248+
1249-
txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
1249+
1250-
txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
1250+
1251-
txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
1251+
1252
tl1.Attachment0 = A0
1253-
scrg:Destroy()
1253+
tl1.Attachment1 = A1
1254
--tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
1255
tl1.LightEmission = 1
1256
tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1257
tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1258
tl1.Lifetime = 0.6
1259
1260
1261
local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
1262
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1263
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))
1264
1265
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1266
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1267
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))
1268
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1269
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1270
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))
1271
A0 = Instance.new('Attachment',wed)
1272
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1273
CreateMesh(wed,"Wedge",0.05,0.5,3)
1274
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))
1275
A1 = Instance.new('Attachment',wed)
1276
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1277
CreateMesh(wed,"Wedge",0.05,3,0.5)
1278
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))
1279
1280
tl2 = Instance.new('Trail',wed)
1281
tl2.Attachment0 = A0
1282
tl2.Attachment1 = A1
1283
--tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
1284
tl2.LightEmission = 1
1285
tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1286
tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1287
tl2.Lifetime = 0.6
1288
1289
local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
1290
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1291
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))
1292
1293
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1294
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1295
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))
1296
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1297
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1298
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))
1299
A0 = Instance.new('Attachment',wed)
1300
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1301
CreateMesh(wed,"Wedge",0.05,0.5,3)
1302
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))
1303
A1 = Instance.new('Attachment',wed)
1304
wed = CreateParta(mw1,0,0,"Neon",halocolor)
1305
CreateMesh(wed,"Wedge",0.05,3,0.5)
1306
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))
1307
1308
tl3 = Instance.new('Trail',wed)
1309
tl3.Attachment0 = A0
1310
tl3.Attachment1 = A1
1311
--tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
1312
tl3.LightEmission = 1
1313
tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1314
tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1315
tl3.Lifetime = 0.6
1316
1317
tl1.Enabled = false
1318
tl2.Enabled = false
1319
tl3.Enabled = false
1320
local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
1321
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1322
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))
1323
1324
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1325
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1326
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))
1327
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1328
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1329
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))
1330
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1331
CreateMesh(wed,"Wedge",0.05,0.5,3)
1332
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))
1333
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1334
CreateMesh(wed,"Wedge",0.05,3,0.5)
1335
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))
1336
1337
local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
1338
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1339
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))
1340-
	["TimeSound"] = {
1340+
1341-
		Create = function(id, par, vol, pit, timepos) 
1341+
1342
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1343
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))
1344
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1345
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1346
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))
1347
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1348-
                                        TimePosition = timepos,
1348+
1349
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))
1350
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1351
CreateMesh(wed,"Wedge",0.05,3,0.5)
1352
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))
1353
1354
local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
1355
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1356
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))
1357-
		["EchoSound"] = {
1357+
1358-
		Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) 
1358+
1359
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1360-
				local Sas = Create("Sound"){
1360+
1361
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1362-
                    Name = "EffectSoundo",
1362+
1363
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))
1364
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1365-
                    TimePosition = timepos,
1365+
1366
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))
1367
wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
1368-
				local E = Create("EchoSoundEffect"){
1368+
1369-
					Delay = echodelay,
1369+
1370-
                    Name = "Echo",
1370+
1371-
					Feedback = fedb,
1371+
1372-
                    DryLevel = dryl,
1372+
1373-
					Parent = Sas,
1373+
1374
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1375
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))
1376-
				Sas:play() 
1376+
1377-
				game:GetService("Debris"):AddItem(Sas, delays)
1377+
1378
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1379
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))
1380
A0 = Instance.new('Attachment',wed)
1381
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1382
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1383
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))
1384
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1385
CreateMesh(wed,"Wedge",0.05,0.5,3)
1386
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))
1387
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1388
CreateMesh(wed,"Wedge",0.05,3,0.5)
1389
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))
1390
A1 = Instance.new('Attachment',wed)
1391
1392
tr1 = Instance.new('Trail',wed)
1393-
				game:GetService("Debris"):AddItem(S, 60)
1393+
tr1.Attachment0 = A0
1394
tr1.Attachment1 = A1
1395
--tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
1396
tr1.LightEmission = 1
1397
tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1398
tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1399
tr1.Lifetime = 0.6
1400
1401
local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
1402
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1403
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))
1404
1405
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1406
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1407
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))
1408
A0 = Instance.new('Attachment',wed)
1409
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1410
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1411
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))
1412
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1413
CreateMesh(wed,"Wedge",0.05,0.5,3)
1414
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))
1415
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1416
CreateMesh(wed,"Wedge",0.05,3,0.5)
1417
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))
1418
A1 = Instance.new('Attachment',wed)
1419
1420
tr2 = Instance.new('Trail',wed)
1421
tr2.Attachment0 = A0
1422
tr2.Attachment1 = A1
1423
--tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
1424
tr2.LightEmission = 1
1425
tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1426
tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1427
tr2.Lifetime = 0.6
1428
1429
local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
1430
CreateMesh(handle,"Brick",0.5,0.5,0.5)
1431
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))
1432
1433
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1434
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1435
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))
1436
A0 = Instance.new('Attachment',wed)
1437
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1438
CreateMesh(wed,"Wedge",0.05,0.5,0.5)
1439
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))
1440
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1441
CreateMesh(wed,"Wedge",0.05,0.5,3)
1442
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))
1443
wed = CreateParta(mw2,0,0,"Neon",halocolor)
1444
CreateMesh(wed,"Wedge",0.05,3,0.5)
1445
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))
1446
A1 = Instance.new('Attachment',wed)
1447
1448
tr3 = Instance.new('Trail',wed)
1449
tr3.Attachment0 = A0
1450
tr3.Attachment1 = A1
1451
--tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
1452
tr3.LightEmission = 1
1453
tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
1454
tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
1455-
gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
1455+
1456-
  local gui = it(GuiType)
1456+
1457-
  gui.Parent = parent
1457+
1458-
  gui.Text = text
1458+
1459-
  gui.BackgroundTransparency = backtrans
1459+
1460-
  gui.BackgroundColor3 = backcol
1460+
1461-
  gui.SizeConstraint = "RelativeXY"
1461+
1462-
  gui.TextXAlignment = "Center"
1462+
1463-
  gui.TextYAlignment = "Center"
1463+
1464-
  gui.Position = pos
1464+
1465-
  gui.Size = size
1465+
1466-
  gui.Font = "SourceSans"
1466+
1467-
  gui.FontSize = "Size14"
1467+
1468-
  gui.TextWrapped = false
1468+
1469-
  gui.TextStrokeTransparency = 0
1469+
1470-
  gui.TextColor = BrickColor.new("White")
1470+
1471-
  return gui
1471+
1472
CreateMesh(wed,"Wedge",0.05,3,0.5)
1473-
--------------------------- GUI STUFF
1473+
1474-
local basgui = it("GuiMain")
1474+
1475-
basgui.Parent = plr.PlayerGui
1475+
1476-
basgui.Name = "VISgui"
1476+
1477-
local fullscreenz = it("Frame")
1477+
1478-
fullscreenz.Parent = basgui
1478+
1479-
fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
1479+
1480-
fullscreenz.BackgroundTransparency = 1
1480+
1481-
fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
1481+
1482-
fullscreenz.Size = UDim2.new(1, 0, 1, 0)
1482+
1483-
fullscreenz.Position = UDim2.new(0, 0, 0, 0)
1483+
1484-
local imgl2 = Instance.new("ImageLabel",fullscreenz)
1484+
1485-
imgl2.BackgroundTransparency = 1
1485+
1486-
imgl2.BorderSizePixel = 0
1486+
1487-
imgl2.ImageTransparency = 0.5
1487+
1488-
imgl2.Position = UDim2.new(0.70,-200,0.50,-200)
1488+
1489-
imgl2.Size = UDim2.new(0,1000,0,1000)
1489+
1490-
imgl2.Image = "rbxassetid://2344830904"
1490+
1491-
local techc = imgl2:Clone()
1491+
1492-
techc.Parent = fullscreenz
1492+
1493-
techc.ImageTransparency = 0
1493+
1494-
techc.Size = UDim2.new(0,900,0,900)
1494+
1495-
techc.Position = UDim2.new(0.70,-150,0.50,-150)
1495+
1496-
techc.Image = "rbxassetid://2092248396"
1496+
1497-
local circl = imgl2:Clone()
1497+
1498-
circl.Parent = fullscreenz
1498+
1499-
circl.ImageTransparency = 0
1499+
1500-
circl.Size = UDim2.new(0,550,0,550)
1500+
1501-
circl.Position = UDim2.new(0.70,25,0.50,25)
1501+
1502-
circl.Image = "rbxassetid://2312119891"
1502+
1503-
local circl2 = imgl2:Clone()
1503+
1504-
circl2.Parent = fullscreenz
1504+
1505-
circl2.ImageTransparency = 0
1505+
1506-
circl2.Size = UDim2.new(0,700,0,700)
1506+
1507-
circl2.Position = UDim2.new(0.70,-50,0.50,-50)
1507+
1508-
circl2.Image = "rbxassetid://2312119891"
1508+
1509-
local imgl2b = imgl2:Clone()
1509+
1510-
imgl2b.Parent = fullscreenz
1510+
1511-
imgl2b.ImageTransparency = 0
1511+
1512-
imgl2b.Size = UDim2.new(0,800,0,800)
1512+
1513-
imgl2b.Position = UDim2.new(0.70,-100,0.50,-100)
1513+
--[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1514-
imgl2b.ImageColor3 = Color3.new(0,0,0)
1514+
1515-
local ned = Instance.new("TextLabel",fullscreenz)
1515+
1516-
ned.ZIndex = 2
1516+
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1517-
ned.Font = "Bodoni"
1517+
1518-
ned.BackgroundTransparency = 1
1518+
1519-
ned.BorderSizePixel = 0.65
1519+
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1520-
ned.Size = UDim2.new(0.6,0,0.6,0)
1520+
1521-
ned.Position = UDim2.new(0,0,0,0)
1521+
1522-
ned.TextScaled = true
1522+
1523-
ned.TextStrokeTransparency = 0
1523+
1524-
ned.Text = "Mayhem"
1524+
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1525-
ned.TextSize = 48
1525+
1526-
ned.Rotation = 1
1526+
1527-
ned.TextXAlignment = "Left"
1527+
1528-
ned.TextYAlignment = "Top"
1528+
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1529
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1530
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))
1531
1532
1533
1534
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1535
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1536
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))
1537
1538
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1539
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1540
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))
1541
1542
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1543
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1544
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))
1545
1546
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1547
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1548
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))
1549
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1550
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1551
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))
1552
--- second ring
1553
1554
ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
1555
CreateMesh(ran,"Wedge",1.02,1.02,1.02)
1556
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))
1557
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1558
CreateMesh(ran,"Wedge",0.9,0.9,1.025)
1559
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))
1560
ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1561
CreateMesh(ran,"Wedge",1.025,0.9,0.9)
1562
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))
1563
1564
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1565
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1566
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))
1567
1568
gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1569
CreateMesh(gan,"Brick",1.075,0.1,1.075)
1570
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))
1571
1572
1573
1574
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1575
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1576
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))
1577
1578
gan = CreateParta(m2,0,0,"Neon",halocolor2)
1579
CreateMesh(gan,"Brick",1.095,0.035,1.095)
1580
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))
1581
1582
gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
1583
CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
1584
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))
1585
1586
star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
1587
CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
1588
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))
1589
starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
1590
CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
1591
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))]]--
1592
1593
1594
1595
1596
for i, v in pairs(m:GetChildren()) do
1597
if v:IsA("Part") then
1598
v.BrickColor = BrickColor.new("Really black")
1599
v.Material = "Glass"
1600
end
1601
end
1602
for i, v in pairs(m2:GetChildren()) do
1603
if v:IsA("Part") then
1604
v.BrickColor = BrickColor.new("Crimson")
1605
v.Material = "Granite"
1606
end
1607
end
1608
for i, v in pairs(m3:GetChildren()) do
1609
if v:IsA("Part") then
1610
v.BrickColor = BrickColor.new("Really red")
1611
v.Material = "Neon"
1612
end
1613
end
1614
for i, v in pairs(mw2:GetChildren()) do
1615
if v:IsA("Part") then
1616
v.BrickColor = BrickColor.new("Really red")
1617
v.Material = "Neon"
1618
end
1619
end
1620
for i, v in pairs(mw1:GetChildren()) do
1621
if v:IsA("Part") then
1622
v.Transparency = 1
1623
v.BrickColor = BrickColor.new("Really red")
1624
v.Material = "Neon"
1625
end
1626
end
1627
for i, v in pairs(extrawingmod1:GetChildren()) do
1628
if v:IsA("Part") then
1629
v.Transparency = 1
1630
v.BrickColor = BrickColor.new("White")
1631
v.Material = "Neon"
1632
end
1633
end
1634
for i, v in pairs(extrawingmod2:GetChildren()) do
1635
if v:IsA("Part") then
1636
v.Transparency = 1
1637
v.BrickColor = BrickColor.new("White")
1638
v.Material = "Neon"
1639
end
1640
end
1641
local MAINRUINCOLOR = BrickColor.new("Really red")
1642
1643
function RemoveOutlines(part)
1644
  part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1645
end
1646
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1647
  local Part = Create("Part")({
1648
    Parent = Parent,
1649
    Reflectance = Reflectance,
1650
    Transparency = Transparency,
1651
    CanCollide = false,
1652
    Locked = true,
1653
    BrickColor = BrickColor.new(tostring(BColor)),
1654
    Name = Name,
1655
    Size = Size,
1656
    Material = Material
1657
  })
1658
  Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
1659
  RemoveOutlines(Part)
1660
  return Part
1661
end
1662
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1663
  local Msh = Create(Mesh)({
1664
    Parent = Part,
1665
    Offset = OffSet,
1666
    Scale = Scale
1667
  })
1668
  if Mesh == "SpecialMesh" then
1669
    Msh.MeshType = MeshType
1670
    Msh.MeshId = MeshId
1671
  end
1672
  return Msh
1673
end
1674
function CreateWeld(Parent, Part0, Part1, C0, C1)
1675
  local Weld = Create("Weld")({
1676
    Parent = Parent,
1677
    Part0 = Part0,
1678
    Part1 = Part1,
1679
    C0 = C0,
1680
    C1 = C1
1681
  })
1682
  return Weld
1683
end
1684
1685
Player=game:GetService("Players").LocalPlayer
1686
Character=Player.Character 
1687-
A0.Position = vt(0,0.25,0.25)
1687+
1688
Backpack=Player.Backpack 
1689
Torso=Character.Torso 
1690
Head=Character.Head 
1691
Humanoid=Character.Humanoid
1692-
A1.Position = vt(0,-0.25,-2)
1692+
1693
LeftArm=Character["Left Arm"] 
1694
LeftLeg=Character["Left Leg"] 
1695
RightArm=Character["Right Arm"] 
1696
RightLeg=Character["Right Leg"] 
1697
LS=Torso["Left Shoulder"] 
1698-
tl1.Attachment0 = A1
1698+
1699-
tl1.Attachment1 = A0
1699+
1700-
tl1.Texture = "rbxassetid://2108945559"
1700+
1701
Face = Head.face
1702
Neck=Torso.Neck
1703
it=Instance.new
1704
attacktype=1
1705
vt=Vector3.new
1706
cf=CFrame.new
1707
euler=CFrame.fromEulerAnglesXYZ
1708
angles=CFrame.Angles
1709
cloaked=false
1710
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1711
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
1712
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
1713
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
1714
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
1715
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
1716
RootPart=Character.HumanoidRootPart
1717
RootJoint=RootPart.RootJoint
1718-
A0.Position = vt(0,0.25,0.25)
1718+
1719
attack = false 
1720
attackdebounce = false 
1721
deb=false
1722
equipped=true
1723-
A1.Position = vt(0,-0.25,-2)
1723+
1724
MMouse=nil
1725
combo=0
1726
mana=0
1727
trispeed=.2
1728
attackmode='none'
1729-
tl2.Attachment0 = A1
1729+
1730-
tl2.Attachment1 = A0
1730+
1731-
tl2.Texture = "rbxassetid://2108945559"
1731+
1732
local gun=false
1733
local shoot=false
1734
local sine = 0
1735
local change = 1
1736
player=nil 
1737
1738
1739
local toggleTag = true
1740
local txt = Instance.new("BillboardGui", Head)
1741
txt.Adornee = nil
1742
txt.Name = "NameDetect"
1743
txt.Size = UDim2.new(4, 0, 1.2, 0)
1744
txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
1745
local text = Instance.new("TextLabel", txt)
1746
text.Size = UDim2.new(10/2, 0, 7/2, 0)
1747
text.FontSize = "Size8"
1748-
A0.Position = vt(0,0.25,0.25)
1748+
text.TextScaled = true
1749
text.TextTransparency = 0
1750
text.BackgroundTransparency = 1 
1751
text.TextTransparency = 0
1752
text.TextStrokeTransparency = 0
1753-
A1.Position = vt(0,-0.25,-2)
1753+
text.Font = "Fantasy"
1754
text.TextStrokeColor3 = Color3.new(1,0,0)
1755
text.TextColor3 = Color3.new(0,0,0)
1756
text.Text = "Havoc"
1757
1758
1759-
tl3.Attachment0 = A1
1759+
function RecolorTextAndRename(name,col1,col2)
1760-
tl3.Attachment1 = A0
1760+
text.TextStrokeColor3 = col2
1761-
tl3.Texture = "rbxassetid://2108945559"
1761+
text.TextColor3 = col1
1762
text.Text = name
1763
end
1764
mouse=Player:GetMouse()
1765
--save shoulders 
1766
RSH, LSH=nil, nil 
1767
--welds 
1768
RW, LW=Instance.new("Weld"), Instance.new("Weld") 
1769
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
1770
LH=Torso["Left Hip"]
1771
RH=Torso["Right Hip"]
1772
TorsoColor=Torso.BrickColor
1773
function NoOutline(Part)
1774
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1775
end
1776
player=Player 
1777
ch=Character
1778
RSH=ch.Torso["Right Shoulder"] 
1779
LSH=ch.Torso["Left Shoulder"] 
1780
-- 
1781
RSH.Parent=nil 
1782
LSH.Parent=nil 
1783
-- 
1784
RW.Name="Right Shoulder"
1785
RW.Part0=ch.Torso 
1786
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
1787
RW.C1=cf(0, 0.5, 0) 
1788
RW.Part1=ch["Right Arm"] 
1789
RW.Parent=ch.Torso 
1790
-- 
1791
LW.Name="Left Shoulder"
1792
LW.Part0=ch.Torso 
1793
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) 
1794
LW.C1=cf(0, 0.5, 0) 
1795
LW.Part1=ch["Left Arm"] 
1796
LW.Parent=ch.Torso 
1797
1798
local Stats=Instance.new("BoolValue")
1799
Stats.Name="Stats"
1800
Stats.Parent=Character
1801
local Atk=Instance.new("NumberValue")
1802
Atk.Name="Damage"
1803
Atk.Parent=Stats
1804
Atk.Value=1
1805
local Def=Instance.new("NumberValue")
1806
Def.Name="Defense"
1807
Def.Parent=Stats
1808
Def.Value=1
1809
local Speed=Instance.new("NumberValue")
1810
Speed.Name="Speed"
1811
Speed.Parent=Stats
1812
Speed.Value=1
1813
local Mvmt=Instance.new("NumberValue")
1814
Mvmt.Name="Movement"
1815
Mvmt.Parent=Stats
1816
Mvmt.Value=1
1817
1818
local donum=0
1819
 
1820
1821
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
1822
local fp=it("Part")
1823
fp.formFactor=formfactor 
1824
fp.Parent=parent
1825
fp.Reflectance=reflectance
1826
fp.Transparency=transparency
1827
fp.CanCollide=false 
1828
fp.Locked=true
1829
fp.BrickColor=brickcolor
1830
fp.Name=name
1831-
A0.Position = vt(0,0.25,0.25)
1831+
1832
fp.Position=Torso.Position 
1833
NoOutline(fp)
1834
fp.Material="SmoothPlastic"
1835
fp:BreakJoints()
1836
return fp 
1837
end 
1838
 
1839
function mesh(Mesh,part,meshtype,meshid,offset,scale)
1840
local mesh=it(Mesh) 
1841
mesh.Parent=part
1842-
A1.Position = vt(0,2,0.25)
1842+
1843
mesh.MeshType=meshtype
1844
if meshid~="nil" then
1845-
tr1.Attachment0 = A1
1845+
1846-
tr1.Attachment1 = A0
1846+
1847-
tr1.Texture = "rbxassetid://2108945559"
1847+
1848
mesh.Offset=offset
1849
mesh.Scale=scale
1850
return mesh
1851
end
1852
 
1853
function weld(parent,part0,part1,c0)
1854
local weld=it("Weld") 
1855
weld.Parent=parent
1856
weld.Part0=part0 
1857
weld.Part1=part1 
1858
weld.C0=c0
1859
return weld
1860
end
1861-
A0.Position = vt(0,0.25,0.25)
1861+
1862
local Color1=Torso.BrickColor
1863
1864
local bodvel=Instance.new("BodyVelocity")
1865
local bg=Instance.new("BodyGyro")
1866
1867
local ArtificialHB = Instance.new("BindableEvent", script)
1868
ArtificialHB.Name = "Heartbeat"
1869
1870
script:WaitForChild("Heartbeat")
1871
1872-
A1.Position = vt(0,2,0.25)
1872+
local tf = 0
1873
local allowframeloss = false
1874
local tossremainder = false
1875-
tr2.Attachment0 = A1
1875+
local lastframe = tick()
1876-
tr2.Attachment1 = A0
1876+
local frame = 1/60
1877-
tr2.Texture = "rbxassetid://2108945559"
1877+
ArtificialHB:Fire()
1878
1879
game:GetService("RunService").Heartbeat:connect(function(s, p)
1880
	tf = tf + s
1881
	if tf >= frame then
1882
		if allowframeloss then
1883
			script.Heartbeat:Fire()
1884
			lastframe = tick()
1885
		else
1886
			for i = 1, math.floor(tf / frame) do
1887
				ArtificialHB:Fire()
1888
			end
1889
			lastframe = tick()
1890
		end
1891-
A0.Position = vt(0,0.25,0.25)
1891+
1892
			tf = 0
1893
		else
1894
			tf = tf - frame * math.floor(tf / frame)
1895
		end
1896
	end
1897
end)
1898
1899
function swait(num)
1900
	if num == 0 or num == nil then
1901
		ArtificialHB.Event:wait()
1902-
A1.Position = vt(0,2,0.25)
1902+
	else
1903
		for i = 0, num do
1904
			ArtificialHB.Event:wait()
1905-
tr3.Attachment0 = A1
1905+
1906-
tr3.Attachment1 = A0
1906+
1907-
tr3.Texture = "rbxassetid://2108945559"
1907+
1908
1909
-------- RAINBOW LEAVE IT TO ME
1910
local r = 255
1911
local g = 0
1912
local b = 0
1913
coroutine.resume(coroutine.create(function()
1914
while wait() do
1915
	for i = 0, 254/5 do
1916
		swait()
1917
		g = g + 5
1918
	end
1919
	for i = 0, 254/5 do
1920
		swait()
1921
		r = r - 5
1922
	end
1923
	for i = 0, 254/5 do
1924
		swait()
1925
		b = b + 5
1926
	end
1927
	for i = 0, 254/5 do
1928
		swait()
1929
		g = g - 5
1930
	end
1931
	for i = 0, 254/5 do
1932
		swait()
1933
		r = r + 5
1934
	end
1935
	for i = 0, 254/5 do
1936
		swait()
1937
		b = b - 5
1938
	end
1939
end
1940
end))
1941
 
1942
 
1943
so = function(id,par,vol,pit) 
1944
coroutine.resume(coroutine.create(function()
1945
local sou = Instance.new("Sound",par or workspace)
1946
sou.Volume=vol
1947
sou.Pitch=pit or 1
1948
sou.SoundId=id
1949
swait() 
1950
sou:play() 
1951
game:GetService("Debris"):AddItem(sou,6)
1952
end))
1953
end
1954
 
1955
function clerp(a,b,t) 
1956
local qa = {QuaternionFromCFrame(a)}
1957
local qb = {QuaternionFromCFrame(b)} 
1958
local ax, ay, az = a.x, a.y, a.z 
1959
local bx, by, bz = b.x, b.y, b.z
1960
local _t = 1-t
1961
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1962
end 
1963
 
1964
function QuaternionFromCFrame(cf) 
1965
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1966
local trace = m00 + m11 + m22 
1967
if trace > 0 then 
1968-
ran = CreateParta(m2,0,0,"Glass",wepcolor)
1968+
1969
local recip = 0.5/s 
1970
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1971-
ran = CreateParta(m,0,0,"Glass",wepcolor)
1971+
1972
local i = 0 
1973
if m11 > m00 then
1974-
ran = CreateParta(m,0,0,"Glass",wepcolor)
1974+
1975
end
1976
if m22 > (i == 0 and m00 or m11) then 
1977
i = 2 
1978
end 
1979-
gan = CreateParta(m,0,0,"Glass",wepcolor)
1979+
1980
local s = math.sqrt(m00-m11-m22+1) 
1981
local recip = 0.5/s 
1982
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1983-
gan = CreateParta(m,0,0,"Glass",wepcolor)
1983+
1984
local s = math.sqrt(m11-m22-m00+1) 
1985
local recip = 0.5/s 
1986
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1987
elseif i == 2 then 
1988
local s = math.sqrt(m22-m00-m11+1) 
1989
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1990
end 
1991
end 
1992
end
1993
 
1994
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1995
local xs, ys, zs = x + x, y + y, z + z 
1996
local wx, wy, wz = w*xs, w*ys, w*zs 
1997-
gane = CreateParta(m3,0,0,"Glass",lunacolor2)
1997+
1998
local xy = x*ys 
1999
local xz = x*zs 
2000
local yy = y*ys 
2001-
star = CreateParta(m,0,0,"Glass",wepcolor)
2001+
2002
local zz = z*zs 
2003
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
2004
end
2005
 
2006
function QuaternionSlerp(a, b, t) 
2007
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
2008
local startInterp, finishInterp; 
2009-
ran = CreateParta(m2,0,0,"Granite",wepcolor)
2009+
2010
if (1 - cosTheta) > 0.0001 then 
2011
local theta = math.acos(cosTheta) 
2012-
ran = CreateParta(m,0,0,"Granite",wepcolor)
2012+
2013
startInterp = math.sin((1-t)*theta)*invSinTheta 
2014
finishInterp = math.sin(t*theta)*invSinTheta  
2015-
ran = CreateParta(m,0,0,"Granite",wepcolor)
2015+
2016
startInterp = 1-t 
2017
finishInterp = t 
2018
end 
2019-
gan = CreateParta(m,0,0,"Granite",wepcolor)
2019+
2020
if (1+cosTheta) > 0.0001 then 
2021
local theta = math.acos(-cosTheta) 
2022
local invSinTheta = 1/math.sin(theta) 
2023-
gan = CreateParta(m,0,0,"Granite",wepcolor)
2023+
2024
finishInterp = math.sin(t*theta)*invSinTheta 
2025
else 
2026
startInterp = t-1 
2027
finishInterp = t 
2028
end 
2029
end 
2030
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
2031
end
2032
2033
local function CFrameFromTopBack(at, top, back)
2034
local right = top:Cross(back)
2035
return CFrame.new(at.x, at.y, at.z,
2036
right.x, top.x, back.x,
2037-
gane = CreateParta(m3,0,0,"Granite",lunacolor2)
2037+
2038
right.z, top.z, back.z)
2039
end
2040
2041-
star = CreateParta(m,0,0,"Granite",wepcolor)
2041+
2042
local edg1 = (c-a):Dot((b-a).unit)
2043
local edg2 = (a-b):Dot((c-b).unit)
2044-
starl = CreateParta(m3,0,0,"Granite",starcolor)
2044+
2045
if edg1 <= (b-a).magnitude and edg1 >= 0 then
2046-
CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
2046+
2047
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
2048
a, b, c = b, c, a
2049
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
2050
a, b, c = c, a, b
2051
else
2052
assert(false, "unreachable")
2053
end
2054
 
2055
local len1 = (c-a):Dot((b-a).unit)
2056
local len2 = (b-a).magnitude - len1
2057
local width = (a + (b-a).unit*len1 - c).magnitude
2058
 
2059
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
2060
 
2061
local list = {}
2062
 
2063
if len1 > 0.01 then
2064
local w1 = Instance.new('WedgePart', m)
2065
game:GetService("Debris"):AddItem(w1,5)
2066
w1.Material = "SmoothPlastic"
2067
w1.FormFactor = 'Custom'
2068
w1.BrickColor = BrickColor.new("Really red")
2069
w1.Transparency = 0
2070
w1.Reflectance = 0
2071
w1.Material = "SmoothPlastic"
2072
w1.CanCollide = false
2073
local l1 = Instance.new("PointLight",w1)
2074
l1.Color = Color3.new(170,0,0)
2075
NoOutline(w1)
2076
local sz = Vector3.new(0.2, width, len1)
2077
w1.Size = sz
2078-
v.BrickColor = BrickColor.new("Really blue")
2078+
2079
sp.MeshType = "Wedge"
2080
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
2081
w1:BreakJoints()
2082
w1.Anchored = true
2083
w1.Parent = workspace
2084-
v.Transparency = 0.8
2084+
2085
table.insert(Effects,{w1,"Disappear",.01})
2086
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
2087
table.insert(list,w1)
2088
end
2089
 
2090
if len2 > 0.01 then
2091-
v.Transparency = 0.8
2091+
2092-
v.BrickColor = BrickColor.new("Really blue")
2092+
2093
w2.Material = "SmoothPlastic"
2094
w2.FormFactor = 'Custom'
2095
w2.BrickColor = BrickColor.new("Really red")
2096-
local MAINRUINCOLOR = BrickColor.new("Navy blue")
2096+
2097
w2.Reflectance = 0
2098-
--clothes
2098+
2099-
local Hair = Instance.new("Part", char)
2099+
2100-
Hair.Name = "Hair"
2100+
2101-
Hair.CanCollide = false
2101+
2102-
Hair.BrickColor = BrickColor.new("Institutional white")
2102+
2103-
Hair.Transparency = 0
2103+
2104-
Hair.Material = "Plastic"
2104+
2105-
Hair.Size = Vector3.new(1, 1, 2)
2105+
2106-
Hair.TopSurface = Enum.SurfaceType.Smooth
2106+
2107-
Hair.BottomSurface = Enum.SurfaceType.Smooth
2107+
2108
w2:BreakJoints()
2109-
local Weld = Instance.new("Weld", Hair)
2109+
2110-
Weld.Part0 = hed
2110+
2111-
Weld.Part1 = Hair
2111+
2112-
Weld.C1 = CFrame.new(0, -.6, 0)
2112+
2113-
Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
2113+
2114
table.insert(list,w2)
2115-
local M2 = Instance.new("SpecialMesh")
2115+
2116-
M2.Parent = Hair
2116+
2117-
M2.MeshId = "http://www.roblox.com/asset/?id=16627529"
2117+
2118-
M2.TextureId = "http://www.roblox.com/asset/?id=16627494"
2118+
2119-
M2.Scale = Vector3.new(1, 1, 1)
2119+
2120
function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
2121
  if hit.Parent == nil then
2122
    return
2123
  end
2124
  local h = hit.Parent:FindFirstChildOfClass("Humanoid")
2125
  for _, v in pairs(hit.Parent:children()) do
2126
    if v:IsA("Humanoid") then
2127
      h = v
2128
    end
2129
  end
2130
  if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
2131
    if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
2132
      return
2133
    end
2134
    local c = Create("ObjectValue")({
2135
      Name = "creator",
2136
      Value = game:service("Players").LocalPlayer,
2137
      Parent = h
2138
    })
2139
    game:GetService("Debris"):AddItem(c, 0.5)
2140
    if HitSound ~= nil and HitPitch ~= nil then
2141
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
2142
    end
2143
    local Damage = math.random(minim, maxim)
2144
    local blocked = false
2145
    local block = hit.Parent:findFirstChild("Block")
2146
    if block ~= nil and block.className == "IntValue" and block.Value > 0 then
2147-
function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
2147+
2148
      block.Value = block.Value - 1
2149
      print(block.Value)
2150
    end
2151
    if blocked == false then
2152
      HitHealth = h.Health
2153
      h.Health = h.Health - Damage
2154
      if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
2155
        print("gained kill")
2156
      end
2157
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2158
    else
2159
      h.Health = h.Health - Damage / 2
2160
      ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
2161
    end
2162
    if Type == "Knockdown" then
2163
      local hum = hit.Parent.Humanoid
2164
      hum.PlatformStand = true
2165
      coroutine.resume(coroutine.create(function(HHumanoid)
2166
        swait(1)
2167
        HHumanoid.PlatformStand = false
2168
      end), hum)
2169
      local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
2170
      local bodvol = Create("BodyVelocity")({
2171
        velocity = angle * knockback,
2172
        P = 5000,
2173
        maxForce = Vector3.new(8000, 8000, 8000),
2174
        Parent = hit
2175
      })
2176
      local rl = Create("BodyAngularVelocity")({
2177
        P = 3000,
2178
        maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
2179
        angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
2180
        Parent = hit
2181
      })
2182
      game:GetService("Debris"):AddItem(bodvol, 0.5)
2183
      game:GetService("Debris"):AddItem(rl, 0.5)
2184
    elseif Type == "Normal" then
2185
      local vp = Create("BodyVelocity")({
2186
        P = 500,
2187
        maxForce = Vector3.new(math.huge, 0, math.huge),
2188
        velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
2189
      })
2190
      if knockback > 0 then
2191
        vp.Parent = hit.Parent.Head
2192
      end
2193
      game:GetService("Debris"):AddItem(vp, 0.5)
2194
    elseif Type == "Up" then
2195
      local bodyVelocity = Create("BodyVelocity")({
2196
        velocity = Vector3.new(0, 20, 0),
2197
        P = 5000,
2198
        maxForce = Vector3.new(8000, 8000, 8000),
2199
        Parent = hit
2200
      })
2201
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2202
      local bodyVelocity = Create("BodyVelocity")({
2203
        velocity = Vector3.new(0, 20, 0),
2204
        P = 5000,
2205
        maxForce = Vector3.new(8000, 8000, 8000),
2206
        Parent = hit
2207
      })
2208
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2209
    elseif Type == "Leech" then
2210
      local hum = hit.Parent.Humanoid
2211
      if hum ~= nil then
2212
        for i = 0, 2 do
2213
          Effects.Sphere.Create(BrickColor.new("Really 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)
2214
        end
2215
        Humanoid.Health = Humanoid.Health + 10
2216
      end
2217
    elseif Type == "UpKnock" then
2218
      local hum = hit.Parent.Humanoid
2219
      hum.PlatformStand = true
2220-
function RecolorTextAndRename(name,col1,col2,font)
2220+
2221-
modet.TextStrokeColor3 = col2
2221+
2222-
modet.TextColor3 = col1
2222+
2223-
modet.Font = font
2223+
2224-
modet.Text = name
2224+
2225-
techc.ImageColor3 = col2
2225+
2226-
circl.ImageColor3 = col2
2226+
2227-
circl2.ImageColor3 = col1
2227+
2228-
imgl2.ImageColor3 = col1
2228+
2229-
imgl2b.ImageColor3 = col2
2229+
2230-
ned.Text = name
2230+
2231-
ned.TextColor3 = col1
2231+
2232-
ned.TextStrokeColor3 = col2
2232+
2233
      })
2234
      game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
2235
      local bodyVelocity = Create("BodyVelocity")({
2236
        velocity = Vector3.new(0, 20, 0),
2237
        P = 5000,
2238
        maxForce = Vector3.new(8000, 8000, 8000),
2239
        Parent = hit
2240
      })
2241
      game:GetService("Debris"):AddItem(bodyVelocity, 1)
2242
    elseif Type == "Snare" then
2243
      local bp = Create("BodyPosition")({
2244
        P = 2000,
2245
        D = 100,
2246
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2247
        position = hit.Parent.Torso.Position,
2248
        Parent = hit.Parent.Torso
2249
      })
2250
      game:GetService("Debris"):AddItem(bp, 1)
2251
    elseif Type == "Slashnare" then
2252
      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)
2253
      for i = 1, math.random(4, 5) do
2254
        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)
2255
      end
2256
      local bp = Create("BodyPosition")({
2257
        P = 2000,
2258
        D = 100,
2259
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2260
        position = hit.Parent.Torso.Position,
2261
        Parent = hit.Parent.Torso
2262
      })
2263
      game:GetService("Debris"):AddItem(bp, 1)
2264
    elseif Type == "Spike" then
2265
      CreateBigIceSword(hit.Parent.Torso.CFrame)
2266
      local bp = Create("BodyPosition")({
2267
        P = 2000,
2268
        D = 100,
2269
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2270
        position = hit.Parent.Torso.Position,
2271
        Parent = hit.Parent.Torso
2272
      })
2273
      game:GetService("Debris"):AddItem(bp, 1)
2274
    elseif Type == "Freeze" then
2275
      local BodPos = Create("BodyPosition")({
2276
        P = 50000,
2277
        D = 1000,
2278
        maxForce = Vector3.new(math.huge, math.huge, math.huge),
2279
        position = hit.Parent.Torso.Position,
2280
        Parent = hit.Parent.Torso
2281
      })
2282
      local BodGy = Create("BodyGyro")({
2283
        maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
2284
        P = 20000,
2285
        Parent = hit.Parent.Torso,
2286
        cframe = hit.Parent.Torso.CFrame
2287
      })
2288
      hit.Parent.Torso.Anchored = true
2289
      coroutine.resume(coroutine.create(function(Part)
2290
        swait(1.5)
2291
        Part.Anchored = false
2292
      end), hit.Parent.Torso)
2293
      game:GetService("Debris"):AddItem(BodPos, 3)
2294
      game:GetService("Debris"):AddItem(BodGy, 3)
2295
    end
2296
    local debounce = Create("BoolValue")({
2297
      Name = "DebounceHit",
2298
      Parent = hit.Parent,
2299
      Value = true
2300
    })
2301
    game:GetService("Debris"):AddItem(debounce, Delay)
2302
    c = Instance.new("ObjectValue")
2303
    c.Name = "creator"
2304
    c.Value = Player
2305
    c.Parent = h
2306
    game:GetService("Debris"):AddItem(c, 0.5)
2307
  end
2308
end
2309
function ShowDamage(Pos, Text, Time, Color)
2310
  local Rate = 0.03333333333333333
2311
  local Pos = Pos or Vector3.new(0, 0, 0)
2312
  local Text = Text or ""
2313
  local Time = Time or 2
2314
  local Color = Color or Color3.new(1, 0, 1)
2315
  local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
2316
  EffectPart.Anchored = true
2317
  local BillboardGui = Create("BillboardGui")({
2318
    Size = UDim2.new(3, 0, 3, 0),
2319
    Adornee = EffectPart,
2320
    Parent = EffectPart
2321
  })
2322
  local TextLabel = Create("TextLabel")({
2323
    BackgroundTransparency = 1,
2324
    Size = UDim2.new(1, 0, 1, 0),
2325
    Text = Text,
2326
    TextColor3 = Color,
2327
    TextScaled = true,
2328
    Font = Enum.Font.ArialBold,
2329
    Parent = BillboardGui
2330
  })
2331
  game.Debris:AddItem(EffectPart, Time + 0.1)
2332
  EffectPart.Parent = game:GetService("Workspace")
2333
  delay(0, function()
2334
    local Frames = Time / Rate
2335-
--------- SazEreno's Artificial HB --------------
2335+
2336-
ArtificialHB = Instance.new("BindableEvent", script)
2336+
2337-
ArtificialHB.Name = "ArtificialHB"
2337+
2338
      EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
2339-
script:WaitForChild("ArtificialHB")
2339+
2340-
Frame_Speed = 1 / 60
2340+
2341-
frame = Frame_Speed
2341+
2342-
tf = 0
2342+
2343-
allowframeloss = false
2343+
2344-
tossremainder = false
2344+
2345-
lastframe = tick()
2345+
2346-
script.ArtificialHB:Fire()
2346+
2347
  for _, c in pairs(workspace:children()) do
2348
    local hum = c:findFirstChildOfClass("Humanoid")
2349
    if hum ~= nil then
2350
      local head = c:findFirstChild("Head")
2351
      if head ~= nil then
2352-
			script.ArtificialHB:Fire()
2352+
2353
        local mag = targ.magnitude
2354
        if magni >= mag and c.Name ~= Player.Name then
2355
          Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
2356-
				script.ArtificialHB:Fire()
2356+
2357
      end
2358-
		lastframe = tick()
2358+
2359
  end
2360
end
2361
2362
function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
2363
  for _, c in pairs(workspace:children()) do
2364
    local hum = c:findFirstChild("Humanoid")
2365
    if hum ~= nil then
2366
      local head = c:findFirstChild("Torso")
2367
      if head ~= nil then
2368-
------------------
2368+
2369
        local mag = targ.magnitude
2370
        if magni >= mag and c.Name ~= Player.Name then
2371-
if num==0 or num==nil then
2371+
2372-
game:service'RunService'.Stepped:wait(0)
2372+
2373
        end
2374-
for i=0,num do
2374+
2375-
game:service'RunService'.Stepped:wait(0)
2375+
2376
  end
2377
end
2378
2379
function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
2380
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2381
end 
2382
2383
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
2384
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2385
prt.Anchored=true
2386
prt.CFrame=cframe
2387
local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
2388
--http://www.roblox.com/asset/?id=4770560
2389
game:GetService("Debris"):AddItem(prt,2)
2390
CF=prt.CFrame
2391
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) 
2392
for i=0,1,0.2 do
2393
wait()
2394
Part.CFrame=CF*cf(0,0,-0.4)
2395
end
2396
for i=0,1,delay do
2397
wait()
2398
--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)
2399
Mesh.Scale=Mesh.Scale
2400
end
2401
for i=0,1,0.1 do
2402
wait()
2403
Part.Transparency=i
2404
end
2405
Part.Parent=nil
2406
end),prt,msh,CF)
2407
end
2408
 
2409
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2410
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2411
prt.Anchored=true
2412
prt.Material = "Neon"
2413
prt.CFrame=cframe
2414
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2415
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2416
game:GetService("Debris"):AddItem(prt,5)
2417
coroutine.resume(coroutine.create(function(Part,Mesh) 
2418
for i=0,1,delay do
2419
swait()
2420
Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2421
Part.Transparency=i
2422
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2423
end
2424
Part.Parent=nil
2425
end),prt,msh)
2426
end
2427
2428
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2429
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2430
prt.Anchored=true
2431
prt.Material = "Neon"
2432
prt.CFrame=cframe
2433
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2434
game:GetService("Debris"):AddItem(prt,5)
2435
coroutine.resume(coroutine.create(function(Part,Mesh) 
2436
	local rtype = rottype
2437
for i=0,1,delay do
2438
swait()
2439
if rtype == 1 then
2440
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2441
elseif rtype == 2 then
2442
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2443
end
2444
Part.Transparency=i
2445
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2446
end
2447
Part.Parent=nil
2448
end),prt,msh)
2449
end
2450
2451
function Sphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2452
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2453
prt.Anchored=true
2454
prt.CFrame=cframe
2455
prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2456
msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2457
game:GetService("Debris"):AddItem(prt,5)
2458
coroutine.resume(coroutine.create(function(Part,Mesh) 
2459
for i=0,1,delay do
2460
wait()
2461
Part.Transparency=i
2462
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2463
end
2464
Part.Parent=nil
2465
end),prt,msh)
2466
end
2467
2468
function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2469
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2470
prt.Anchored=true
2471
prt.Material = "Neon"
2472
prt.CFrame=cframe
2473
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2474
game:GetService("Debris"):AddItem(prt,5)
2475
coroutine.resume(coroutine.create(function(Part,Mesh) 
2476
	local rtype = rottype
2477
for i=0,1,delay do
2478
swait()
2479
if rtype == 1 then
2480
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2481
elseif rtype == 2 then
2482
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2483
end
2484
Part.Transparency=i
2485
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2486
end
2487
Part.Parent=nil
2488
end),prt,msh)
2489
end
2490
2491
function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
2492
local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
2493
prt.Anchored=true
2494
prt.Material = "Neon"
2495
prt.CFrame=cframe
2496
local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2497
local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
2498
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
2499
game:GetService("Debris"):AddItem(prt,5)
2500
coroutine.resume(coroutine.create(function(Part,Mesh) 
2501
	local rtype = rottype
2502
for i=0,1,delay do
2503
swait()
2504
if rtype == 1 then
2505
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2506
elseif rtype == 2 then
2507
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2508
end
2509
dec.Transparency=i
2510
dec2.Transparency=i
2511
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2512
end
2513
Part.Parent=nil
2514
end),prt,msh)
2515
end
2516
2517
function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
2518
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2519
prt.Anchored=true
2520
prt.Material = "Neon"
2521
prt.CFrame=cframe
2522
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
2523
game:GetService("Debris"):AddItem(prt,5)
2524
coroutine.resume(coroutine.create(function(Part,Mesh) 
2525
	local rtype = rottype
2526
for i=0,1,delay do
2527
swait()
2528
if rtype == 1 then
2529
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2530
elseif rtype == 2 then
2531
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2532
end
2533
prt.Transparency=i
2534
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2535
end
2536
Part.Parent=nil
2537
end),prt,msh)
2538
end
2539
2540
function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
2541
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2542
prt.Anchored=true
2543
prt.Material = "Neon"
2544
prt.CFrame=cframe
2545
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
2546
game:GetService("Debris"):AddItem(prt,5)
2547
coroutine.resume(coroutine.create(function(Part,Mesh) 
2548
	local rtype = rottype
2549
for i=0,1,delay do
2550
swait()
2551
if rtype == 1 then
2552
prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
2553
elseif rtype == 2 then
2554
prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
2555
end
2556
prt.Transparency=i
2557
Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
2558
end
2559
Part.Parent=nil
2560
end),prt,msh)
2561
end
2562
2563
function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
2564
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2565
prt.Anchored=true
2566
prt.Material = "Neon"
2567
prt.CFrame=cframe
2568
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2569
game:GetService("Debris"):AddItem(prt,5)
2570
coroutine.resume(coroutine.create(function(Part,Mesh) 
2571
	local rtype = rottype
2572
for i=0,1,delay do
2573
swait()
2574
if rtype == 1 then
2575
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2576
elseif rtype == 2 then
2577
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2578
end
2579
prt.Transparency=i
2580
Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
2581
end
2582
Part.Parent=nil
2583
end),prt,msh)
2584
end
2585
2586
function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
2587
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2588
prt.Anchored=true
2589
prt.Material = "Neon"
2590
prt.CFrame=cframe
2591
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2592
game:GetService("Debris"):AddItem(prt,5)
2593
coroutine.resume(coroutine.create(function(Part,Mesh) 
2594
	local rtype = rottype
2595
for i=0,1,delay do
2596
swait()
2597
if rtype == 1 then
2598
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
2599
elseif rtype == 2 then
2600
prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
2601
end
2602
prt.Transparency=i
2603
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2604
end
2605
Part.Parent=nil
2606
end),prt,msh)
2607
end
2608-
      Value = game:GetService("Players").LocalPlayer,
2608+
2609
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2610
local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2611
prt.Anchored=false
2612
prt.CFrame=cframe
2613
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2614
local wld=weld(prt,prt,Parent,cframe)
2615
game:GetService("Debris"):AddItem(prt,5)
2616
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2617
for i=0,1,delay do
2618
wait()
2619
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
2620
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2621
Part.Transparency=i
2622
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2623
end
2624
Part.Parent=nil
2625-
      h.MaxHealth = 100
2625+
2626
end
2627
 
2628
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
2629-
        dmg(h.Parent)
2629+
2630
prt.Anchored=false
2631
prt.CFrame=cframe
2632
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2633
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
2634
game:GetService("Debris"):AddItem(prt,5)
2635
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) 
2636
for i=0,1,delay do
2637
wait()
2638
Weld.C0=euler(i*20,0,0)
2639
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2640
Part.Transparency=i
2641
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2642
end
2643
Part.Parent=nil
2644
end),prt,msh,wld)
2645
end
2646
 
2647
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2648
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2649
prt.Anchored=true
2650
prt.CFrame=cframe
2651
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
2652
game:GetService("Debris"):AddItem(prt,2)
2653
coroutine.resume(coroutine.create(function(Part,Mesh) 
2654
for i=0,1,delay do
2655
wait()
2656
Part.CFrame=Part.CFrame
2657
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2658
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2659
prt2.Anchored=true
2660
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2661
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
2662
game:GetService("Debris"):AddItem(prt2,2)
2663
coroutine.resume(coroutine.create(function(Part,Mesh) 
2664
for i=0,1,0.1 do
2665
wait()
2666
Part.CFrame=Part.CFrame*cf(0,0.5,0)
2667
end
2668
Part.Parent=nil
2669
end),prt2,msh2)
2670
end
2671
for i=0,1,delay*2 do
2672
wait()
2673
Part.CFrame=Part.CFrame
2674
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
2675
end
2676
Part.Parent=nil
2677
end),prt,msh)
2678
end
2679
 
2680
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2681
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2682
prt.Anchored=true
2683
prt.CFrame=cframe
2684
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2685
game:GetService("Debris"):AddItem(prt,2)
2686
coroutine.resume(coroutine.create(function(Part,Mesh) 
2687-
          Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
2687+
2688
wait()
2689
Part.CFrame=Part.CFrame
2690
Part.Transparency=i
2691
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2692
end
2693
Part.Parent=nil
2694
end),prt,msh)
2695
end
2696
 
2697
function BreakEffect(brickcolor,cframe,x1,y1,z1)
2698
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2699
prt.Anchored=true
2700
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2701
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
2702
game:GetService("Debris"):AddItem(prt,2)
2703
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) 
2704
CF=Part.CFrame
2705
Numbb=0
2706
randnumb=math.random()/10
2707
rand1=math.random()/10
2708
for i=0,1,rand1 do
2709
wait()
2710
CF=CF*cf(0,math.random()/2,0)
2711
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
2712
Part.CFrame=CF*euler(Numbb,0,0)
2713
Part.Transparency=i
2714
Numbb=Numbb+randnumb
2715
end
2716
Part.Parent=nil
2717
end),prt,CF,Numbb,randnumb)
2718
end
2719
 
2720
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2721
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2722
prt.Anchored=true
2723
prt.CFrame=cframe
2724
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
2725
game:GetService("Debris"):AddItem(prt,5)
2726
coroutine.resume(coroutine.create(function(Part,Mesh) 
2727
for i=0,1,delay do
2728
wait()
2729
Part.CFrame=Part.CFrame*euler(0,0.7,0)
2730
Part.Transparency=i
2731
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2732
end
2733
Part.Parent=nil
2734
end),prt,msh)
2735
end
2736
 
2737
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2738
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2739
prt.Anchored=true
2740
prt.CFrame=cframe
2741
msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
2742
game:GetService("Debris"):AddItem(prt,2)
2743
coroutine.resume(coroutine.create(function(Part,Mesh) 
2744
for i=0,1,delay do
2745
wait()
2746
Part.CFrame=Part.CFrame*cf(0,y3/2,0)
2747
Part.Transparency=i
2748
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
2749
end
2750
Part.Parent=nil
2751
end),prt,msh)
2752
end
2753
 
2754
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
2755
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
2756
prt.Anchored=true
2757
prt.CFrame=cframe*cf(x,y,z)
2758
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
2759
game:GetService("Debris"):AddItem(prt,5)
2760
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) 
2761
local num=math.random()
2762
local num2=math.random(-3,2)+math.random()
2763
local numm=0
2764
for i=0,1,delay*2 do
2765
swait()
2766
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
2767
Part.Transparency=i
2768
numm=numm+0.01
2769
end
2770
Part.Parent=nil
2771
Mesh.Parent=nil
2772
end),prt,msh,x,y,z)
2773
end
2774
2775
function dmgstart(dmg,what)
2776
	hitcon = what.Touched:connect(function(hit)
2777
		local hum = hit.Parent:FindFirstChild("Humanoid")
2778
		if hum and not hum:IsDescendantOf(Character) then
2779
			hum:TakeDamage(dmg)
2780
		end
2781
	end)
2782
end
2783
2784
function dmgstop()
2785
	hitcon:disconnect()
2786
end
2787
2788
function Cloak()
2789
Face.Parent=nil
2790
cloaked=true
2791
        for _,v in pairs(Torso.Parent:children()) do
2792
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2793
                coroutine.resume(coroutine.create(function() 
2794
                for i=0,1,0.2 do
2795
                wait()
2796
                v.Transparency=i
2797
                end
2798
                v.Transparency=1
2799
                end))
2800
                end
2801
                if v.className=="Hat" then
2802
                hatp=v.Handle
2803
                coroutine.resume(coroutine.create(function(derp) 
2804
                for i=0,1,0.2 do
2805
                wait()
2806
                derp.Transparency=i
2807
                end
2808
                derp.Transparency=1
2809
                end),hatp)
2810
                end
2811
        end
2812
        for _,v in pairs(m:children()) do
2813
                if v.className=="Part" then
2814
                coroutine.resume(coroutine.create(function() 
2815
                for i=0,1,0.2 do
2816
                wait()
2817
                v.Transparency=i
2818
                end
2819
                v.Transparency=1
2820
                end))
2821
                end
2822
        end
2823
end
2824
 
2825
function UnCloak()
2826
so("http://roblox.com/asset/?id=2767090",Torso,1,1.1) 
2827
Face.Parent=Head 
2828
cloaked=false
2829
        for _,v in pairs(Torso.Parent:children()) do
2830
                if v.className=="Part" and v.Name~="HumanoidRootPart" then
2831
                coroutine.resume(coroutine.create(function() 
2832
                for i=0,1,0.1 do
2833
                wait()
2834
                v.Transparency=v.Transparency-0.1
2835
                end
2836
                v.Transparency=0
2837
                end))
2838
                end
2839
                if v.className=="Hat" then
2840
                hatp=v.Handle
2841
                coroutine.resume(coroutine.create(function(derp) 
2842
                for i=0,1,0.1 do
2843
                wait()
2844
                derp.Transparency=derp.Transparency-0.1
2845
                end
2846
                derp.Transparency=0
2847
                end),hatp)
2848
                end
2849
        end
2850
        for _,v in pairs(m:children()) do
2851
                if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
2852
                coroutine.resume(coroutine.create(function() 
2853
                for i=0,1,0.1 do
2854
                wait()
2855
                v.Transparency=v.Transparency-0.1
2856
                end
2857
                v.Transparency=0
2858
                end))
2859
                v.Transparency=0
2860
                end
2861
        end
2862
end
2863
2864
local origcolor = BrickColor.new("Pastel light blue")
2865
---- This section of explosions.
2866
function Explode(rad,par,pitch,vol,mindam,maxdam)
2867
	local expart = Instance.new("Part",char)
2868
	local expart2 = Instance.new("Part",char)
2869
	local rin = Instance.new("Part",char)
2870
	local rin2 = Instance.new("Part",char)
2871
	local partMesh = Instance.new("SpecialMesh",expart)
2872
	partMesh.MeshType = "Sphere"
2873
	local partMesh2 = Instance.new("SpecialMesh",expart2)
2874
	partMesh2.MeshType = "Sphere"
2875
	local partMesh3 = Instance.new("SpecialMesh",rin)
2876
	partMesh3.MeshType = "Brick"
2877
	local partMesh4 = Instance.new("SpecialMesh",rin2)
2878
	partMesh4.MeshType = "Brick"
2879
	CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
2880
	partMesh.Scale = vt(rad,rad,rad)
2881
	expart.Size = vt(1,1,1)
2882
	expart.Transparency = 0
2883
	expart.Anchored = true
2884
	expart.Material = "Neon"
2885
	expart.BrickColor = bc("White")
2886
	expart.CFrame = par.CFrame
2887
	partMesh2.Scale = vt(rad,rad,rad)
2888
	expart2.Size = vt(1.15,1.15,1.15)
2889
	expart2.Transparency = 0.5
2890
	expart2.Anchored = true
2891
	expart2.Material = "Neon"
2892
	expart2.BrickColor = par.BrickColor
2893
	expart2.CFrame = par.CFrame
2894
	rin.Size = vt(1.15,1.15,1.15)
2895
	rin.Transparency = 1
2896
	rin.Anchored = true
2897
	rin.Material = "Neon"
2898
	rin.BrickColor = par.BrickColor
2899
	rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2900
	rin2.Size = vt(1.15,1.15,1.15)
2901
	rin2.Transparency = 1
2902
	rin2.Anchored = true
2903
	rin2.Material = "Neon"
2904
	rin2.BrickColor = par.BrickColor
2905
	rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
2906
	partMesh3.Scale = vt(0,1,0)
2907
	partMesh4.Scale = vt(0,1,0)
2908
local dec2 = Instance.new("Decal", rin)
2909
dec2.Face = "Top"
2910
dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
2911
dec2.Parent = rin
2912
local dec2b = dec2:Clone()
2913
dec2b.Face = "Bottom"
2914
dec2b.Parent = rin
2915
2916
local dec2a = Instance.new("Decal", rin2)
2917
dec2a.Face = "Top"
2918
dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
2919
dec2a.Parent = rin2
2920
local dec2ab = dec2a:Clone()
2921
dec2ab.Face = "Bottom"
2922
dec2ab.Parent = rin2
2923
expart.CanCollide = false
2924
expart2.CanCollide = false
2925-
function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
2925+
rin.CanCollide = false
2926
rin2.CanCollide = false
2927
MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
2928
        local value = 1*rad/6.5
2929
	for i = 0, 199 do
2930
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2931
		expart.CFrame = expart.CFrame
2932
                partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
2933
		expart2.CFrame = expart.CFrame
2934
                value = value - 0.035*rad/30
2935
                if value < 7.5 then
2936
	partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
2937
		rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
2938
	partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
2939
		rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
2940
		end
2941
                if value < 0 then
2942
dec2.Transparency = dec2.Transparency + 0.025
2943
dec2a.Transparency = dec2a.Transparency + 0.025
2944
dec2b.Transparency = dec2b.Transparency + 0.025
2945
dec2ab.Transparency = dec2ab.Transparency + 0.025
2946
		expart.Transparency = expart.Transparency + 0.025
2947
		expart2.Transparency = expart2.Transparency + 0.025
2948
		rin.Transparency = rin.Transparency + 0.025
2949
		rin2.Transparency = rin2.Transparency + 0.025
2950
                end
2951
		swait()
2952
	end
2953
game:GetService("Debris"):AddItem(expart, 1)
2954
game:GetService("Debris"):AddItem(expart2, 1)
2955
game:GetService("Debris"):AddItem(rin, 1)
2956
game:GetService("Debris"):AddItem(rin2, 1)
2957
end
2958
2959
function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
2960
	local expart = Instance.new("Part",char)
2961
	local expart2 = Instance.new("Part",char)
2962
	local partMesh = Instance.new("SpecialMesh",expart)
2963
	partMesh.MeshType = "Sphere"
2964-
local refec = Instance.new("ParticleEmitter",handlex)
2964+
	local partMesh2 = Instance.new("SpecialMesh",expart2)
2965-
refec.Texture = "rbxassetid://249270319"
2965+
	partMesh2.MeshType = "Sphere"
2966-
refec.LightEmission = 0.95
2966+
	CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
2967-
refec.Color = ColorSequence.new(BrickColor.new("Really red").Color)
2967+
	partMesh.Scale = vt(rad,rad,rad)
2968-
refec.Rate = 50
2968+
	expart.Size = vt(1,1,1)
2969-
refec.Lifetime = NumberRange.new(0.5)
2969+
	expart.Transparency = 0
2970-
refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
2970+
	expart.Anchored = true
2971-
refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
2971+
	expart.Material = "Neon"
2972-
refec.Speed = NumberRange.new(0,2)
2972+
	expart.BrickColor = bc("White")
2973-
refec.Drag = 5
2973+
	expart.CFrame = par.CFrame
2974-
refec.LockedToPart = true
2974+
	partMesh2.Scale = vt(rad,rad,rad)
2975-
refec.Rotation = NumberRange.new(-500,500)
2975+
	expart2.Size = vt(1.15,1.15,1.15)
2976-
refec.VelocitySpread = 9000
2976+
	expart2.Transparency = 0.5
2977-
refec.RotSpeed = NumberRange.new(-500,500)
2977+
	expart2.Anchored = true
2978
	expart2.Material = "Neon"
2979
	expart2.BrickColor = par.BrickColor
2980
	expart2.CFrame = par.CFrame
2981
expart.CanCollide = false
2982
expart2.CanCollide = false
2983
MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
2984
        local value = 1*rad/6.5
2985
	for i = 0, 75 do
2986
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
2987
		expart.CFrame = expart.CFrame
2988
                partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
2989
		expart2.CFrame = expart.CFrame
2990
                value = value - 0.035*rad/5
2991
                if value < 0 then
2992
value = 0
2993
		expart.Transparency = expart.Transparency + 0.05
2994
		expart2.Transparency = expart2.Transparency + 0.05
2995
                end
2996
		swait()
2997
	end
2998
game:GetService("Debris"):AddItem(expart, 1)
2999
game:GetService("Debris"):AddItem(expart2, 1)
3000
end
3001
3002
function AreaDanger(rad,par,mindam,maxdam)
3003
	local expart = Instance.new("Part",char)
3004
	local partMesh = Instance.new("SpecialMesh",expart)
3005
	CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
3006
	partMesh.MeshType = "Sphere"
3007
	partMesh.Scale = vt(rad,rad,rad)
3008
	expart.Size = vt(1,1,1)
3009
	expart.Transparency = 0.5
3010
	expart.Anchored = true
3011
	expart.Material = "Neon"
3012
	expart.CanCollide = false
3013
	expart.BrickColor = par.BrickColor
3014
	expart.CFrame = par.CFrame
3015
        local value = 1*rad/5
3016
MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
3017
	for i = 0, 14 do
3018
		wait()
3019
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
3020
		expart.CFrame = expart.CFrame
3021
                value = value - 0.035*rad
3022
                if value < 0 then
3023
	value = 0
3024
end
3025
	end
3026
	wait(0.25)
3027
CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
3028
wait(0.5)
3029
CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
3030
CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
3031
MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
3032
MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
3033
for i = 0, 14 do
3034
		wait()
3035
                partMesh.Scale = partMesh.Scale + vt(value,value,value)
3036
		expart.CFrame = expart.CFrame
3037
                value = value - 0.035*rad/2
3038
end
3039
expart.Transparency = 1
3040
game:GetService("Debris"):AddItem(expart, 5)
3041
end
3042
3043
function Swarmsplosions(negrad,rad,par,mindam,maxdam)
3044
		CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
3045
	CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
3046
	CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
3047
	CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
3048
			MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
3049
			MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
3050
	for i = 0, 24 do
3051
		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))
3052
	end
3053
	for i = 0, 24 do
3054
	local expart = Instance.new("Part",char)
3055
	expart.Transparency = 1
3056
	expart.Anchored = true
3057
	expart.CanCollide = false
3058
	expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
3059
CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
3060
CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
3061
MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
3062
MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
3063
for i = 0, 9 do
3064
		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))
3065
	end
3066
game:GetService("Debris"):AddItem(expart, 2)
3067
wait(0.1)
3068
	end
3069
end
3070
3071
function EXterPlosion(par)
3072
		CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
3073
	CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
3074
	CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
3075
	CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
3076
			MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
3077
			MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
3078
			MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
3079
	for i = 0, 24 do
3080
		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))
3081
	end
3082
	for i = 0, 24 do
3083
		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))
3084
	end
3085
end
3086
----
3087
3088
3089
function ring(type,pos,scale,value)
3090
local type = type
3091
local rng = Instance.new("Part", char)
3092
        rng.Anchored = true
3093
        rng.BrickColor = origcolor
3094
        rng.CanCollide = false
3095
        rng.FormFactor = 3
3096
        rng.Name = "Ring"
3097
        rng.Size = Vector3.new(1, 1, 1)
3098
        rng.Transparency = 0
3099
        rng.TopSurface = 0
3100
        rng.BottomSurface = 0
3101
        rng.CFrame = pos
3102
        local rngm = Instance.new("SpecialMesh", rng)
3103
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
3104
rngm.Scale = scale
3105
local scaler2 = 1
3106
if type == "Add" then
3107
scaler2 = 1*value
3108
elseif type == "Divide" then
3109
scaler2 = 1/value
3110
end
3111
coroutine.resume(coroutine.create(function()
3112
for i = 0,10,0.1 do
3113
swait()
3114
if type == "Add" then
3115
scaler2 = scaler2 - 0.01*value
3116
elseif type == "Divide" then
3117
scaler2 = scaler2 - 0.01/value
3118
end
3119
rng.Transparency = rng.Transparency + 0.01
3120
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
3121
end
3122
rng:Destroy()
3123
end))
3124
end
3125
3126
3127
function wave(type,pos,scale,value)
3128
local type = type
3129
local rng = Instance.new("Part", char)
3130
        rng.Anchored = true
3131
        rng.BrickColor = origcolor
3132
        rng.CanCollide = false
3133
        rng.FormFactor = 3
3134
        rng.Name = "Ring"
3135
        rng.Size = Vector3.new(1, 1, 1)
3136
        rng.Transparency = 0
3137
        rng.TopSurface = 0
3138
        rng.BottomSurface = 0
3139
        rng.CFrame = pos
3140
        local rngm = Instance.new("SpecialMesh", rng)
3141
        rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
3142
rngm.Scale = scale
3143
local scaler2 = 1
3144
if type == "Add" then
3145
scaler2 = 1*value
3146
elseif type == "Divide" then
3147
scaler2 = 1/value
3148
end
3149
coroutine.resume(coroutine.create(function()
3150
for i = 0,10,0.1 do
3151
swait()
3152
if type == "Add" then
3153
scaler2 = scaler2 - 0.01*value
3154
elseif type == "Divide" then
3155
scaler2 = scaler2 - 0.01/value
3156
end
3157
rng.Transparency = rng.Transparency + 0.01
3158
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3159
end
3160
rng:Destroy()
3161
end))
3162
end
3163
3164
function wind(type,pos,scale,value,speed)
3165
local type = type
3166
local rng = Instance.new("Part", char)
3167
        rng.Anchored = true
3168
        rng.BrickColor = origcolor
3169
        rng.CanCollide = false
3170
        rng.FormFactor = 3
3171
        rng.Name = "Ring"
3172
        rng.Size = Vector3.new(1, 1, 1)
3173
        rng.Transparency = 0
3174
        rng.TopSurface = 0
3175
        rng.BottomSurface = 0
3176
        rng.CFrame = pos
3177
        local rngm = Instance.new("SpecialMesh", rng)
3178
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
3179
rngm.Scale = scale
3180
local scaler2 = 1
3181
if type == "Add" then
3182
scaler2 = 1*value
3183
elseif type == "Divide" then
3184
scaler2 = 1/value
3185
end
3186
coroutine.resume(coroutine.create(function()
3187
for i = 0,10,0.1 do
3188
swait()
3189
if type == "Add" then
3190
scaler2 = scaler2 - 0.01*value
3191
elseif type == "Divide" then
3192
scaler2 = scaler2 - 0.01/value
3193
end
3194
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
3195
rng.Transparency = rng.Transparency + 0.01
3196
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
3197
end
3198
rng:Destroy()
3199
end))
3200
end
3201
3202
function groundwind(type,pos,scale,value,speed)
3203
local type = type
3204
local rng = Instance.new("Part", char)
3205
        rng.Anchored = true
3206
        rng.BrickColor = origcolor
3207
        rng.CanCollide = false
3208
        rng.FormFactor = 3
3209
        rng.Name = "Ring"
3210
        rng.Size = Vector3.new(1, 1, 1)
3211
        rng.Transparency = 0
3212
        rng.TopSurface = 0
3213
        rng.BottomSurface = 0
3214
        rng.CFrame = pos
3215
        local rngm = Instance.new("SpecialMesh", rng)
3216
        rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
3217
rngm.Scale = scale
3218
local scaler2 = 1
3219
if type == "Add" then
3220
scaler2 = 1*value
3221
elseif type == "Divide" then
3222
scaler2 = 1/value
3223
end
3224
coroutine.resume(coroutine.create(function()
3225
for i = 0,10,0.1 do
3226
swait()
3227
if type == "Add" then
3228
scaler2 = scaler2 - 0.01*value
3229
elseif type == "Divide" then
3230
scaler2 = scaler2 - 0.01/value
3231
end
3232
rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
3233
rng.Transparency = rng.Transparency + 0.01
3234
rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
3235
end
3236
rng:Destroy()
3237
end))
3238
end
3239
3240
function CameraManager()
3241
  if TwoD and not CamInterrupt then
3242
    if Humanoid.Health > 0 then
3243
      Camera.CameraSubject = Humanoid
3244
      Camera.CameraType = "Scriptable"
3245
      Humanoid.AutoRotate = false
3246
      if Booleans.GyroUse then
3247
        Directer.MaxTorque = Vec3(0, huge, 0)
3248
      else
3249
        Directer.MaxTorque = Vec3(0, 0, 0)
3250
      end
3251
      if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
3252
        if Booleans.CamFollow then
3253
          CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
3254
          Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
3255
        else
3256
          CPart.Position = RootPart.Position
3257
        end
3258
      else
3259
        local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
3260
        CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
3261
      end
3262
      Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
3263
    else
3264
      Camera.CameraSubject = Humanoid
3265
      Camera.CameraType = "Custom"
3266
      Controller.Disabled = false
3267
    end
3268
  end
3269
end
3270
3271
function Sphere(bonuspeed,type,pos,scale,value,color)
3272
local type = type
3273
local rng = Instance.new("Part", char)
3274
        rng.Anchored = true
3275
        rng.BrickColor = color
3276
        rng.CanCollide = false
3277
        rng.FormFactor = 3
3278
        rng.Name = "Ring"
3279
        rng.Material = "Neon"
3280
        rng.Size = Vector3.new(1, 1, 1)
3281
        rng.Transparency = 0
3282
        rng.TopSurface = 0
3283
        rng.BottomSurface = 0
3284
        rng.CFrame = pos
3285
        local rngm = Instance.new("SpecialMesh", rng)
3286
        rngm.MeshType = "Sphere"
3287
rngm.Scale = scale
3288
if rainbowmode == true then
3289
rng.Color = Color3.new(r/255,g/255,b/255)
3290
end
3291
local scaler2 = 1
3292
if type == "Add" then
3293
scaler2 = 1*value
3294
elseif type == "Divide" then
3295
scaler2 = 1/value
3296
end
3297
coroutine.resume(coroutine.create(function()
3298
for i = 0,10/bonuspeed,0.1 do
3299
swait()
3300
if rainbowmode == true then
3301
rng.Color = Color3.new(r/255,g/255,b/255)
3302
end
3303
if type == "Add" then
3304
scaler2 = scaler2 - 0.01*value/bonuspeed
3305
elseif type == "Divide" then
3306
scaler2 = scaler2 - 0.01/value*bonuspeed
3307
end
3308
if MALFUNCTIONmode == true then
3309
rng.BrickColor = BrickColor.random()
3310
end
3311
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3312
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3313
end
3314
rng:Destroy()
3315
end))
3316
end
3317
3318
function Spherew(bonuspeed,type,pos,scale,value,color)
3319
local type = type
3320
local rng = Instance.new("Part", workspace)
3321
        rng.Anchored = true
3322
        rng.BrickColor = color
3323
        rng.CanCollide = false
3324
        rng.FormFactor = 3
3325
        rng.Name = "Ring"
3326
        rng.Material = "Neon"
3327
        rng.Size = Vector3.new(1, 1, 1)
3328
        rng.Transparency = 0
3329
        rng.TopSurface = 0
3330
        rng.BottomSurface = 0
3331
        rng.CFrame = pos
3332
        local rngm = Instance.new("SpecialMesh", rng)
3333
        rngm.MeshType = "Sphere"
3334
rngm.Scale = scale
3335
if rainbowmode == true then
3336
rng.Color = Color3.new(r/255,g/255,b/255)
3337
end
3338
local scaler2 = 1
3339
if type == "Add" then
3340
scaler2 = 1*value
3341
elseif type == "Divide" then
3342
scaler2 = 1/value
3343
end
3344
coroutine.resume(coroutine.create(function()
3345
for i = 0,10/bonuspeed,0.1 do
3346
swait()
3347
if rainbowmode == true then
3348
rng.Color = Color3.new(r/255,g/255,b/255)
3349
end
3350
if type == "Add" then
3351
scaler2 = scaler2 - 0.01*value/bonuspeed
3352
elseif type == "Divide" then
3353
scaler2 = scaler2 - 0.01/value*bonuspeed
3354
end
3355
if MALFUNCTIONmode == true then
3356
rng.BrickColor = BrickColor.random()
3357
end
3358
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3359
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3360
end
3361
rng:Destroy()
3362
end))
3363
end
3364
3365
function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3366
local type = type
3367
local rng = Instance.new("Part", char)
3368
        rng.Anchored = true
3369
        rng.BrickColor = color
3370
        rng.CanCollide = false
3371
        rng.FormFactor = 3
3372
        rng.Name = "Ring"
3373
        rng.Material = "Neon"
3374
        rng.Size = Vector3.new(1, 1, 1)
3375
        rng.Transparency = 0
3376
        rng.TopSurface = 0
3377
        rng.BottomSurface = 0
3378
        rng.CFrame = pos
3379
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3380
        local rngm = Instance.new("SpecialMesh", rng)
3381
        rngm.MeshType = "Brick"
3382
rngm.Scale = vt(x1,y1,z1)
3383
if rainbowmode == true then
3384
rng.Color = Color3.new(r/255,g/255,b/255)
3385
end
3386
local scaler2 = 1
3387
local speeder = FastSpeed/10
3388
if type == "Add" then
3389
scaler2 = 1*value
3390
elseif type == "Divide" then
3391
scaler2 = 1/value
3392
end
3393
coroutine.resume(coroutine.create(function()
3394
for i = 0,10/bonuspeed,0.1 do
3395
swait()
3396
if rainbowmode == true then
3397
rng.Color = Color3.new(r/255,g/255,b/255)
3398
end
3399
if type == "Add" then
3400
scaler2 = scaler2 - 0.01*value/bonuspeed
3401
elseif type == "Divide" then
3402
scaler2 = scaler2 - 0.01/value*bonuspeed
3403
end
3404
if MALFUNCTIONmode == true then
3405
rng.BrickColor = BrickColor.random()
3406
end
3407
speeder = speeder - 0.01*FastSpeed*bonuspeed/10
3408
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3409
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3410
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3411
end
3412
rng:Destroy()
3413
end))
3414
end
3415
3416
function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3417
local type = type
3418
local rng = Instance.new("Part", char)
3419
        rng.Anchored = true
3420
        rng.BrickColor = color
3421
        rng.CanCollide = false
3422
        rng.FormFactor = 3
3423
        rng.Name = "Ring"
3424
        rng.Material = "Neon"
3425
        rng.Size = Vector3.new(1, 1, 1)
3426
        rng.Transparency = 0
3427
        rng.TopSurface = 0
3428
        rng.BottomSurface = 0
3429
        rng.CFrame = pos
3430
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3431
        local rngm = Instance.new("SpecialMesh", rng)
3432
        rngm.MeshType = "Brick"
3433
rngm.Scale = vt(x1,y1,z1)
3434
if rainbowmode == true then
3435
rng.Color = Color3.new(r/255,g/255,b/255)
3436
end
3437
local scaler2 = 0
3438
local speeder = FastSpeed/10
3439
if type == "Add" then
3440
scaler2 = 1*value
3441
elseif type == "Divide" then
3442
scaler2 = 1/value
3443
end
3444
coroutine.resume(coroutine.create(function()
3445
for i = 0,10/bonuspeed,0.1 do
3446
swait()
3447
if rainbowmode == true then
3448
rng.Color = Color3.new(r/255,g/255,b/255)
3449
end
3450
if type == "Add" then
3451
scaler2 = scaler2 - 0.01*value/bonuspeed
3452
elseif type == "Divide" then
3453
scaler2 = scaler2 - 0.01/value*bonuspeed
3454
end
3455
if MALFUNCTIONmode == true then
3456
rng.BrickColor = BrickColor.random()
3457
end
3458
speeder = speeder + 0.01*FastSpeed*bonuspeed/10
3459
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3460
--rng.Transparency = rng.Transparency + 0.01*bonuspeed
3461
rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
3462
end
3463
rng:Destroy()
3464
end))
3465
end
3466
3467
function SphereMKw(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3468
local type = type
3469
local rng = Instance.new("Part", workspace)
3470
        rng.Anchored = true
3471
        rng.BrickColor = color
3472
        rng.CanCollide = false
3473
        rng.FormFactor = 3
3474
        rng.Name = "Ring"
3475
        rng.Material = "Neon"
3476
        rng.Size = Vector3.new(1, 1, 1)
3477
        rng.Transparency = 0
3478
        rng.TopSurface = 0
3479
        rng.BottomSurface = 0
3480
        rng.CFrame = pos
3481
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3482
        local rngm = Instance.new("SpecialMesh", rng)
3483
        rngm.MeshType = "Sphere"
3484
rngm.Scale = vt(x1,y1,z1)
3485
if rainbowmode == true then
3486
rng.Color = Color3.new(r/255,g/255,b/255)
3487
end
3488
local scaler2 = 1
3489
local speeder = FastSpeed
3490
if type == "Add" then
3491
scaler2 = 1*value
3492
elseif type == "Divide" then
3493
scaler2 = 1/value
3494
end
3495
coroutine.resume(coroutine.create(function()
3496
for i = 0,10/bonuspeed,0.1 do
3497
swait()
3498
if rainbowmode == true then
3499
rng.Color = Color3.new(r/255,g/255,b/255)
3500
end
3501
if type == "Add" then
3502
scaler2 = scaler2 - 0.01*value/bonuspeed
3503
elseif type == "Divide" then
3504
scaler2 = scaler2 - 0.01/value*bonuspeed
3505
end
3506
if MALFUNCTIONmode == true then
3507
rng.BrickColor = BrickColor.random()
3508
end
3509
speeder = speeder - 0.01*FastSpeed*bonuspeed
3510
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3511
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3512
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3513
end
3514
rng:Destroy()
3515
end))
3516
end
3517
function SphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3518
local type = type
3519
local rng = Instance.new("Part", char)
3520
        rng.Anchored = true
3521
        rng.BrickColor = color
3522
        rng.CanCollide = false
3523
        rng.FormFactor = 3
3524
        rng.Name = "Ring"
3525
        rng.Material = "Neon"
3526
        rng.Size = Vector3.new(1, 1, 1)
3527
        rng.Transparency = 0
3528
        rng.TopSurface = 0
3529
        rng.BottomSurface = 0
3530
        rng.CFrame = pos
3531
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3532
        local rngm = Instance.new("SpecialMesh", rng)
3533
        rngm.MeshType = "Sphere"
3534
rngm.Scale = vt(x1,y1,z1)
3535
if rainbowmode == true then
3536
rng.Color = Color3.new(r/255,g/255,b/255)
3537
end
3538
local scaler2 = 1
3539
local speeder = FastSpeed
3540
if type == "Add" then
3541
scaler2 = 1*value
3542
elseif type == "Divide" then
3543
scaler2 = 1/value
3544
end
3545
coroutine.resume(coroutine.create(function()
3546
for i = 0,10/bonuspeed,0.1 do
3547
swait()
3548
if rainbowmode == true then
3549
rng.Color = Color3.new(r/255,g/255,b/255)
3550
end
3551
if type == "Add" then
3552
scaler2 = scaler2 - 0.01*value/bonuspeed
3553
elseif type == "Divide" then
3554
scaler2 = scaler2 - 0.01/value*bonuspeed
3555
end
3556
if MALFUNCTIONmode == true then
3557
rng.BrickColor = BrickColor.random()
3558
end
3559
speeder = speeder - 0.01*FastSpeed*bonuspeed
3560
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3561
rng.Transparency = rng.Transparency + 0.01*bonuspeed
3562
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3563
end
3564
rng:Destroy()
3565
end))
3566
end
3567
3568
3569
function SphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3570
local type = type
3571
local rng = Instance.new("Part", char)
3572
        rng.Anchored = true
3573
        rng.BrickColor = color
3574
        rng.CanCollide = false
3575
        rng.FormFactor = 3
3576
        rng.Name = "Ring"
3577
        rng.Material = "Neon"
3578
        rng.Size = Vector3.new(1, 1, 1)
3579
        rng.Transparency = 1
3580
        rng.TopSurface = 0
3581
        rng.BottomSurface = 0
3582
        rng.CFrame = pos
3583
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
3584
        local rngm = Instance.new("SpecialMesh", rng)
3585
        rngm.MeshType = "Sphere"
3586
rngm.Scale = vt(x1,y1,z1)
3587
if rainbowmode == true then
3588
rng.Color = Color3.new(r/255,g/255,b/255)
3589
end
3590
local scaler2 = 1
3591
local speeder = FastSpeed
3592
if type == "Add" then
3593
scaler2 = 1*value
3594
elseif type == "Divide" then
3595
scaler2 = 1/value
3596
end
3597
coroutine.resume(coroutine.create(function()
3598
for i = 0,10/bonuspeed,0.1 do
3599
swait()
3600
if rainbowmode == true then
3601
rng.Color = Color3.new(r/255,g/255,b/255)
3602
end
3603
if type == "Add" then
3604
scaler2 = scaler2 - 0.01*value/bonuspeed
3605
elseif type == "Divide" then
3606
scaler2 = scaler2 - 0.01/value*bonuspeed
3607
end
3608
if MALFUNCTIONmode == true then
3609
rng.BrickColor = BrickColor.random()
3610
end
3611
speeder = speeder - 0.01*FastSpeed*bonuspeed
3612
rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
3613
rng.Transparency = rng.Transparency - 0.01*bonuspeed
3614
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
3615-
function sphere(bonuspeed,type,pos,scale,value,color)
3615+
3616
rng:Destroy()
3617
end))
3618
end
3619-
if ModeOfGlitch ~= 9 then
3619+
3620
function dmg(dude)
3621-
elseif ModeOfGlitch == 9 then
3621+
3622-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3622+
3623
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
3624
local val = Instance.new("BoolValue",dude)
3625
val.Name = "IsHit"
3626
local ds = coroutine.wrap(function()
3627
dude:WaitForChild("Head"):BreakJoints()
3628
wait(0.5)
3629
targetted = nil
3630
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
3631
coroutine.resume(coroutine.create(function()
3632
for i, v in pairs(dude:GetChildren()) do
3633
if v:IsA("Accessory") then
3634
v:Destroy()
3635
end
3636
if v:IsA("Humanoid") then
3637
v:Destroy()
3638
end
3639-
if ModeOfGlitch == 9 then
3639+
3640
v:Destroy()
3641
end
3642
if v:IsA("Model") then
3643-
if rng.Parent ~= nil then
3643+
3644-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3644+
3645
if v:IsA("Part") or v:IsA("MeshPart") then
3646
for x, o in pairs(v:GetChildren()) do
3647
if o:IsA("Decal") then
3648
o:Destroy()
3649
end
3650
end
3651
coroutine.resume(coroutine.create(function()
3652
v.Material = "Neon"
3653
v.CanCollide = false
3654
local bld = Instance.new("ParticleEmitter",v)
3655
bld.LightEmission = 1
3656
bld.Texture = "rbxassetid://284205403"
3657
bld.Color = ColorSequence.new(Color3.new(1,1,1))
3658
bld.Rate = 50
3659
bld.Lifetime = NumberRange.new(1)
3660
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
3661
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
3662
bld.Speed = NumberRange.new(0,0)
3663
bld.VelocitySpread = 50000
3664
bld.Rotation = NumberRange.new(-500,500)
3665
bld.RotSpeed = NumberRange.new(-500,500)
3666
        local sbs = Instance.new("BodyPosition", v)
3667
        sbs.P = 3000
3668-
if chaosmode == true then
3668+
3669
        sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
3670
        sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
3671
v.Color = Color3.new(1,1,1)
3672
coroutine.resume(coroutine.create(function()
3673
for i = 0, 49 do
3674
swait(1)
3675
v.Transparency = v.Transparency + 0.02
3676
end
3677
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
3678-
function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
3678+
bld.Speed = NumberRange.new(1,5)
3679
bld.Acceleration = vt(0,10,0)
3680
wait(0.5)
3681
bld.Enabled = false
3682-
if ModeOfGlitch ~= 9 then
3682+
wait(3)
3683
v:Destroy()
3684-
elseif ModeOfGlitch == 9 then
3684+
3685-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3685+
3686
end))
3687
end
3688
end
3689
end))
3690
end)
3691
ds()
3692
end
3693
end
3694
3695
3696
function FindNearestHead(Position, Distance, SinglePlayer)
3697
	if SinglePlayer then
3698
		return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
3699
	end
3700-
local scaler2b = 1
3700+
3701-
local scaler2c = 1
3701+
3702
		if v:IsA("Model") then
3703
			if v:findFirstChild("Head") then
3704-
scaler2b = 1*value2
3704+
3705-
scaler2c = 1*value3
3705+
3706
						table.insert(List, v)
3707
					end 
3708-
scaler2b = 1/value2
3708+
3709-
scaler2c = 1/value3
3709+
3710
		end 
3711-
if ModeOfGlitch == 9 then
3711+
3712
	return List
3713
end
3714
3715-
if rng.Parent ~= nil then
3715+
3716-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
3716+
3717
  return {
3718
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
3719
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3720
  }
3721
end
3722
3723
function FaceMouse2()
3724
  Cam = workspace.CurrentCamera
3725
  return {
3726
    CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
3727
    Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
3728-
scaler2b = scaler2b - 0.01*value/bonuspeed
3728+
3729-
scaler2c = scaler2c - 0.01*value/bonuspeed
3729+
3730
3731
local ModeOfGlitch = 1
3732-
scaler2b = scaler2b - 0.01/value*bonuspeed
3732+
3733-
scaler2c = scaler2c - 0.01/value*bonuspeed
3733+
3734
3735
3736-
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3736+
function Blink()
3737
for i = 0, 14 do
3738
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)
3739
end
3740
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3741
RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
3742-
function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
3742+
3743
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
3744-
local rotenable = rotatingop
3744+
3745
dmg(v)
3746
end
3747
end
3748
for i = 0, 14 do
3749
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)
3750
end
3751
sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
3752
end
3753
3754-
if typeoftrans == "In" then
3754+
3755-
rng.Transparency = 1
3755+
3756
if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
3757
targetted = mouse.Target.Parent
3758
end
3759
if targetted ~= nil then
3760
attack = true
3761-
        rngm.MeshType = "FileMesh"
3761+
3762-
if typeofshape == "Normal" then
3762+
3763-
rngm.MeshId = "rbxassetid://662586858"
3763+
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,MAINRUINCOLOR,0)
3764-
elseif typeofshape == "Round" then
3764+
3765-
rngm.MeshId = "rbxassetid://662585058"
3765+
3766
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,MAINRUINCOLOR,0)
3767
end
3768-
local scaler2 = 1/10
3768+
Sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3769
local originalpos = root.CFrame
3770-
scaler2 = 1*value/10
3770+
3771
for i = 0, 9 do
3772-
scaler2 = 1/value/10
3772+
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,MAINRUINCOLOR,0)
3773
end
3774
for i = 0, 24 do
3775
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,MAINRUINCOLOR,0)
3776
end
3777
hum.WalkSpeed = 0
3778
targetted.Head.Anchored = true
3779-
scaler2 = scaler2 - 0.01*value/bonuspeed/10
3779+
Sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3780
for i = 0,2,0.1 do
3781-
scaler2 = scaler2 - 0.01/value*bonuspeed/10
3781+
3782
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)
3783-
if rotenable == true then
3783+
3784
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)
3785-
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
3785+
3786
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)
3787-
rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
3787+
3788
end
3789
coroutine.resume(coroutine.create(function()
3790-
if typeoftrans == "Out" then
3790+
bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
3791
bld.LightEmission = 0.1
3792-
elseif typeoftrans == "In" then
3792+
bld.Texture = "rbxassetid://284205403"
3793
bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
3794
bld.Rate = 500
3795-
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
3795+
3796
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
3797
bld.Acceleration = vt(0,-25,0)
3798
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
3799
bld.Speed = NumberRange.new(10,50)
3800
bld.EmissionDirection = "Front"
3801
bld.VelocitySpread = 25
3802
bld.Rotation = NumberRange.new(-500,500)
3803
bld.RotSpeed = NumberRange.new(-500,500)
3804
end))
3805
coroutine.resume(coroutine.create(function()
3806
bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
3807
bld.LightEmission = 0.1
3808
bld.Texture = "rbxassetid://284205403"
3809
bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
3810
bld.Rate = 500
3811
bld.Lifetime = NumberRange.new(1)
3812
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
3813
bld.Acceleration = vt(0,-25,0)
3814
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
3815
bld.Speed = NumberRange.new(10,50)
3816
bld.EmissionDirection = "Front"
3817
bld.VelocitySpread = 25
3818
bld.Rotation = NumberRange.new(-500,500)
3819
bld.RotSpeed = NumberRange.new(-500,500)
3820
end))
3821
CameraEnshaking(5,5)
3822
game:GetService("Debris"):AddItem(bld,3)
3823
dmg(targetted)
3824
CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
3825
for i = 0,1,0.1 do
3826
swait()
3827
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)
3828
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)
3829
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)
3830
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
3831
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)
3832
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)
3833
end
3834
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
3835
for i = 0, 9 do
3836
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,MAINRUINCOLOR,0)
3837
end
3838
for i = 0, 24 do
3839
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,MAINRUINCOLOR,0)
3840-
if chaosmode == true then
3840+
3841
Sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3842
root.CFrame = originalpos
3843
for i = 0, 9 do
3844
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,MAINRUINCOLOR,0)
3845
end
3846
for i = 0, 24 do
3847
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,MAINRUINCOLOR,0)
3848
end
3849
Sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
3850
bld.Enabled = false
3851
attack = false
3852-
function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
3852+
3853
end
3854
end
3855
function MeteorStrike()
3856
	attack = true
3857
	for i = 0, 2, 0.1 do
3858
swait()
3859
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3860
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3861
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
3862
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
3863
RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
3864
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)
3865
	end
3866
CFuncs["Sound"].Create("rbxassetid://136007472", root, 1,2)
3867
for i=1,20 do
3868
SphereMKCharge(5,-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))),0.5,0.5,5,-0.005,MAINRUINCOLOR,10)
3869
swait()
3870
end
3871
swait(30)
3872
CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
3873
for i =1,20 do
3874
SphereMKw(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,MAINRUINCOLOR,0)
3875
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,MAINRUINCOLOR,0)
3876
end
3877
for i = 0,2,0.1 do
3878
swait()
3879
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
3880
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
3881
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,30 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
3882
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
3883
RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
3884
LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
3885
end
3886
for i =1,20 do
3887
SphereMKw(1,1,"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,10,0.05,MAINRUINCOLOR,0)
3888
end
3889
text.TextTransparency = 1
3890
text.TextStrokeTransparency = 1
3891-
if chaosmode == true then
3891+
tr2.Enabled = false
3892
tr1.Enabled = false
3893
tr3.Enabled = false
3894
tl1.Enabled = false
3895
tl2.Enabled = false
3896
tl3.Enabled = false
3897
Spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
3898
eff = false
3899
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
3900
							local invtab = {}
3901
							local function search(targ)
3902
								if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
3903
									table.insert(invtab,targ)
3904
									end
3905
								for i,v in pairs(targ:GetChildren()) do
3906
									search(v)
3907
								end
3908
							end
3909
							search(plr.Character)
3910
							local frm = 0
3911
							local frmcon
3912
							frmcon = game:GetService("RunService").Heartbeat:connect(function()
3913
								if frm < 10 then
3914
									for i,v in pairs(invtab) do
3915
										if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture")  then
3916
											v.Transparency = v.Transparency + 0.1
3917
										end
3918
									end
3919
									frm = frm + 1
3920
								else
3921
									frmcon:disconnect()
3922
								end
3923
							end)
3924
swait(200)
3925
text.TextTransparency = 0
3926
text.TextStrokeTransparency = 0
3927
tr2.Enabled = false
3928
tr1.Enabled = false
3929
tr3.Enabled = false
3930
tl1.Enabled = false
3931
tl2.Enabled = false
3932
tl3.Enabled = false
3933
eff = true
3934
for i =1,20 do
3935
SphereMKw(1,1,"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,10,0.05,MAINRUINCOLOR,0)
3936
end
3937
Spherew(5,"Add",Torso.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
3938
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
3939
							local invtab = {}
3940
							local function search(targ)
3941
								if targ:IsA("BasePart") or targ:IsA("Decal") or targ:IsA("Texture") then
3942-
if chaosmode == true then
3942+
									table.insert(invtab,targ)
3943
									end
3944
								for i,v in pairs(targ:GetChildren()) do
3945
									search(v)
3946
								end
3947
							end
3948
							search(plr.Character)
3949
							local frm = 0
3950
							local frmcon
3951
							frmcon = game:GetService("RunService").Heartbeat:connect(function()
3952
								if frm < 10 then
3953
									for i,v in pairs(invtab) do
3954-
function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
3954+
										if v:IsA("BasePart") or v:IsA("Decal") or v:IsA("Texture")  then
3955
											v.Transparency = v.Transparency - 0.1
3956
										end
3957
									end
3958
									frm = frm + 1
3959-
        rng.Color = color3
3959+
								else
3960
									frmcon:disconnect()
3961
								end
3962
							end)
3963
swait(5)
3964
for i = 0, 2, 0.1 do
3965
swait()
3966
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
3967
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
3968
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(65),math.rad(0),math.rad(0)),.4)
3969
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-27),math.rad(0),math.rad(0)),.4)
3970
RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.35)*angles(math.rad(70),math.rad(20),math.rad(0)),.1)
3971
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)
3972
end
3973-
local scaler2b = 1
3973+
3974-
local scaler2c = 1
3974+
CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
3975
MagniDamage(root, 30, 65,90, 0, "Normal")
3976
for i =1,20 do
3977-
scaler2b = 1*value2
3977+
SphereMK(1,1,"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,10,0.05,MAINRUINCOLOR,0)
3978-
scaler2c = 1*value3
3978+
3979
Sphere(1,"Add",Torso.CFrame,vt(1,1,1),1,MAINRUINCOLOR)
3980
for i =1,20 do
3981-
scaler2b = 1/value2
3981+
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,MAINRUINCOLOR,0)
3982-
scaler2c = 1/value3
3982+
3983
swait(20)
3984
attack = false
3985
tr2.Enabled = true
3986
tr1.Enabled = true
3987
tr3.Enabled = true
3988
tl1.Enabled = true
3989-
scaler2b = scaler2b - 0.01*value/bonuspeed
3989+
3990-
scaler2c = scaler2c - 0.01*value/bonuspeed
3990+
3991
end
3992
3993-
scaler2b = scaler2b - 0.01/value*bonuspeed
3993+
function FinalCalam()
3994-
scaler2c = scaler2c - 0.01/value*bonuspeed
3994+
3995
hum.WalkSpeed = 0
3996-
rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
3996+
3997
        orb.Anchored = true
3998-
rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
3998+
3999
        orb.CanCollide = false
4000
        orb.FormFactor = 3
4001
        orb.Name = "Ring"
4002
        orb.Material = "Neon"
4003
        orb.Size = Vector3.new(1, 1, 1)
4004-
function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4004+
4005
        orb.TopSurface = 0
4006
        orb.BottomSurface = 0
4007
        local orbm = Instance.new("SpecialMesh", orb)
4008-
if ModeOfGlitch ~= 9 then
4008+
4009
orbm.Name = "SizeMesh"
4010-
elseif ModeOfGlitch == 9 then
4010+
4011-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4011+
4012
local posid = 0
4013
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
4014
for i = 0, 5, 0.1 do
4015
swait()
4016
scaled = scaled - 0.001
4017
posid = posid - scaled
4018
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4019
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4020
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,MAINRUINCOLOR,10)
4021
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,MAINRUINCOLOR,0)
4022
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 10))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4023
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4024
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4025
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)
4026
end
4027
swait(60)
4028
for i =1,3 do
4029-
if ModeOfGlitch == 9 then
4029+
4030
	CFuncs["Sound"].Create("rbxassetid://847061203", orb, 1,0.9)
4031
	Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.3,MAINRUINCOLOR)
4032
end
4033-
if rng.Parent ~= nil then
4033+
swait(30)
4034-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4034+
4035
swait()
4036
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4037
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)
4038
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)
4039
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
4040
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
4041
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
4042
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)
4043
end
4044
swait(60)
4045
	CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
4046
	CFuncs["Sound"].Create("rbxassetid://151304356", workspace, 5,1)
4047
	Sphere(0.2,"Add",orb.CFrame,vt(10,10,10),5,MAINRUINCOLOR)
4048
	Sphere(0.5,"Add",orb.CFrame,vt(1,1,1),5,MAINRUINCOLOR)
4049
	for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
4050
	if v:FindFirstChild('Head') then
4051
	dmg(v)
4052
	end
4053
	end
4054
	for i = 1,20 do
4055
	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,MAINRUINCOLOR,0)
4056
	for i = 0, 10 do
4057
		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,MAINRUINCOLOR,0)
4058
	end
4059-
if chaosmode == true then
4059+
4060
orb:Remove()
4061
attack = false
4062
hum.WalkSpeed = storehumanoidWS
4063
end
4064
4065
4066
function PureDeath()
4067
	attack = true
4068
	hum.WalkSpeed = 0
4069
	for i = 0,1.2,0.1 do
4070
		swait()
4071
		rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
4072-
function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
4072+
		tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
4073
		RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
4074
		LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
4075
		RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(200), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
4076-
if ModeOfGlitch ~= 9 then
4076+
		LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.1)
4077
	end
4078-
elseif ModeOfGlitch == 9 then
4078+
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4079-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4079+
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4080
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
4081
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("White"), "Sphere")
4082
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("White"), "Sphere")
4083
		Cso("331666100", tors, 10, .68)
4084
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
4085
		if v:FindFirstChild("Head") then
4086
			Eviscerate(v)
4087
		end
4088
	end
4089
	CameraEnshaking(1.5, 20)
4090
	for i = 1,4.7,0.1 do
4091
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
4092
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
4093
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
4094
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
4095
	RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
4096
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
4097-
if ModeOfGlitch == 9 then
4097+
4098
	 wait(.6)
4099
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4100
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4101-
if rng.Parent ~= nil then
4101+
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
4102-
rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
4102+
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("White"), "Sphere")
4103
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01,BrickColor.new("White"), "Sphere")
4104
		Cso("331666100", tors, 10, .68)
4105
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
4106
		if v:FindFirstChild("Head") then
4107
			Eviscerate(v)
4108
		end
4109
	end
4110
	CameraEnshaking(1.5, 20)
4111
	for i = 1,4.7,0.1 do
4112
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
4113
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
4114
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
4115
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
4116
	RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
4117
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
4118
	end
4119
      wait(.6)
4120
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4121
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4122
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
4123
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("White"), "Sphere")
4124
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("White"), "Sphere")
4125
		Cso("331666100", tors, 10, .68)
4126
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
4127-
if chaosmode == true then
4127+
		if v:FindFirstChild("Head") then
4128
			Eviscerate(v)
4129
		end
4130
	end
4131
	CameraEnshaking(1.5, 20)
4132
	for i = 1,4.7,0.1 do
4133
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
4134
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
4135
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
4136
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
4137
	RW.C0 = clerp(RW.C0, CF(1.2, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-34)), 0.1)
4138
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.4 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(-15)), 0.1)
4139
	end
4140
	 wait(.6)
4141-
local keptcolor = MAINRUINCOLOR
4141+
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4142
		Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
4143
		Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Institutional white"), "Sphere")
4144-
--[[local val = Instance.new("BoolValue",dude)
4144+
		Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("White"), "Sphere")
4145-
val.Name = "IsHit"]]--
4145+
		Magic(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, BrickColor.new("White"), "Sphere")
4146
		Cso("331666100", tors, 10, .68)
4147
        for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.5)) do
4148
		if v:FindFirstChild("Head") then
4149
			Eviscerate(v)
4150-
v.Name = "DEMINISHED"
4150+
4151
	end
4152
	CameraEnshaking(1.5, 20)
4153
	for i = 1,4.7,0.1 do
4154
	rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -1.4 + 0.1 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(0)), 0.15)
4155-
CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
4155+
	tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35), Rad(0), Rad(0)), 0.3)
4156
	RH.C0 = clerp(RH.C0, CF(1, .4 - 0.1 * Cos(sine / 20), -.6 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(45)), 0.15)
4157
	LH.C0 = clerp(LH.C0, CF(-1, -0.6 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
4158
	RW.C0 = clerp(RW.C0, CF(1.2, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(30), Rad(0), Rad(15)), 0.1)
4159
	LW.C0 = clerp(LW.C0, CF(-1.5, 0.1 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(34)), 0.1)
4160
	end
4161
      wait(.6)
4162
	attack = false
4163
	hum.WalkSpeed = 8
4164
end
4165
4166
function PureBomb()
4167
attack = true
4168
4169
local orb = Instance.new("Part", char)
4170
        orb.Anchored = true
4171
        orb.BrickColor = BrickColor.new("White")
4172
        orb.CanCollide = false
4173
        orb.FormFactor = 3
4174
        orb.Name = "Ring"
4175
        orb.Material = "Neon"
4176
        orb.Size = Vector3.new(1, 1, 1)
4177
        orb.Transparency = 0
4178
        orb.TopSurface = 0
4179-
v.Anchored = false
4179+
4180
        local orbm = Instance.new("SpecialMesh", orb)
4181-
bld.LightEmission = 0.75
4181+
4182-
bld.Texture = "rbxassetid://363275192" ---284205403
4182+
4183-
bld.Color = ColorSequence.new(keptcolor.Color)
4183+
4184
local scaled = 0.1
4185
local posid = 0
4186-
bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
4186+
4187-
bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
4187+
4188-
bld.Speed = NumberRange.new(2,5)
4188+
4189
scaled = scaled - 0.001
4190
posid = posid - scaled
4191
orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
4192
orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
4193
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("White"),10)
4194
SphereMKCharge(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("White"),0)
4195
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)
4196-
        sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
4196+
4197-
v.Color = keptcolor.Color
4197+
4198
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
4199
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
4200
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)
4201-
v:BreakJoints()
4201+
4202
for i = 0, 2, 0.1 do
4203
swait()
4204-
v:BreakJoints()
4204+
4205-
sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
4205+
4206-
CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
4206+
4207-
bld.Speed = NumberRange.new(10,25)
4207+
4208-
bld.Drag = 5
4208+
4209-
bld.Acceleration = vt(0,2,0)
4209+
4210
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)
4211
end
4212
coroutine.resume(coroutine.create(function()
4213
orb.Anchored = false
4214
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
4215
	local a = Instance.new("Part",workspace)
4216
	a.Name = "Direction"	
4217
	a.Anchored = true
4218
	a.BrickColor = bc("Really Red")
4219
a.Material = "Neon"
4220
a.Transparency = 1
4221
	a.CanCollide = false
4222
	local ray = Ray.new(
4223
	    orb.CFrame.p,                           -- origin
4224
	    (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4225
	) 
4226
	local ignore = orb
4227
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4228
	a.BottomSurface = 10
4229
	a.TopSurface = 10
4230
	local distance = (orb.CFrame.p - position).magnitude
4231
	a.Size = Vector3.new(0.1, 0.1, 0.1)
4232
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4233
orb.CFrame = a.CFrame
4234
a:Destroy()
4235
local bv = Instance.new("BodyVelocity")
4236
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4237
bv.velocity = orb.CFrame.lookVector*125
4238
bv.Parent = orb
4239
local hitted = false
4240
game:GetService("Debris"):AddItem(orb, 15)
4241
wait()
4242
local hit =orb.Touched:connect(function(hit) 
4243
	if hitted == false then
4244
	hitted = true
4245
CameraEnshaking(10,2.5)
4246
	MagniDamage(orb, 65, 90,100, 0, "Normal")
4247
Sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("White"))
4248
Sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("White"))
4249
for i = 0, 49 do
4250
SphereMKCharge(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("White"),0)
4251
end
4252
for i = 0, 9 do
4253
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("White"),0)
4254
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("White"),0)
4255
end
4256
orb.Anchored = true
4257
orb.Transparency = 1
4258
wait(8)
4259
orb:Destroy()
4260
end
4261
end)
4262
end))
4263
for i = 0, 1, 0.1 do
4264
swait()
4265-
function BinaryBLINK()
4265+
4266
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)
4267-
sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
4267+
4268
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
4269-
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4269+
4270
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)
4271-
local eff = Instance.new("ParticleEmitter",root)
4271+
4272-
eff.Texture = "rbxassetid://1175838406"
4272+
4273-
eff.LightEmission = 0.95
4273+
4274-
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4274+
4275-
eff.Rate = 10000
4275+
function MALFUNCTIONGroundStrike()
4276-
eff.Lifetime = NumberRange.new(1)
4276+
4277-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
4277+
4278-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4278+
4279-
eff.Speed = NumberRange.new(30,160)
4279+
4280-
eff.Drag = 5
4280+
4281-
eff.Rotation = NumberRange.new(-500,500)
4281+
4282-
eff.VelocitySpread = 100000
4282+
4283-
wait(0.25)
4283+
4284-
eff.Enabled = false
4284+
4285-
wait(4)
4285+
4286-
eff:Destroy()
4286+
4287
CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
4288
CameraEnshaking(4,12)
4289
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
4290-
CameraEnshaking(2,11)
4290+
4291-
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
4291+
4292
end
4293
end
4294
Sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
4295
Sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
4296
Sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
4297-
sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)        sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
4297+
4298
swait()
4299-
sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4299+
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)
4300
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)
4301
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)
4302-
function Fireball()
4302+
4303
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4304
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4305-
local keptcolor = MAINRUINCOLOR
4305+
4306-
    for i = 0,2,0.1 do
4306+
4307
end
4308-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
4308+
4309-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
4309+
4310-
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
4310+
4311-
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
4311+
4312-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.3)
4312+
4313-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
4313+
4314
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
4315
for i = 0, 5, 0.1 do
4316-
        orb.BrickColor = keptcolor
4316+
4317
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)
4318
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)
4319
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)
4320
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)
4321
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)
4322
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4323
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)
4324
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)
4325
end
4326
local Overed = false
4327
CameraEnshaking(2,20)
4328-
orbm.Scale = vt(4,4,4)
4328+
Sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4329-
orb.CFrame = root.CFrame + root.CFrame.lookVector*3
4329+
Sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4330-
local eff = Instance.new("ParticleEmitter",orb)
4330+
Sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
4331-
eff.Texture = "rbxassetid://296874871"
4331+
4332-
eff.LightEmission = 0.95
4332+
4333-
eff.Color = ColorSequence.new(orb.BrickColor.Color)
4333+
4334-
eff.Rate = 10000
4334+
4335-
eff.Lifetime = NumberRange.new(1.5)
4335+
4336-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
4336+
4337-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4337+
4338-
eff.Speed = NumberRange.new(25)
4338+
4339-
eff.Drag = 5
4339+
4340-
eff.Rotation = NumberRange.new(-500,500)
4340+
4341-
eff.VelocitySpread = 9000
4341+
4342-
eff.RotSpeed = NumberRange.new(-500,500)
4342+
4343-
    local a = Instance.new("Part",workspace)
4343+
4344-
    a.Name = "Direction"   
4344+
4345-
    a.Anchored = true
4345+
4346-
    a.BrickColor = bc("Bright red")
4346+
4347
swait(10)
4348
				 local lb = Instance.new("Part")
4349-
    a.CanCollide = false
4349+
4350-
    local ray = Ray.new(
4350+
4351-
        orb.CFrame.p,                           -- origin
4351+
4352-
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4352+
4353-
    )
4353+
4354-
    local ignore = orb
4354+
4355-
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4355+
4356-
    a.BottomSurface = 10
4356+
4357-
    a.TopSurface = 10
4357+
4358-
    local distance = (orb.CFrame.p - position).magnitude
4358+
4359-
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4359+
4360-
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4360+
4361
     thingery.MeshType = "Sphere"
4362
thingery.Scale = vt(20,20,20)
4363-
CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
4363+
4364
  local bv = Instance.new("BodyVelocity")
4365
  bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
4366-
bv.velocity = orb.CFrame.lookVector*75
4366+
4367
  bv.Parent = lb
4368
Sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
4369
Sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
4370
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
4371
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
4372
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
4373
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
4374-
sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
4374+
4375-
elseif orb.Parent == nil and hitted == true then
4375+
4376
while true do
4377
swait(1)
4378
if lb.Parent ~= nil and hitted == false then
4379
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)
4380-
local hit =orb.Touched:connect(function(hit)
4380+
4381-
    if hitted == false and hit.Parent ~= char then
4381+
4382-
    hitted = true
4382+
4383-
    eff.Enabled = false
4383+
4384-
CameraEnshaking(2,11)
4384+
4385-
CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
4385+
4386-
CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
4386+
4387-
    MagniDamage(orb, 25, 20,30, 0, "Normal")
4387+
4388-
sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4388+
4389-
sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4389+
4390-
sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
4390+
4391
if hitted == false then
4392-
sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
4392+
4393
lb.Transparency = 1
4394
lb.Anchored = true
4395-
local rsiz = math.random(10,30)
4395+
4396-
sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
4396+
4397
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
4398-
local eff = Instance.new("ParticleEmitter",orb)
4398+
4399-
eff.Texture = "rbxassetid://296874871"
4399+
4400-
eff.LightEmission = 0.95
4400+
4401-
eff.Color = ColorSequence.new(orb.BrickColor.Color)
4401+
4402-
eff.Rate = 10000
4402+
4403-
eff.Lifetime = NumberRange.new(1.5)
4403+
Sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4404-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
4404+
Sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4405-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4405+
4406-
eff.Speed = NumberRange.new(150)
4406+
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)
4407-
eff.Drag = 5
4407+
4408-
eff.Rotation = NumberRange.new(-500,500)
4408+
4409-
eff.VelocitySpread = 9000
4409+
4410-
eff.RotSpeed = NumberRange.new(-500,500)
4410+
4411
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)
4412-
    wait(0.25)
4412+
4413-
    eff.Enabled = false
4413+
4414
end)
4415-
local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
4415+
4416
end
4417
Overed = true
4418
orb:Destroy()
4419-
if hfr ~= nil then
4419+
4420-
orb.Size = vt(50,1,50)
4420+
4421-
orb.Orientation = vt(0,0,0)
4421+
4422-
orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
4422+
4423-
orbm:Destroy()
4423+
4424-
local firef = eff:Clone()
4424+
4425-
firef.Parent = orb
4425+
4426-
firef.VelocitySpread = 50
4426+
4427-
firef.Rate = 500
4427+
4428-
firef.Drag = 3
4428+
4429-
firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4429+
4430-
firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
4430+
4431-
firef.Speed = NumberRange.new(10,30)
4431+
4432
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)
4433-
wait(0.25)
4433+
4434-
MagniDamage(orb, 25, 3,6, 0, "Normal")
4434+
4435
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
4436-
firef.Enabled = false
4436+
4437
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)
4438
end
4439-
wait(10)
4439+
4440
CameraEnshaking(2,20)
4441
Sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4442
Sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4443-
    for i = 0,1,0.1 do
4443+
Sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
4444
Sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4445-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
4445+
Sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
4446-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
4446+
Sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
4447-
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
4447+
4448-
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
4448+
4449-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
4449+
4450-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
4450+
4451
        orb.CanCollide = false
4452
        orb.FormFactor = 3
4453
        orb.Name = "Remenant"
4454
        orb.Material = "Neon"
4455
orb.CFrame = root.CFrame*CFrame.new(0,150,0)
4456-
function smiter()
4456+
4457
        orb.Transparency = 1
4458
        orb.TopSurface = 0
4459
        orb.BottomSurface = 0
4460
hum.WalkSpeed = storehumanoidWS
4461
coroutine.resume(coroutine.create(function()
4462
for i = 0, 9 do
4463
swait(10)
4464
				 local lb = Instance.new("Part")
4465
    lb.Color = MAINRUINCOLOR.Color
4466-
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
4466+
4467-
sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
4467+
4468-
local vel = Instance.new("BodyPosition", targetted.Head)
4468+
4469-
vel.P = 12500
4469+
4470-
vel.D = 1000
4470+
4471-
vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
4471+
4472-
vel.position = targetted.Head.CFrame.p
4472+
4473
     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)))
4474-
CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
4474+
4475-
    for i = 0,4,0.1 do
4475+
4476
local thingery = Instance.new("SpecialMesh",lb)
4477-
sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
4477+
4478-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
4478+
4479-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
4479+
4480-
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
4480+
4481-
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
4481+
4482-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
4482+
4483-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
4483+
4484
Sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
4485
Sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
4486-
CameraEnshaking(6,5)
4486+
Sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
4487-
MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
4487+
Sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
4488-
CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
4488+
Sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
4489-
CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
4489+
4490-
CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
4490+
4491-
sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
4491+
4492-
sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
4492+
4493-
sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
4493+
4494-
sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
4494+
4495
while true do
4496-
local eff = Instance.new("ParticleEmitter",targetted.Head)
4496+
4497-
eff.Texture = "rbxassetid://363275192"
4497+
4498-
eff.LightEmission = 0.95
4498+
4499-
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4499+
4500-
eff.Rate = 10000
4500+
4501-
eff.Lifetime = NumberRange.new(1.5)
4501+
4502-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
4502+
4503-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4503+
4504-
eff.Speed = NumberRange.new(25,150)
4504+
4505-
eff.Drag = 5
4505+
4506-
eff.Rotation = NumberRange.new(-500,500)
4506+
4507-
eff.VelocitySpread = 9000
4507+
4508-
eff.RotSpeed = NumberRange.new(-50,50)
4508+
4509-
local eff2 = eff:Clone()
4509+
4510-
eff2.Parent = targetted.Head
4510+
4511-
eff2.Texture = "rbxassetid://284205403"
4511+
4512-
eff2.Rate = 10000
4512+
4513-
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4513+
4514-
eff2.Drag = 5
4514+
4515-
eff2.Rotation = NumberRange.new(-500,500)
4515+
4516-
eff2.VelocitySpread = 9000
4516+
4517
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
4518-
eff2.Enabled = false
4518+
4519-
eff.Enabled = false
4519+
4520
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
4521
MagniDamage(lb, 45, 45,85, 0, "Normal")
4522-
sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
4522+
CameraEnshaking(10,5)
4523
Sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4524
Sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4525-
local rsiz = math.random(10,50)
4525+
Sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4526-
sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
4526+
Sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4527
Sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4528-
game:GetService("Debris"):AddItem(vel,1)
4528+
Sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4529
Sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4530
Sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4531-
    for i = 0,1,0.1 do
4531+
Sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4532
Sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4533-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
4533+
Sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
4534-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
4534+
Sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
4535-
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
4535+
4536-
LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
4536+
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)
4537-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
4537+
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)
4538-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
4538+
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)
4539
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)
4540
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)
4541
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)
4542
end
4543
for i = 0, 49 do
4544
swait()
4545-
function BinaryE()
4545+
MagniDamage(lb, 30, 30, 60, 0, "Normal")
4546-
local posit = -2
4546+
4547
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)
4548-
hum.WalkSpeed = 5
4548+
4549-
CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
4549+
4550-
    for i = 0,2,0.1 do
4550+
4551
end)
4552-
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
4552+
4553-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
4553+
4554-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
4554+
4555-
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
4555+
4556-
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
4556+
4557-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
4557+
4558-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
4558+
4559
end
4560
4561-
CameraEnshaking(2,11)
4561+
4562
attack = true
4563
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
4564
for i = 0, 2, 0.1 do
4565
swait()
4566
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)
4567
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)
4568
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)
4569
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)
4570
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
4571
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
4572-
hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
4572+
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
4573-
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
4573+
4574-
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
4574+
4575
        orb.BrickColor = MAINRUINCOLOR
4576-
local eff = Instance.new("ParticleEmitter",hite)
4576+
4577-
eff.Texture = "rbxassetid://1175838406"
4577+
4578-
eff.LightEmission = 0.95
4578+
4579-
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4579+
4580-
eff.Rate = 1000
4580+
4581-
eff.Lifetime = NumberRange.new(1)
4581+
4582-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
4582+
4583-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4583+
4584-
eff.Speed = NumberRange.new(10,50)
4584+
4585-
eff.Drag = 5
4585+
4586-
eff.Rotation = NumberRange.new(-500,500)
4586+
4587-
eff.VelocitySpread = 100000
4587+
4588-
wait(0.25)
4588+
4589-
eff.Enabled = false
4589+
4590
	a.Anchored = true
4591
	a.BrickColor = bc("Really Red")
4592-
for i = 0, 1 do
4592+
4593-
    swait()
4593+
4594-
        sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
4594+
4595-
        sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
4595+
4596
	    sorb.CFrame.p,                           -- origin
4597
	    (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
4598-
sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
4598+
4599-
MagniDamage(hite, 3, 30,40, 0, "Normal")
4599+
4600
	local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4601-
posit = posit + 2
4601+
4602
	a.TopSurface = 10
4603-
    for i = 0,1,0.1 do
4603+
4604
	a.Size = Vector3.new(0.1, 0.1, 0.1)
4605-
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
4605+
4606-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
4606+
4607-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
4607+
4608-
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
4608+
4609-
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
4609+
4610-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
4610+
4611-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
4611+
4612
local hitted = false
4613-
    for i = 0,1,0.1 do
4613+
4614
CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
4615-
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
4615+
4616-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
4616+
4617-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
4617+
4618-
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
4618+
4619-
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
4619+
4620-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
4620+
4621-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
4621+
4622
if orb.Parent ~= nil and hitted == false then
4623-
    posit = -6
4623+
4624-
    for i = 0, 6 do
4624+
4625-
CameraEnshaking(2,11)
4625+
4626
end
4627
end
4628
end))
4629
coroutine.resume(coroutine.create(function()
4630
swait(1)
4631
orb.Touched:connect(function(hit)
4632
if hitted == false then
4633
hitted = true
4634
game:GetService("Debris"):AddItem(orb, 5)
4635
orb.Transparency = 1
4636-
hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
4636+
4637-
CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
4637+
4638-
CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
4638+
4639-
sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
4639+
4640
elocacenter.Orientation = vt(0,0,0)
4641-
local eff = Instance.new("ParticleEmitter",hite)
4641+
4642-
eff.Texture = "rbxassetid://1175838406"
4642+
4643-
eff.LightEmission = 0.95
4643+
4644-
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4644+
4645-
eff.Rate = 1000
4645+
4646-
eff.Lifetime = NumberRange.new(1)
4646+
4647-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
4647+
4648-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4648+
4649-
eff.Speed = NumberRange.new(20,70)
4649+
4650-
eff.Drag = 5
4650+
4651-
eff.Rotation = NumberRange.new(-500,500)
4651+
4652-
eff.VelocitySpread = 100000
4652+
4653-
wait(0.25)
4653+
4654-
eff.Enabled = false
4654+
4655
CameraEnshaking(1,1)
4656
CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
4657
Sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4658-
    swait()
4658+
Sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4659-
        sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
4659+
Sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4660-
        sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
4660+
Sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4661-
        sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
4661+
Sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4662
for i = 0, 99 do
4663
swait()
4664-
MagniDamage(hite, 5, 40,70, 0, "Normal")
4664+
4665
speeds = speeds + 0.1
4666-
posit = posit + 2
4666+
4667
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4668-
    for i = 0,1,0.1 do
4668+
4669
4670-
sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
4670+
4671-
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
4671+
4672-
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
4672+
4673-
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
4673+
4674-
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
4674+
4675-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
4675+
4676-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
4676+
4677
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)
4678
end
4679
4680
for i = 0, 149 do
4681
swait()
4682-
function CorruptBlink()
4682+
4683
elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
4684
eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
4685
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)
4686
4687
eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
4688
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)
4689
4690
eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
4691
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)
4692
4693
eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
4694
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)
4695
end
4696
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
4697
if v:FindFirstChild('Head') then
4698
dmg(v)
4699
end
4700
end
4701
CameraEnshaking(7,30)
4702
MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
4703
CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
4704
CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
4705
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
4706
CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
4707
Sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
4708
Sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
4709
Sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4710
Sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4711
Sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4712
Sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4713
Sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
4714
for i = 0, 24 do
4715
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)
4716
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)
4717
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)
4718
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)
4719
end
4720
coroutine.resume(coroutine.create(function()
4721
for i = 0, 499 do
4722
swait(1)
4723
MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
4724
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)
4725
end
4726
elocacenter:Destroy()
4727
eloca1:Destroy()
4728-
sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
4728+
4729-
PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
4729+
4730
eloca4:Destroy()
4731
end))
4732
end
4733
end)
4734
end))
4735
attack = false
4736
end
4737
4738
4739
function UniversalCollapse()
4740
attack = true
4741
local speedearn = 0
4742
hum.WalkSpeed = 0
4743
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
4744
for i = 0, 10, 0.1 do
4745
swait()
4746
speedearn = speedearn + 0.1
4747
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)
4748
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)
4749
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)
4750-
    local a = Instance.new("Part",workspace)
4750+
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)
4751-
    a.Name = "Direction"   
4751+
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)
4752-
    a.Anchored = true
4752+
4753-
    a.BrickColor = bc("Bright red")
4753+
4754
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)
4755
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
4756-
    a.CanCollide = false
4756+
4757-
    local ray = Ray.new(
4757+
4758-
        orb.CFrame.p,                           -- origin
4758+
4759-
        (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
4759+
CameraEnshaking(5,45)
4760-
    )
4760+
Sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
4761-
    local ignore = orb
4761+
4762-
    local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
4762+
4763-
    a.BottomSurface = 10
4763+
4764-
    a.TopSurface = 10
4764+
4765-
    local distance = (orb.CFrame.p - position).magnitude
4765+
4766-
    a.Size = Vector3.new(0.1, 0.1, 0.1)
4766+
4767-
    a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
4767+
4768
attack = false
4769
end
4770
function MALFUNCTIONBegone()
4771
attack = true
4772
local speedearn = 0
4773
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
4774
for i = 0, 10, 0.1 do
4775
swait()
4776
speedearn = speedearn + 0.1
4777-
local hit =orb.Touched:connect(function(hit)
4777+
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)
4778-
    if hitted == false then
4778+
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)
4779-
    hitted = true
4779+
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)
4780
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)
4781-
CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
4781+
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)
4782-
    MagniDamage(orb, 65, 65,90, 0, "Normal")
4782+
4783-
sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
4783+
4784-
sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
4784+
4785
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
4786-
PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
4786+
4787
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
4788
end
4789-
sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
4789+
4790-
sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
4790+
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
4791
CameraEnshaking(5,25)
4792
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
4793
if v:FindFirstChild('Head') then
4794
dmg(v)
4795
end
4796
end
4797
Sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
4798
Sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
4799
Sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
4800
for i = 0, 3, 0.1 do
4801
swait()
4802
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)
4803
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)
4804
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)
4805
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)
4806
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)
4807
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)
4808
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4809
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
4810
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
4811
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
4812-
function BanishingOrb()
4812+
4813
attack = false
4814
end
4815
4816
function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
4817-
        orb.BrickColor = BrickColor.new("Black")
4817+
4818
        orb.Anchored = true
4819
        orb.BrickColor = color
4820
        orb.CanCollide = false
4821
        orb.FormFactor = 3
4822
        orb.Name = "Ring"
4823
        orb.Material = "Neon"
4824
        orb.Size = Vector3.new(1, 1, 1)
4825
        orb.Transparency = 0
4826
        orb.TopSurface = 0
4827
        orb.BottomSurface = 0
4828
        local orbm = Instance.new("SpecialMesh", orb)
4829
        orbm.MeshType = "Sphere"
4830
orb.CFrame = positted
4831
orbm.Name = "SizeMesh"
4832-
CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
4832+
orbm.Scale = vt(1,1,1)
4833
CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
4834
Sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
4835
--[[for i = 0, 2 do
4836
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)
4837
end]]--
4838
coroutine.resume(coroutine.create(function()
4839
wait(timer)
4840-
sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Black"),10)
4840+
CameraEnshaking(3,ShakePower)
4841
orb.Transparency = 1
4842
MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
4843
Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
4844
--[[for i = 0, 4 do
4845
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)
4846
end]]--
4847
CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
4848
wait(3)
4849
orb:Destroy()
4850
end))
4851
end
4852
4853
function orb_spawn(positted,timer)
4854
local randomcol = math.random(1,2)
4855
local orb = Instance.new("Part", char)
4856
        orb.Anchored = true
4857
if randomcol == 1 then
4858
        orb.BrickColor = BrickColor.new("White")
4859
elseif randomcol == 2 then
4860-
CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
4860+
orb.BrickColor = BrickColor.new("Really black")
4861
end
4862
        orb.CanCollide = false
4863
        orb.FormFactor = 3
4864-
	a.BrickColor = bc("Bright red")
4864+
4865
        orb.Material = "Neon"
4866
        orb.Size = Vector3.new(1, 1, 1)
4867
        orb.Transparency = 0
4868
        orb.TopSurface = 0
4869
        orb.BottomSurface = 0
4870
        local orbm = Instance.new("SpecialMesh", orb)
4871
        orbm.MeshType = "Sphere"
4872
orb.CFrame = positted
4873
orbm.Name = "SizeMesh"
4874
orbm.Scale = vt(1,1,1)
4875
CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
4876
Sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
4877
for i = 0, 2 do
4878
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)
4879
end
4880
coroutine.resume(coroutine.create(function()
4881
wait(timer)
4882
CameraEnshaking(3,2)
4883-
bv.velocity = orb.CFrame.lookVector*0
4883+
4884
MagniDamage(orb, 17.5, 10,50, 0, "Normal")
4885
Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
4886-
local rate = 0
4886+
4887
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)
4888
end
4889
CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
4890-
rate = rate + 0.25
4890+
wait(3)
4891-
bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
4891+
4892-
for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
4892+
4893
end
4894
4895
function GlitchThat()
4896
attack = true
4897-
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
4897+
4898-
sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
4898+
4899-
sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
4899+
4900
for i = 0, 10, 0.1 do
4901
swait()
4902
speedearn = speedearn + 0.1
4903-
for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
4903+
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)
4904
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)
4905
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)
4906
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)
4907
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)
4908-
local eff = Instance.new("ParticleEmitter",orb)
4908+
4909-
eff.Texture = "rbxassetid://296874871"
4909+
4910-
eff.LightEmission = 0.95
4910+
4911-
eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
4911+
4912-
eff.Rate = 1000000000
4912+
4913-
eff.Lifetime = NumberRange.new(3)
4913+
4914-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
4914+
4915-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
4915+
CameraEnshaking(5, 1000)
4916-
eff.Speed = NumberRange.new(30)
4916+
Sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
4917-
eff.Acceleration = vt(0,-15,0)
4917+
4918-
eff.Rotation = NumberRange.new(-500,500)
4918+
4919-
eff.VelocitySpread = 100000
4919+
4920-
eff.RotSpeed = NumberRange.new(-500,500)
4920+
4921
end
4922-
	wait(0.6)
4922+
4923-
	eff.Enabled = false
4923+
4924
attack = false
4925-
CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
4925+
4926-
CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
4926+
4927-
sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
4927+
function Technobeam()
4928-
sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
4928+
    attack = true
4929-
sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
4929+
    hum.WalkSpeed = 3.01
4930
    for i = 0, 4, 0.1 do
4931
        swait()
4932
        hum.CameraOffset = Vector3.new(0, -0.1 + 0.1 * Cos(sine / 20), 0)
4933
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(40)), 0.2)
4934
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
4935
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
4936
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
4937
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(125), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
4938
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
4939
    end
4940
    for i = 0, 2, 0.1 do
4941
        swait()
4942
        hum.CameraOffset = Vector3.new(0, 0.3 + 0.1 * Cos(sine / 20), 0)
4943
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-25), Rad(0), Rad(40)), 0.2)
4944
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-40)), 0.2)
4945
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1.2 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(-25)), 0.2)
4946
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(25)), 0.2)
4947-
function ChaosGroundStrike()
4947+
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(145), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
4948
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
4949
    end
4950
    Magic(5, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, MAINRUINCOLOR, "Sphere")
4951
    Magic(10, "Add", mouse.Hit * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, MAINRUINCOLOR, "Sphere")
4952
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 100000, 1), 0.5, MAINRUINCOLOR, "Sphere")
4953
    Magic(1, "Add", mouse.Hit, Vector3.new(1, 1, 1), 0.75, MAINRUINCOLOR, "Sphere")
4954
    CameraEnshaking(4, 5)
4955
    Cso("206049428", char, 10, 1)
4956
    for i, v in pairs(FindNearestHead(mouse.Hit.p, 14.5)) do
4957
        if v:FindFirstChild("Head") then
4958
            Eviscerate(v)
4959
        end
4960-
CameraEnshaking(100,100)
4960+
4961
    for i = 0, 2, 0.1 do
4962
        swait()
4963
        hum.CameraOffset = Vector3.new(0, -0.2 + 0.1 * Cos(sine / 20), 0)
4964
        rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-5), Rad(0), Rad(40)), 0.2)
4965
        tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.2)
4966-
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
4966+
        RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(79), Rad(0)) * angles(Rad(-10), Rad(0), Rad(-10)), 0.2)
4967-
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
4967+
        LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-79), Rad(0)) * angles(Rad(-15), Rad(0), Rad(10)), 0.2)
4968-
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
4968+
        RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(45), Rad(-7.5 * Sin(sine / 20)), Rad(40)), 0.2)
4969
        LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-25), Rad(7.5 * Sin(sine / 20)), Rad(-25)), 0.2)
4970
    end
4971-
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
4971+
4972-
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
4972+
    attack = false
4973
end
4974
4975
function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
4976
local orb = Instance.new("Part", char)
4977
        orb.Anchored = true
4978
        orb.BrickColor = color
4979
        orb.CanCollide = false
4980
        orb.FormFactor = 3
4981
        orb.Name = "Ring"
4982
        orb.Material = "Neon"
4983
        orb.Size = Vector3.new(1, 1, 1)
4984
        orb.Transparency = 0
4985
        orb.TopSurface = 0
4986
        orb.BottomSurface = 0
4987
        local orbm = Instance.new("SpecialMesh", orb)
4988
        orbm.MeshType = "Sphere"
4989
orb.CFrame = positted
4990
orbm.Name = "SizeMesh"
4991
orbm.Scale = vt(1,1,1)
4992
CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
4993
Sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
4994
--[[for i = 0, 2 do
4995
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)
4996
end]]--
4997
coroutine.resume(coroutine.create(function()
4998
wait(timer)
4999
CameraEnshaking(3,ShakePower)
5000
orb.Transparency = 1
5001
MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
5002-
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5002+
Sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
5003-
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5003+
--[[for i = 0, 4 do
5004-
sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
5004+
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)
5005
end]]--
5006
CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
5007
wait(3)
5008
orb:Destroy()
5009
end))
5010
end
5011
5012
function scattercorrupt()
5013
attack = true
5014
local rot = 0
5015
local randomrotations = math.random(1,2)
5016
local lookv = 2.5
5017
local power = 5
5018
Sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Crimson"))
5019
Sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Crimson"))
5020
for i = 0, 9 do
5021
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("Crimson"),0)
5022
end
5023
	CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
5024
	CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
5025
	CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
5026
CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
5027
CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
5028
local hite = Instance.new("Part", char)
5029
        hite.Anchored = true
5030
        hite.CanCollide = false
5031
        hite.FormFactor = 3
5032
        hite.Name = "Ring"
5033
        hite.Material = "Neon"
5034
        hite.Size = Vector3.new(1, 1, 1)
5035
        hite.Transparency = 1
5036
        hite.TopSurface = 0
5037
        hite.BottomSurface = 0
5038
hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
5039
local rem = Instance.new("Part", char)
5040
        rem.Anchored = true
5041
        rem.CanCollide = false
5042-
sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
5042+
        rem.FormFactor = 3
5043-
sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
5043+
        rem.Name = "Ring"
5044
        rem.Material = "Neon"
5045
        rem.Size = Vector3.new(1, 1, 1)
5046
        rem.Transparency = 1
5047
        rem.TopSurface = 0
5048
        rem.BottomSurface = 0
5049
rem.CFrame = hite.CFrame
5050
local rem2 = rem:Clone()
5051
rem2.Parent = char
5052
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
5053
local rem3 = rem:Clone()
5054
rem3.Parent = char
5055
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
5056
local rem4 = rem:Clone()
5057
rem4.Parent = char
5058
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
5059
hite:Destroy()
5060
coroutine.resume(coroutine.create(function()
5061
for i = 0, 24 do
5062
swait(1)
5063
if randomrotations == 1 then
5064
rot = rot + 1
5065
elseif randomrotations == 2 then
5066
rot = rot - 1
5067
end
5068
power = power + 0.5
5069
lookv = lookv + 7.5
5070
rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
5071
rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
5072
rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
5073
rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
5074
orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Crimson"),power,25,75,10,power/5,7.5)
5075
orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Really Red"),power,25,75,10,power/5,7.5)
5076
orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Crimson"),power,25,75,10,power/5,7.5)
5077-
sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
5077+
orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Really Red"),power,25,75,10,power/5,7.5)
5078-
sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
5078+
5079
end))
5080-
sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
5080+
5081
end
5082
function yinyangi()
5083
attack = true
5084
for i = 0, 2, 0.1 do
5085
swait()
5086
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)
5087
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)
5088
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)
5089
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
5090
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
5091
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
5092
end
5093
local bv = Instance.new("BodyVelocity")
5094
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
5095
bv.velocity = root.CFrame.lookVector*175
5096
bv.Parent = root
5097
for Rotations = 0, 9 do
5098
for i = 0, 1, 0.5 do
5099
swait()
5100
bv.velocity = root.CFrame.lookVector*175
5101-
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
5101+
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)
5102
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)
5103
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)
5104
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5105
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5106
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5107
end
5108
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5109
for i = 0, 1, 0.5 do
5110
swait()
5111
bv.velocity = root.CFrame.lookVector*175
5112
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)
5113
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)
5114
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)
5115-
sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5115+
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5116-
sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
5116+
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5117-
sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
5117+
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5118-
CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
5118+
5119
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5120
for i = 0, 1, 0.5 do
5121
swait()
5122
bv.velocity = root.CFrame.lookVector*175
5123
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)
5124
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)
5125
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)
5126-
orb.CFrame = root.CFrame*CFrame.new(0,250,0)
5126+
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5127
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5128
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5129
end
5130
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5131
for i = 0, 1, 0.5 do
5132
swait()
5133
bv.velocity = root.CFrame.lookVector*175
5134-
swait(15)
5134+
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)
5135
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)
5136
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)
5137
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
5138
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
5139
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
5140
end
5141
orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
5142
end
5143
bv:Destroy()
5144
attack = false
5145
end
5146
5147
function RainbowBeam()
5148
attack = true
5149-
thingery.Scale = vt(50,50,50)
5149+
5150
local rngb = Instance.new("Part", char)
5151
        rngb.Anchored = true
5152
        rngb.BrickColor = origcolor
5153-
  bv.velocity = lb.CFrame.lookVector*math.random(50,420)
5153+
        rngb.CanCollide = false
5154
        rngb.FormFactor = 3
5155-
sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
5155+
        rngb.Name = "Ring"
5156-
sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
5156+
        rngb.Material = "Neon"
5157-
CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
5157+
        rngb.Size = Vector3.new(1, 0.05, 1)
5158-
CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
5158+
        rngb.Transparency = 1
5159-
CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
5159+
        rngb.TopSurface = 0
5160-
CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
5160+
        rngb.BottomSurface = 0
5161
        local rngmb = Instance.new("SpecialMesh", rngb)
5162
        rngmb.MeshType = "Brick"
5163
rngmb.Name = "SizeMesh"
5164
rngmb.Scale = vt(0,1,0)
5165
5166-
PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
5166+
local orb = rngb:Clone()
5167
orb.Parent = char
5168
orb.Transparency = 0
5169
orb.BrickColor = BrickColor.new("White")
5170
orb.Size = vt(1,1,1)
5171
local orbmish = orb.SizeMesh
5172
orbmish.Scale = vt(0,0,0)
5173
orbmish.MeshType = "Sphere"
5174
5175
local orbe = rngb:Clone()
5176
orbe.Parent = char
5177
orbe.Transparency = 0.5
5178
orbe.BrickColor = BrickColor.new("New Yeller")
5179
orbe.Size = vt(1,1,1)
5180
local orbmish2 = orbe.SizeMesh
5181
orbmish2.Scale = vt(0,0,0)
5182-
CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
5182+
orbmish2.MeshType = "Sphere"
5183-
CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
5183+
orbe.Color = Color3.new(r/255,g/255,b/255)
5184-
CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
5184+
5185-
CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
5185+
rngb:Destroy()
5186-
CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
5186+
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
5187-
CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
5187+
local scaled = 1
5188-
MagniDamage(lb, 50, 60,99, 0, "Normal")
5188+
for i = 0,5,0.1 do
5189
swait()
5190-
sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
5190+
scaled = scaled - 0.02
5191-
sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
5191+
5192
orbe.Color = Color3.new(r/255,g/255,b/255)
5193-
sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
5193+
5194
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
5195
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
5196
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5197-
MagniDamage(lb, 30, 6,18, 0, "Normal")
5197+
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5198-
PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
5198+
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)
5199
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
5200
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
5201
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
5202
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5203
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)
5204
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)
5205
RootPart.CFrame = FaceMouse()[1]
5206
end]]--
5207
for i = 0,5,0.1 do
5208
swait()
5209
if rainbowmode == true then
5210
orbe.Color = Color3.new(r/255,g/255,b/255)
5211-
function DivineBlast()
5211+
5212
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5213
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5214-
local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
5214+
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
5215
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
5216-
elocacenter.CFrame = sorb.CFrame
5216+
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
5217-
local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5217+
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5218
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)
5219
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)
5220-
local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5220+
5221
end
5222
orbe.Transparency = 1
5223-
local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5223+
5224
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
5225
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
5226-
local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
5226+
5227
	a.Name = "Direction"	
5228
	a.Anchored = true
5229
	a.BrickColor = bc("White")
5230
a.Material = "Neon"
5231-
CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
5231+
5232
a.Shape = "Cylinder"
5233
	a.CanCollide = false
5234-
---
5234+
5235-
lookavec = lookavec + 0.1
5235+
5236-
speeds = speeds + 10
5236+
5237-
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5237+
	a2.BrickColor = bc("New Yeller")
5238
a2.Color = Color3.new(r/255,g/255,b/255)
5239-
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5239+
5240
a2.Transparency = 0.5
5241
a2.Shape = "Cylinder"
5242-
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5242+
5243
local ba = Instance.new("Part",Character)
5244
	ba.Name = "HitDirect"	
5245-
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5245+
	ba.Anchored = true
5246
	ba.BrickColor = bc("Cool yellow")
5247
ba.Material = "Neon"
5248-
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5248+
ba.Transparency = 1
5249-
---
5249+
	ba.CanCollide = false
5250-
root.CFrame = FaceMouse()[1]
5250+
5251
	    orb.CFrame.p,                           -- origin
5252
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
5253
	) 
5254
	local ignore = Character
5255-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5255+
5256
	a.BottomSurface = 10
5257
	a.TopSurface = 10
5258
	a2.BottomSurface = 10
5259
	a2.TopSurface = 10
5260-
---
5260+
5261-
speeds = speeds + 10
5261+
5262-
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5262+
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5263
	a2.Size = Vector3.new(distance, 1, 1)
5264-
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5264+
	a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5265
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
5266
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5267-
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5267+
5268
game:GetService("Debris"):AddItem(a, 20)
5269
game:GetService("Debris"):AddItem(a2, 20)
5270-
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5270+
game:GetService("Debris"):AddItem(ba, 20)
5271
local msh = Instance.new("SpecialMesh",a)
5272
msh.MeshType = "Cylinder"
5273-
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5273+
msh.Scale = vt(1,5*5,5*5)
5274-
---
5274+
5275-
root.CFrame = FaceMouse()[1]
5275+
5276
msh2.Scale = vt(1,6*5,6*5)
5277
5278
for i = 0,10,0.1 do
5279
swait()
5280-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
5280+
5281
a2.Color = Color3.new(r/255,g/255,b/255)
5282
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5283-
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
5283+
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5284
ray = Ray.new(
5285
	    orb.CFrame.p,                           -- origin
5286-
---
5286+
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
5287-
speeds = speeds + 10
5287+
5288-
elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
5288+
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5289
distance = (orb.CFrame.p - position).magnitude
5290-
PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5290+
if typrot == 1 then
5291
rotation = rotation + 2.5
5292
elseif typrot == 2 then
5293-
PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5293+
rotation = rotation - 2.5
5294
end
5295
RootPart.CFrame = FaceMouse()[1]
5296-
PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5296+
a.Size = Vector3.new(distance, 1, 1)
5297
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5298
a2.Size = Vector3.new(distance, 1, 1)
5299-
PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
5299+
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5300-
---
5300+
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
5301-
root.CFrame = FaceMouse()[1]
5301+
5302
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
5303
msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
5304-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
5304+
msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
5305-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
5305+
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)
5306-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
5306+
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)
5307
MagniDamage(ba, 30, 500,60000, 0, "Normal")
5308
end
5309
a:Destroy()
5310
a2:Destroy()
5311
ba:Destroy()
5312
orb:Destroy()
5313
orbe:Destroy()
5314
attack = false
5315
end
5316
function HolyBarrier()
5317
	attack = true
5318
	shielding = true
5319
	for i = 0, 2, 0.1 do
5320
		swait()
5321-
	a2.BrickColor = bc("Bright yellow")
5321+
		RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
5322
		LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
5323-
a2.Transparency = 0
5323+
		RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
5324
		Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
5325
		RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
5326-
local b = Instance.new("Part",Character)
5326+
		LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
5327-
	b.Name = "HitDirect"	
5327+
5328-
	b.Anchored = true
5328+
	CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
5329-
	b.BrickColor = bc("Cool yellow")
5329+
	stash = Instance.new("Model",workspace)
5330-
b.Material = "Neon"
5330+
	local barrier = Instance.new("Part",stash)
5331-
b.Transparency = 1
5331+
	barrier.Anchored = true
5332-
	b.CanCollide = false
5332+
	barrier.CanCollide = false
5333
	barrier.Size = Vector3.new(20,20,20)
5334-
	    elocacenter.CFrame.p,                           -- origin
5334+
	barrier.CFrame = root.CFrame
5335-
	    (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
5335+
	barrier.Transparency = 0.6
5336
	barrier.BrickColor = MAINRUINCOLOR
5337
	barrier.Material = Enum.Material.Neon
5338
	barrier.Shape = Enum.PartType.Ball
5339
	barrier.CFrame = root.CFrame
5340
	Sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
5341
	Torso.Anchored = true
5342
	for i=1,50 do
5343-
	local distance = (elocacenter.CFrame.p - position).magnitude
5343+
		local p = Instance.new("Part",stash)
5344
		p.Anchored = true
5345-
	a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5345+
		p.Transparency = 1
5346
		p.Size = Vector3.new(11,11,11)
5347-
	a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5347+
		p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
5348-
b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
5348+
5349
	repeat
5350
		swait(5)
5351-
game:GetService("Debris"):AddItem(a, 10)
5351+
		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("White"),0)
5352-
game:GetService("Debris"):AddItem(a2, 10)
5352+
	until shielding == false
5353-
game:GetService("Debris"):AddItem(b, 10)
5353+
	stash:Remove()
5354
	Torso.Anchored = false
5355
	shielding = false
5356-
msh.Scale = vt(1,2,2)
5356+
	Sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
5357
	attack = false
5358
end
5359-
msh2.Scale = vt(1,2.5,2.5)
5359+
function Judgement()
5360-
CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
5360+
5361
	judgement = true
5362
	hum.WalkSpeed = 0
5363
	local p = Instance.new("Part",root)
5364-
msh.Scale = msh.Scale + vt(0,0.05,0.05)
5364+
	p.Anchored = true
5365
	p.CanCollide = false
5366-
msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
5366+
	p.BrickColor = MAINRUINCOLOR
5367-
a2.Transparency = a2.Transparency + 0.05
5367+
	p.Material = Enum.Material.Neon
5368
	p.Size = Vector3.new(1,1,1)
5369
	p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5370
	p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5371
	local m = Instance.new("SpecialMesh",p)
5372-
CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
5372+
	m.MeshType = "Cylinder"
5373-
CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
5373+
	m.Scale = Vector3.new(2000,2,2)
5374-
CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
5374+
	local targ = Instance.new("Part",root)
5375-
CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
5375+
	targ.Anchored = true
5376-
CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
5376+
	targ.Transparency = 1
5377-
CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
5377+
	targ.CanCollide = false
5378-
MagniDamage(b, 25, 40,65, 0, "Normal")
5378+
	targ.Size = Vector3.new(1,1,1)
5379
	targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5380-
PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
5380+
	local s = Instance.new("Sound",targ)
5381-
PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
5381+
	s.SoundId = "https://roblox.com/asset/?id=115327352"
5382
	s.Looped = true
5383-
sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
5383+
	s.Pitch = 1.2
5384-
sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
5384+
	s.Volume = 3
5385-
sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5385+
	spawn(function()
5386-
sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5386+
		swait(15)
5387-
sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5387+
		s:Play()
5388-
sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
5388+
5389
	CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
5390-
game:GetService("Debris"):AddItem(elocacenter, 5)
5390+
	for i = 1,15 do
5391
		targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5392
		RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
5393
		Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
5394
		RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
5395
		LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
5396
		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)
5397
		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)
5398
		Sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
5399
		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)
5400
		m.Scale = m.Scale+Vector3.new(0,1,1)
5401
		p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5402
		p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5403
		swait()
5404
	end
5405
	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)
5406
	repeat
5407
		targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
5408
		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)
5409
		Sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
5410
		p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
5411
		p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
5412
		MagniDamage(targ, 25, 5, 8, 0, "Normal")
5413
		swait()
5414
		until judgement == false
5415
	for i =1,15 do
5416
	m.Scale = m.Scale-Vector3.new(1,1,1)
5417
	p.Transparency = i / 15
5418
	s.Pitch = s.Pitch - 0.4
5419
	swait()
5420
	end
5421
	p:Destroy()
5422
	hum.WalkSpeed = storehumanoidWS 
5423
	attack = false
5424-
	a.BrickColor = bc("Bright red")
5424+
5425
5426
function UniversalSpark()
5427
attack = true
5428
5429
local rngb = Instance.new("Part", char)
5430
        rngb.Anchored = true
5431
        rngb.BrickColor = origcolor
5432
        rngb.CanCollide = false
5433
        rngb.FormFactor = 3
5434
        rngb.Name = "Ring"
5435
        rngb.Material = "Neon"
5436
        rngb.Size = Vector3.new(1, 0.05, 1)
5437
        rngb.Transparency = 1
5438
        rngb.TopSurface = 0
5439
        rngb.BottomSurface = 0
5440
        local rngmb = Instance.new("SpecialMesh", rngb)
5441
        rngmb.MeshType = "Brick"
5442
rngmb.Name = "SizeMesh"
5443
rngmb.Scale = vt(0,1,0)
5444
5445
local orb = rngb:Clone()
5446
orb.Parent = char
5447
orb.Transparency = 0
5448
orb.BrickColor = BrickColor.new("White")
5449
orb.Size = vt(1,1,1)
5450
local orbmish = orb.SizeMesh
5451
orbmish.Scale = vt(0,0,0)
5452
orbmish.MeshType = "Sphere"
5453
5454
local orbe = rngb:Clone()
5455
orbe.Parent = char
5456
orbe.Transparency = 0.5
5457
orbe.BrickColor = BrickColor.new("New Yeller")
5458
orbe.Size = vt(1,1,1)
5459
local orbmish2 = orbe.SizeMesh
5460
orbmish2.Scale = vt(0,0,0)
5461
orbmish2.MeshType = "Sphere"
5462
orbe.Color = Color3.new(r/255,g/255,b/255)
5463
5464
rngb:Destroy()
5465
--[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
5466
local scaled = 1
5467
for i = 0,5,0.1 do
5468
swait()
5469
scaled = scaled - 0.02
5470
if rainbowmode == true then
5471
orbe.Color = Color3.new(r/255,g/255,b/255)
5472
end
5473
orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
5474
orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
5475
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5476
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5477
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)
5478
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
5479
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
5480
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
5481
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5482
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)
5483
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)
5484
RootPart.CFrame = FaceMouse()[1]
5485
end]]--
5486
for i = 0,5,0.1 do
5487
swait()
5488
if rainbowmode == true then
5489
orbe.Color = Color3.new(r/255,g/255,b/255)
5490-
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5490+
5491-
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5491+
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5492-
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5492+
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
5493-
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5493+
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
5494-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5494+
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
5495
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
5496
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5497
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)
5498
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)
5499
RootPart.CFrame = FaceMouse()[1]
5500
end
5501
orbe.Transparency = 1
5502
orb.Transparency = 1
5503
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
5504
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
5505
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
5506
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
5507
5508
CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
5509
CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
5510
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
5511
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
5512
CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
5513
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
5514
CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
5515
local xd= Instance.new("Sound",char)
5516
xd.SoundId = "rbxassetid://445796828"
5517
xd.Pitch = 0.75
5518
xd.Looped = true
5519
xd.Volume = 1.25
5520
xd:Play()
5521
local a = Instance.new("Part",Character)
5522
	a.Name = "Direction"	
5523
	a.Anchored = true
5524
	a.BrickColor = bc("Alder")
5525
a.Color = MAINRUINCOLOR.Color
5526
a.Material = "Neon"
5527
a.Transparency = 0.5
5528
a.Shape = "Cylinder"
5529
	a.CanCollide = false
5530
local a2 = Instance.new("Part",Character)
5531
	a2.Name = "Direction"	
5532
	a2.Anchored = true
5533
	a2.BrickColor = bc("New Yeller")
5534
a2.Color = MAINRUINCOLOR.Color
5535
a2.Material = "Neon"
5536
a2.Transparency = 0.5
5537
a2.Shape = "Cylinder"
5538
	a2.CanCollide = false
5539
local ba = Instance.new("Part",Character)
5540-
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
5540+
	ba.Name = "HitDirect"	
5541-
sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
5541+
	ba.Anchored = true
5542-
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5542+
	ba.BrickColor = bc("Cool yellow")
5543-
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5543+
ba.Material = "Neon"
5544-
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5544+
ba.Transparency = 1
5545-
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5545+
	ba.CanCollide = false
5546-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5546+
5547
	    orb.CFrame.p,                           -- origin
5548-
sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
5548+
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
5549-
sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
5549+
5550-
sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
5550+
5551-
sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
5551+
5552
	a.BottomSurface = 10
5553
	a.TopSurface = 10
5554
	a2.BottomSurface = 10
5555
	a2.TopSurface = 10
5556
	local distance = (orb.CFrame.p - position).magnitude
5557
	a.Size = Vector3.new(distance, 1, 1)
5558
	a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5559
	a2.Size = Vector3.new(distance, 1, 1)
5560
	a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5561
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
5562
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5563
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
5564
game:GetService("Debris"):AddItem(a, 60)
5565
game:GetService("Debris"):AddItem(a2, 60)
5566
game:GetService("Debris"):AddItem(ba, 60)
5567
local outerscale = 0
5568
local msh = Instance.new("SpecialMesh",a)
5569
msh.MeshType = "Cylinder"
5570
msh.Scale = vt(1,0,0)
5571
local msh2 = Instance.new("SpecialMesh",a2)
5572-
function THE_TRUE_POWER_OF_VIOLENCE()
5572+
5573
msh2.Scale = vt(1,0,0)
5574
for i = 0,2,0.1 do
5575-
CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
5575+
5576
CameraEnshaking(1,1)
5577
msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
5578
msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
5579
outerscale = outerscale - 0.015
5580-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.4)
5580+
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5581-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
5581+
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5582-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
5582+
ray = Ray.new(
5583-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5583+
5584-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
5584+
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
5585
	) 
5586
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5587
distance = (orb.CFrame.p - position).magnitude
5588
if typrot == 1 then
5589
rotation = rotation + 2.5
5590
elseif typrot == 2 then
5591
rotation = rotation - 2.5
5592
end
5593
RootPart.CFrame = FaceMouse()[1]
5594
a.Size = Vector3.new(distance, 1, 1)
5595
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5596-
orb.CFrame = sorb.CFrame
5596+
a2.Size = Vector3.new(distance, 1, 1)
5597
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5598
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
5599
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5600
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
5601-
        local sbs = Instance.new("BodyPosition", orb)
5601+
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)
5602
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)
5603
MagniDamage(ba, 100, 500,60000, 0, "Normal")
5604-
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5604+
5605-
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
5605+
for z = 0, 2 do
5606-
CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
5606+
5607-
sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5607+
5608-
sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5608+
5609-
sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5609+
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
5610-
sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5610+
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
5611-
sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
5611+
outerscale = outerscale + 0.015
5612
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5613
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5614-
PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
5614+
ray = Ray.new(
5615-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
5615+
5616-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
5616+
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
5617-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
5617+
5618-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5618+
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5619-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5619+
distance = (orb.CFrame.p - position).magnitude
5620-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
5620+
if typrot == 1 then
5621
rotation = rotation + 2.5
5622
elseif typrot == 2 then
5623-
local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5623+
rotation = rotation - 2.5
5624
end
5625
RootPart.CFrame = FaceMouse()[1]
5626
a.Size = Vector3.new(distance, 1, 1)
5627-
local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5627+
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5628
a2.Size = Vector3.new(distance, 1, 1)
5629
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5630-
local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5630+
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
5631
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5632
a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
5633-
local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5633+
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)
5634
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)
5635
MagniDamage(ba, 100, 500,60000, 0, "Normal")
5636-
local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
5636+
5637
for i = 0,4,0.1 do
5638
swait()
5639
CameraEnshaking(1,1)
5640
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
5641
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
5642-
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
5642+
outerscale = outerscale - 0.015
5643-
CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
5643+
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5644-
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
5644+
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5645-
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
5645+
ray = Ray.new(
5646-
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5646+
5647-
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5647+
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
5648-
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5648+
5649-
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5649+
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5650-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5650+
distance = (orb.CFrame.p - position).magnitude
5651
if typrot == 1 then
5652
rotation = rotation + 2.5
5653-
lookavec = lookavec + 2.5
5653+
elseif typrot == 2 then
5654-
speeds = speeds + 0.25
5654+
rotation = rotation - 2.5
5655
end
5656
RootPart.CFrame = FaceMouse()[1]
5657-
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5657+
a.Size = Vector3.new(distance, 1, 1)
5658
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5659
a2.Size = Vector3.new(distance, 1, 1)
5660-
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5660+
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5661
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
5662
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5663-
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5663+
5664
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)
5665
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)
5666-
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5666+
MagniDamage(ba, 100, 500,60000, 0, "Normal")
5667
end
5668
end
5669
for i = 0,4,0.1 do
5670
swait()
5671-
speeds = speeds + 0.25
5671+
5672
msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
5673
msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
5674-
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5674+
xd.Volume = xd.Volume - 0.025
5675
a.Transparency = a.Transparency + 0.025
5676
a2.Transparency = a2.Transparency + 0.025
5677-
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5677+
outerscale = outerscale - 0.015
5678
orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5679
orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
5680-
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5680+
ray = Ray.new(
5681
	    orb.CFrame.p,                           -- origin
5682
	    (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
5683-
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5683+
5684
hit, position, normal = workspace:FindPartOnRay(ray, ignore)
5685-
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
5685+
distance = (orb.CFrame.p - position).magnitude
5686
if typrot == 1 then
5687
rotation = rotation + 2.5
5688-
lookavec = lookavec - 2.5
5688+
elseif typrot == 2 then
5689-
speeds = speeds + 0.25
5689+
rotation = rotation - 2.5
5690
end
5691
RootPart.CFrame = FaceMouse()[1]
5692-
PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5692+
a.Size = Vector3.new(distance, 1, 1)
5693
a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5694
a2.Size = Vector3.new(distance, 1, 1)
5695-
PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5695+
a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
5696
ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
5697
a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
5698-
PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5698+
5699
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)
5700
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)
5701-
PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5701+
MagniDamage(ba, 100, 500,60000, 0, "Normal")
5702
end
5703-
local scaled = 0.1*75
5703+
xd:Destroy()
5704-
CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
5704+
5705-
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
5705+
5706-
CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
5706+
ba:Destroy()
5707-
CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
5707+
5708-
CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
5708+
orbe:Destroy()
5709-
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
5709+
5710-
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5710+
5711-
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5711+
5712-
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5712+
5713-
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5713+
function resetmode()
5714-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5714+
5715
rainbowmode = false
5716
MALFUNCTIONmode = false
5717-
scaled = scaled - 0.001*75
5717+
5718
tl2.Enabled = true
5719
tl3.Enabled = true
5720-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
5720+
               ModeOfGlitch = 1
5721-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
5721+
5722-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
5722+
5723-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
5723+
5724-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
5724+
5725-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
5725+
CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
5726
for i = 0,4,0.1 do
5727-
for x = 0, 4 do
5727+
5728
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)
5729-
sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
5729+
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
5730
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
5731-
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
5731+
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)),.5)
5732-
CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
5732+
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.5)
5733-
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5733+
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.5)
5734-
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5734+
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.5)
5735-
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5735+
5736-
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5736+
CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
5737-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5737+
CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
5738
CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
5739
CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
5740
RecolorTextAndRename("Divine",Color3.new(1,1,1),BrickColor.New'New Yeller'.Color)
5741
CameraEnshaking(5,2.5)
5742
MAINRUINCOLOR = BrickColor.new("New Yeller")
5743-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
5743+
Sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5744
for i = 0, 49 do
5745-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
5745+
5746-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
5746+
5747-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
5747+
5748
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)
5749
end
5750
for i, v in pairs(mw2:GetChildren()) do
5751-
CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
5751+
5752-
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
5752+
v.BrickColor = BrickColor.new("New Yeller")
5753-
CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
5753+
5754-
for i = 0, 30, 0.1 do
5754+
5755
end
5756-
scaled = scaled - 0.001*75/10
5756+
5757-
speedearn = speedearn + 0.5
5757+
5758-
for i = 0, 4 do 
5758+
5759-
sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5759+
v.BrickColor = BrickColor.new("New Yeller")
5760
v.Material = "Neon"
5761-
PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
5761+
5762
end
5763
for i, v in pairs(m:GetChildren()) do
5764
if v:IsA("Part") then
5765-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
5765+
5766-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
5766+
5767-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
5767+
5768-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
5768+
5769-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
5769+
5770-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
5770+
5771
v.BrickColor = BrickColor.new("New Yeller")
5772
v.Material = "Granite"
5773-
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
5773+
5774
end
5775
for i, v in pairs(m3:GetChildren()) do
5776
if v:IsA("Part") then
5777
v.BrickColor = BrickColor.new("New Yeller")
5778
v.Material = "Neon"
5779-
MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
5779+
5780-
CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
5780+
5781-
CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
5781+
5782-
CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
5782+
5783-
CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
5783+
5784-
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5784+
v.BrickColor = BrickColor.new("New Yeller")
5785-
CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
5785+
5786
end
5787-
CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
5787+
5788-
CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
5788+
5789-
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
5789+
5790-
CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
5790+
5791-
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
5791+
v.BrickColor = BrickColor.new("New Yeller")
5792-
CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
5792+
5793-
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5793+
5794-
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5794+
5795-
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5795+
5796-
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5796+
5797-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
5797+
5798
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
5799-
PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
5799+
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)),.5)
5800-
PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
5800+
5801
RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
5802
LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
5803-
sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
5803+
5804-
sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
5804+
5805-
sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
5805+
5806-
sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
5806+
5807-
sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
5807+
newTheme("rbxassetid://614032233",48.6,1,0.3)
5808
end
5809
5810
function attackone()
5811
	attack = true
5812
	for i = 0,1,0.1 do
5813
		swait()
5814
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
5815-
function ViolentRing()
5815+
5816
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
5817-
CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
5817+
5818
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)
5819
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)
5820-
local snap = math.random(1,10)
5820+
5821-
if snap == 1 then
5821+
	CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
5822-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
5822+
5823
local hitb = Instance.new("Part", char)
5824-
PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
5824+
5825-
PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
5825+
5826-
PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
5826+
5827-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
5827+
5828-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
5828+
5829-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
5829+
5830-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
5830+
5831-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
5831+
5832-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
5832+
5833
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
5834
MagniDamage(hitb, 3, 10,30, 0, "Normal")
5835
hitb:Destroy()
5836
	for i = 0,1,0.1 do
5837
		swait()
5838
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
5839
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
5840
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
5841
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
5842
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)
5843
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)
5844
	end
5845
5846
	attack = false
5847
end
5848
5849-
orb.CFrame = mouse.Hit
5849+
5850
	attack = true
5851
	for i = 0,1,0.1 do
5852
		swait()
5853
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
5854
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
5855
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
5856
             LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
5857
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)
5858
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)
5859
	end
5860
	CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
5861
local hitb = Instance.new("Part", char)
5862
        hitb.Anchored = true
5863
        hitb.CanCollide = false
5864
        hitb.FormFactor = 3
5865
        hitb.Name = "Ring"
5866
        hitb.Material = "Neon"
5867
        hitb.Size = Vector3.new(1, 1, 1)
5868
        hitb.Transparency = 1
5869
        hitb.TopSurface = 0
5870
        hitb.BottomSurface = 0
5871
hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
5872
MagniDamage(hitb, 3, 10,30, 0, "Normal")
5873
hitb:Destroy()
5874
	for i = 0,1,0.1 do
5875
		swait()
5876
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
5877
            Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
5878
             RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
5879-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5879+
5880-
sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5880+
5881-
sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5881+
5882-
sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5882+
5883-
sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
5883+
5884
end
5885
5886-
lookavec = lookavec + 3.5
5886+
5887-
speeds = speeds + 1
5887+
5888
	for i = 0,1,0.1 do
5889
		swait()
5890
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
5891
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
5892
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
5893
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
5894
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)
5895
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)
5896
	end
5897
local distlook = 5
5898
for i = 0, 4 do
5899
swait(2)
5900
CameraEnshaking(2,3)
5901
local hite = Instance.new("Part", char)
5902-
local risen = 0
5902+
5903
        hite.CanCollide = false
5904
        hite.FormFactor = 3
5905-
risen = risen + 0.05
5905+
5906
        hite.Material = "Neon"
5907
        hite.Size = Vector3.new(1, 1, 1)
5908
        hite.Transparency = 1
5909-
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5909+
5910
        hite.BottomSurface = 0
5911
hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
5912-
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5912+
Sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
5913
Sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
5914
MagniDamage(hite, 10, 15,35, 0, "Normal")
5915-
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5915+
5916
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)
5917
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)
5918-
PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
5918+
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)
5919
end
5920-
for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
5920+
CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
5921
CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
5922
game:GetService("Debris"):AddItem(hite, 5)
5923
distlook = distlook + 10
5924
end
5925-
CameraEnshaking(4,10)
5925+
5926-
MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
5926+
5927-
CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
5927+
5928-
CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
5928+
local ActiveGia = false
5929-
CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
5929+
function THEHELLITSTHATBIG()
5930-
CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
5930+
ActiveGia = true
5931-
CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
5931+
5932-
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
5932+
5933-
sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
5933+
	for i = 0,2,0.1 do
5934-
sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5934+
5935-
sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5935+
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
5936-
sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5936+
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
5937-
sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5937+
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
5938-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
5938+
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
5939-
sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
5939+
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)
5940
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)
5941-
sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
5941+
5942-
sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
5942+
5943-
sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
5943+
torsweld.C1=clerp(torsweld.C1,cf(0,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
5944-
sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
5944+
larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
5945
rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
5946
llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
5947-
wait(10)
5947+
rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
5948
hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
5949
end
5950
CFuncs["Sound"].Create("rbxassetid://528589382", sectors, 5, 1)
5951
secrleg.Transparency = 0.5
5952
seclleg.Transparency = 0.5
5953
secrarm.Transparency = 0.5
5954
seclarm.Transparency = 0.5
5955
seched.Transparency = 0.5
5956
sectors.Transparency = 0.5
5957
for i = 0,25,0.1 do
5958
swait()
5959
PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*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.1,MAINRUINCOLOR,-10)
5960
torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
5961
larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),0.025)
5962-
        local sbs = Instance.new("BodyPosition", root)
5962+
rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),0.025)
5963
llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
5964
rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
5965-
        sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
5965+
hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
5966-
        sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
5966+
5967-
CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
5967+
--[[secrleg.Transparency = 1
5968
seclleg.Transparency = 1
5969-
for i = 0, 110, 0.1 do
5969+
secrarm.Transparency = 1
5970
seclarm.Transparency = 1
5971
seched.Transparency = 1
5972-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5972+
sectors.Transparency = 1]]--
5973-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5973+
torsweld.Part0 = root
5974-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5974+
5975-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5975+
5976-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
5976+
5977-
sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
5977+
5978
function removelol()
5979
ActiveGia = false
5980
attack = true
5981
hum.WalkSpeed = 0
5982
	for i = 0,2,0.1 do
5983
		swait()
5984
            RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
5985-
CameraEnshaking(5,50)
5985+
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
5986-
sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
5986+
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
5987-
for i = 0, 2 do 
5987+
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
5988
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)
5989-
CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
5989+
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)
5990-
CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
5990+
5991-
CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
5991+
CFuncs["Sound"].Create("rbxassetid://528589274", sectors, 5, 1)
5992
for i = 0,25,0.1 do
5993
swait()
5994-
sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
5994+
secrleg.Transparency = secrleg.Transparency + 0.00225
5995-
sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
5995+
seclleg.Transparency = secrleg.Transparency
5996-
sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
5996+
secrarm.Transparency = secrleg.Transparency
5997-
sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
5997+
seclarm.Transparency = secrleg.Transparency
5998
seched.Transparency = secrleg.Transparency
5999-
sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
5999+
sectors.Transparency = secrleg.Transparency
6000-
sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6000+
PixelBlockNeg(1,math.random(1,5),"Add",sectors.CFrame*CFrame.new(math.random(-25,25),0,math.random(-25,25))*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.1,MAINRUINCOLOR,-10)
6001-
sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6001+
torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
6002-
sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6002+
larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(20)),0.025)
6003-
sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6003+
rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),0.025)
6004-
sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
6004+
llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
6005-
sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6005+
rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
6006-
sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6006+
hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0.2)*angles(math.rad(-10),math.rad(0),math.rad(0)),0.025)
6007-
sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6007+
6008-
sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6008+
CFuncs["Sound"].Create("rbxassetid://468991944", sectors, 10, 1)
6009-
sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6009+
Sphere(1,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6010-
sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6010+
Sphere(2,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6011
Sphere(3,"Add",sectors.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6012-
PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
6012+
secrleg.Transparency = 1
6013-
PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
6013+
seclleg.Transparency = 1
6014
secrarm.Transparency = 1
6015-
for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
6015+
seclarm.Transparency = 1
6016
seched.Transparency = 1
6017
sectors.Transparency = 1
6018
torsweld.Part0 = root
6019
hum.WalkSpeed = storehumanoidWS
6020-
MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
6020+
6021-
sbs:Destroy()
6021+
6022
6023
function FinalCalamity()
6024
end
6025
6026-
function th1rt3en_trans()
6026+
6027-
    storehumanoidWS = 275
6027+
6028-
    hum.WalkSpeed = 0
6028+
6029-
    attack=true
6029+
6030-
    newThemeCust("rbxassetid://723652641",0,1,1.25)
6030+
6031-
   
6031+
6032-
    repeat
6032+
6033
    attacktwo()
6034-
        local snap = math.random(1,10)
6034+
6035-
        if snap == 1 then
6035+
6036-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
6036+
6037
  elseif attack == false and attacktype == 4 then
6038-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6038+
6039-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6039+
6040-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6040+
6041-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
6041+
6042-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
6042+
6043-
        LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
6043+
        if k == "q" and attack == false and ModeOfGlitch ~= 2 then
6044
               ModeOfGlitch = 2
6045-
    until kan.TimePosition > 2.4
6045+
6046-
    for i = 0, 5, .1 do
6046+
6047
rainbowmode = false
6048-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.4)
6048+
MALFUNCTIONmode = false
6049-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.4)
6049+
6050-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6050+
6051-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6051+
6052-
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6052+
RecolorTextAndRename("PHANTOM",Color3.new(1,1,1),Color3.new(0,0,0))
6053-
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6053+
newTheme("rbxassetid://2018331827",0,1,0.3)
6054-
        modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6054+
MAINRUINCOLOR = BrickColor.new("Really Black")
6055-
        modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
6055+
6056-
        fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6056+
6057
v.BrickColor = MAINRUINCOLOR
6058-
   
6058+
6059-
    repeat
6059+
6060
end
6061-
        modet.Position = UDim2.new(0,0,0,0)
6061+
6062-
        fullscreenz.Position = UDim2.new(0,0,0,0)
6062+
6063-
        modet.Rotation = -5 * math.cos(sine / 32)
6063+
6064-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6064+
v.BrickColor = MAINRUINCOLOR
6065-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6065+
6066-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6066+
6067-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
6067+
6068-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
6068+
6069-
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45))),.1)
6069+
6070-
    until kan.TimePosition > 6.5
6070+
v.BrickColor = BrickColor.new("Really Black")
6071-
    for i = 0, 5, .1 do
6071+
6072
end
6073-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.4)
6073+
6074-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.4)
6074+
6075-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6075+
6076-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6076+
v.BrickColor = BrickColor.new("Really Black")
6077-
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6077+
6078-
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6078+
6079-
        modet.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6079+
6080-
        modet.Rotation = -2 * math.cos(sine / 1) + math.random(-10,10)
6080+
6081-
        fullscreenz.Position = UDim2.new(0,math.random(-15,15),0,math.random(-15,15))
6081+
6082
v.BrickColor = BrickColor.new("Really Black")
6083-
    bosschatfunc("Look at my hands..",MAINRUINCOLOR.Color,2)
6083+
6084-
    for i = 0, 10, .1 do
6084+
6085-
        modet.Position = UDim2.new(0,0,0,0)
6085+
6086-
        modet.Rotation = -5 * math.cos(sine / 32)
6086+
6087-
        fullscreenz.Position = UDim2.new(0,0,0,0)
6087+
6088
v.Transparency = 1
6089-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6089+
v.BrickColor = BrickColor.new("White")
6090-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6090+
6091-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6091+
6092-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
6092+
6093-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
6093+
6094-
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2))),.1)
6094+
6095
v.Transparency = 1
6096-
    bosschatfunc("They're shaking..",MAINRUINCOLOR.Color,2)
6096+
v.BrickColor = BrickColor.new("White")
6097-
    for i = 0, 6, .1 do
6097+
6098
end
6099-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6099+
6100-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6100+
elseif k == "q" and attack == false and ModeOfGlitch == 2 then
6101-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6101+
resetmode()
6102-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6102+
6103-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(-13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6103+
if k == "e" and attack == false and ModeOfGlitch ~= 3 then
6104-
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6104+
6105
storehumanoidWS = 16
6106-
    bosschatfunc("All my body is shaking..",MAINRUINCOLOR.Color,2)
6106+
6107-
    for i = 0, 24, .1 do
6107+
6108
MALFUNCTIONmode = false
6109-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6109+
6110-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6110+
6111-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6111+
6112-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6112+
RecolorTextAndRename("Discipline",Color3.new(0,0,0),Color3.new(1,0,0))
6113-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6113+
newTheme("rbxassetid://561833161",58.15,0.98,1.25)
6114-
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6114+
MAINRUINCOLOR = BrickColor.new("Crimson")
6115
for i, v in pairs(m:GetChildren()) do
6116-
    bosschatfunc("He was there!",MAINRUINCOLOR.Color,2)
6116+
6117-
    for i = 0, 5, .1 do
6117+
6118
v.Material = "Glass"
6119-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-22 - 2 * math.cos(sine / 32))),.1)
6119+
6120-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-10 + 2 * math.cos(sine / 32))),.1)
6120+
6121-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6121+
6122-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6122+
6123-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(95 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(0))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6123+
6124-
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6124+
6125
end
6126-
    for i = 0, 6, .1 do
6126+
6127
for i, v in pairs(m3:GetChildren()) do
6128-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6128+
6129-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6129+
6130-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6130+
6131-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6131+
6132-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6132+
6133-
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6133+
6134
if v:IsA("Part") then
6135-
    bosschatfunc("But I was watching him, through the mirror..",MAINRUINCOLOR.Color,2)
6135+
6136-
    for i = 0, 9, .1 do
6136+
6137
end
6138-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
6138+
6139-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
6139+
6140-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
6140+
6141-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6141+
6142-
        RW.C0=clerp(RW.C0,cf(1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6142+
6143-
        LW.C0=clerp(LW.C0,cf(-1.5,.5 + 0.05 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 43)),math.rad(16 + 4 * math.cos(sine / 52)),math.rad(-22 - 2 * math.cos(sine / 45)))*angles(math.rad(math.random(-6,6)),math.rad(math.random(-6,6)),math.rad(math.random(-6,6))),.1)
6143+
6144
end
6145-
    bosschatfunc("I knew he was looking at me..",MAINRUINCOLOR.Color,2)
6145+
6146-
    for i = 0, 11, .1 do
6146+
6147
if v:IsA("Part") then
6148-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.4)
6148+
6149-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.4)
6149+
v.BrickColor = BrickColor.new("White")
6150-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6150+
6151-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6151+
6152-
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6152+
6153-
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6153+
6154
if v:IsA("Part") then
6155-
    bosschatfunc("Two invisible eyes..",MAINRUINCOLOR.Color,2)
6155+
6156-
    for i = 0, 10, .1 do
6156+
v.BrickColor = BrickColor.new("White")
6157
v.Material = "Neon"
6158-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.4)
6158+
6159-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.4)
6159+
6160-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6160+
6161-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6161+
6162-
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6162+
6163-
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6163+
v.BrickColor = BrickColor.new("White")
6164
v.Material = "Neon"
6165-
    local inc = 0
6165+
6166-
    bosschatfunc("Two invisible--",MAINRUINCOLOR.Color,2)
6166+
6167-
    for i = 0, 6, .1 do
6167+
elseif k == "e" and attack == false and ModeOfGlitch == 3 then
6168
resetmode()
6169-
        inc=inc+1
6169+
6170-
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6170+
if k == "g" and attack == false and ModeOfGlitch ~= 4093 then
6171-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.4)
6171+
               ModeOfGlitch = 4093
6172-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-50)),.4)
6172+
6173-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(50),math.rad(0),math.rad(0)),.4)
6173+
6174-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6174+
6175-
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.4)
6175+
MALFUNCTIONmode = false
6176-
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.4)
6176+
6177
tl2.Enabled = true
6178-
    CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.25)
6178+
6179-
    for i = 0, 3, .1 do
6179+
RecolorTextAndRename("Hope",Color3.new(0,0,0),Color3.new(1,1,1))
6180
newTheme("rbxassetid://595800581",58.15,0.98,1.25)
6181-
        inc=inc+1
6181+
6182-
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6182+
6183-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.4)
6183+
6184-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.4)
6184+
6185-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6185+
6186-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(-20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6186+
6187-
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(20)),.4)
6187+
6188-
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(40)),.4)
6188+
6189
if v:IsA("Part") then
6190-
    CFuncs.Sound.Create('rbxassetid://363808674',Head,3,1.1)
6190+
v.BrickColor = BrickColor.new("White")
6191-
    for i = 0, 3, .1 do
6191+
6192
end
6193-
        inc=inc+1
6193+
6194-
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6194+
6195-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.4)
6195+
6196-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.4)
6196+
v.BrickColor = BrickColor.new("White")
6197-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6197+
6198-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(20),math.rad(0 - 5 * math.cos(sine / 0.2))),.4)
6198+
6199-
        RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-40)),.4)
6199+
6200-
        LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.3)*angles(math.rad(160),math.rad(0),math.rad(-20)),.4)
6200+
6201
if v:IsA("Part") then
6202-
    for i = 0, 6, .1 do
6202+
v.BrickColor = BrickColor.new("White")
6203
v.Material = "Neon"
6204-
        inc=inc+5
6204+
6205-
        fullscreenz.Position = UDim2.new(0,math.random(-inc,inc)/10,0,math.random(-inc,inc)/10)
6205+
6206-
        RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.4)
6206+
6207-
        LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.4)
6207+
6208-
        RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
6208+
6209-
        Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),0,math.rad(0 - 10 * math.cos(sine / 0.03))),.4)
6209+
v.BrickColor = BrickColor.new("White")
6210-
        RW.C0=clerp(RW.C0,cf(1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
6210+
6211-
        LW.C0=clerp(LW.C0,cf(-1.5,0.4,0)*angles(math.rad(30),math.rad(0),0),.4)
6211+
6212
end
6213-
    fullscreenz.Position = UDim2.new(0,0,0,0)
6213+
6214-
    attack=false
6214+
6215-
    MAINRUINCOLOR = BrickColor.new("Really black")
6215+
6216-
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6216+
v.BrickColor = BrickColor.new("White")
6217
v.Material = "Neon"
6218
end
6219
end
6220
for i, v in pairs(extrawingmod2:GetChildren()) do
6221-
sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
6221+
6222-
slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
6222+
6223
v.BrickColor = BrickColor.new("White")
6224
v.Material = "Neon"
6225-
sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
6225+
6226
end
6227-
currentVol=5
6227+
6228-
    Humanoid.WalkSpeed = storehumanoidWS
6228+
6229-
               ModeOfGlitch = 738
6229+
6230
v.BrickColor = BrickColor.new("White")
6231-
chaosmode = false
6231+
6232-
RecolorTextAndRename("INFINITE",Color3.new(0.1,.1,.1),BrickColor.new("Really black").Color,"Antique")
6232+
6233
end
6234-
 MAINRUINCOLOR = BrickColor.new("Really black")
6234+
elseif k == "g" and attack == false and ModeOfGlitch == 4093 then
6235-
warnedpeople("DEPTHS OF HELL!!!","Antique",BrickColor.new("Dark stone grey").Color,BrickColor.new("Really black").Color)
6235+
resetmode()
6236-
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0.9,BrickColor.new("Dark stone grey"),0,BrickColor.new("Black"),true)
6236+
6237
if k == "r" and attack == false and ModeOfGlitch ~= 4 then
6238
               ModeOfGlitch = 4
6239-
function hugg()
6239+
6240
hum.WalkSpeed = 16
6241-
hum.WalkSpeed = 5
6241+
6242-
local rsiz = math.random(5,15)
6242+
MALFUNCTIONmode = true
6243
tl1.Enabled = true
6244
tl2.Enabled = true
6245-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6245+
6246-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6246+
RecolorTextAndRename("MALFUNCTION",Color3.new(0,0,0),BrickColor.random().Color)
6247-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6247+
newTheme("rbxassetid://1369263130",0,1,1)
6248-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
6248+
MAINRUINCOLOR = BrickColor.new("Black")
6249-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
6249+
6250-
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
6250+
6251
v.BrickColor = MAINRUINCOLOR
6252-
CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
6252+
6253-
	local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6253+
6254-
	hb.Anchored = true
6254+
6255-
	hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6255+
6256-
local huggedperson = nil
6256+
6257-
local act = false
6257+
6258-
local alreadydid = false
6258+
6259
v.Material = "Neon"
6260
end
6261-
if act == false then
6261+
6262-
for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
6262+
6263
if v:IsA("Part") then
6264-
if alreadydid == false then
6264+
v.BrickColor = BrickColor.new("Black")
6265-
huggedperson = v
6265+
6266
end
6267-
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6267+
6268-
CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
6268+
6269-
CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
6269+
6270-
CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
6270+
6271-
local radm = math.random(1,3)
6271+
6272-
if radm == 1 then
6272+
6273-
bosschatfunc2("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
6273+
6274-
elseif radm == 2 then
6274+
6275-
bosschatfunc2("I..I'm interested in you..",MAINRUINCOLOR.Color,1)
6275+
6276-
elseif radm == 3 then
6276+
v.BrickColor = BrickColor.new("Black")
6277-
bosschatfunc2("Don't worry.. I'm with you..",MAINRUINCOLOR.Color,1)
6277+
6278
end
6279-
root.Anchored = true
6279+
6280
for i, v in pairs(extrawingmod1:GetChildren()) do
6281-
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 0
6281+
6282-
huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
6282+
6283
v.BrickColor = BrickColor.new("White")
6284-
chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
6284+
6285-
alreadydid = true
6285+
6286-
act = true
6286+
6287-
print(huggedperson.Name)
6287+
6288
if v:IsA("Part") then
6289
v.Transparency = 1
6290
v.BrickColor = BrickColor.new("White")
6291-
hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
6291+
6292-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
6292+
6293-
elseif act == true then
6293+
6294
elseif k == "r" and attack == false and ModeOfGlitch == 4 then
6295-
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6295+
resetmode()
6296
end
6297-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
6297+
if k == "t" and attack == false and ModeOfGlitch ~= 5 then
6298-
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6298+
6299
storehumanoidWS = 16
6300-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6300+
6301-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6301+
6302-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6302+
MALFUNCTIONmode = false
6303-
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6303+
6304-
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6304+
6305
tl3.Enabled = true
6306-
hb:Destroy()
6306+
RecolorTextAndRename("Divinity",Color3.new(1,1,1),Color3.new(0,1,1))
6307-
if act == true then
6307+
newTheme("rbxassetid://661079869",0,1.02,1)
6308-
for x = 0, 2 do
6308+
6309
for i, v in pairs(mw2:GetChildren()) do
6310
if v:IsA("Part") then
6311
v.BrickColor = MAINRUINCOLOR
6312-
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6312+
6313
end
6314-
rsiz = math.random(5,15)
6314+
6315-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
6315+
6316-
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6316+
6317-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6317+
6318-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6318+
6319-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6319+
6320-
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6320+
6321-
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6321+
6322
for i, v in pairs(m:GetChildren()) do
6323
if v:IsA("Part") then
6324
v.BrickColor = BrickColor.new("Toothpaste")
6325
v.Material = "Ice"
6326-
huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
6326+
6327
end
6328-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
6328+
6329-
huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,1.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
6329+
6330-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
6330+
6331-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
6331+
6332-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
6332+
6333-
RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
6333+
6334-
LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
6334+
6335
if v:IsA("Part") then
6336
v.BrickColor = BrickColor.new("Toothpaste")
6337
v.Material = "Neon"
6338
end
6339-
root.Anchored = false
6339+
6340-
if act == true then
6340+
6341
if v:IsA("Part") then
6342-
huggedperson:FindFirstChildOfClass("Humanoid").WalkSpeed = 16
6342+
6343-
huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
6343+
v.BrickColor = BrickColor.new("White")
6344
v.Material = "Neon"
6345
end
6346
end
6347
for i, v in pairs(extrawingmod2:GetChildren()) do
6348
if v:IsA("Part") then
6349
v.Transparency = 1
6350-
function lovesqueal()
6350+
v.BrickColor = BrickColor.new("White")
6351
v.Material = "Neon"
6352
end
6353-
CFuncs["Sound"].Create("rbxassetid://2500548008", root, 1, 1)
6353+
6354-
local blush = Instance.new("Decal",hed)
6354+
elseif k == "t" and attack == false and ModeOfGlitch == 5 then
6355-
blush.Texture = "rbxassetid://898404027"
6355+
resetmode()
6356-
blush.Face = "Front"
6356+
6357-
for i = 0, 11, 0.1 do
6357+
if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 2013 then
6358
newTheme("rbxassetid://1564523997",0,1,1)
6359-
	RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(20 - 2 * math.cos(sine / 32))),.1)
6359+
6360-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 32))),.1)
6360+
6361-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
6361+
6362-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
6362+
CameraEnshaking(10,5)
6363-
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
6363+
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
6364-
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
6364+
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
6365
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
6366-
for x = 0, 1 do
6366+
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
6367-
for i = 0, 1, 0.2 do
6367+
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
6368
Sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
6369-
	RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 32))),.3)
6369+
Sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
6370-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3)
6370+
Sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
6371-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3)
6371+
Sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
6372-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
6372+
Sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6373-
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
6373+
Sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
6374-
LW.C0=clerp(LW.C0,cf(-1,0.75 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3)
6374+
Sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
6375
Sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
6376-
for i = 0, 1, 0.2 do
6376+
Sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
6377
Sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
6378-
	RH.C0=clerp(RH.C0,cf(1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 32))),.3)
6378+
6379-
LH.C0=clerp(LH.C0,cf(-1,-1.025 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(5 + 2 * math.cos(sine / 32))),.3)
6379+
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)
6380-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.05 + 0.02 * math.cos(sine / 32),0.025 + 0.05 * math.cos(sine / 32))*angles(math.rad(-5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.3)
6380+
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)
6381-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 37)),math.rad(0 + 14 * math.cos(sine / 58)),math.rad(0)),.1)
6381+
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)
6382-
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(3 + 3 * math.cos(sine / 45))),.1)
6382+
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)
6383-
LW.C0=clerp(LW.C0,cf(-1,0.8 + 0.025 * math.cos(sine / 45),-0.6)*angles(math.rad(140 - 3 * math.cos(sine / 73)),math.rad(5 - 1 * math.cos(sine / 55)),math.rad(80 - 3 * math.cos(sine / 45))),.3)
6383+
6384
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1000)) do
6385
if v:FindFirstChild('Head') then
6386
dmg(v)
6387
end
6388
end
6389-
blush.Transparency = blush.Transparency + 0.02
6389+
ModeOfGlitch = 2013
6390
hum.WalkSpeed = storehumanoidWS
6391-
blush:Destroy()
6391+
6392
MALFUNCTIONmode = false
6393
tl1.Enabled = true
6394-
hum.WalkSpeed = storehumanoidWS	
6394+
6395
tl3.Enabled = true
6396
RecolorTextAndRename("Solitude",Color3.new(0,0,0),Color3.new(1,1,1))
6397-
function cutesigh()
6397+
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6398
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6399
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6400-
hum.JumpPower = 0
6400+
6401-
bosschatfunc2("sigh~~",MAINRUINCOLOR.Color,1)
6401+
6402-
local blush = Instance.new("Decal",hed)
6402+
v.BrickColor = MAINRUINCOLOR
6403-
blush.Texture = "rbxassetid://898404027"
6403+
6404-
blush.Face = "Front"
6404+
6405-
CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
6405+
6406-
for i = 0, 9, 0.1 do
6406+
6407
if v:IsA("Part") then
6408-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(6),math.rad(0),math.rad(25 + 1 * math.cos(sine / 34))),.2)
6408+
6409-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(-35 + 1 * math.cos(sine / 34))),.2)
6409+
v.BrickColor = MAINRUINCOLOR
6410-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.35,-0.175 + 0.05 * math.cos(sine / 28))*angles(math.rad(35),math.rad(0),math.rad(0)),.2)
6410+
6411-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-35 - 2.5 * math.cos(sine / 28)),math.rad(10 + 2.5 * math.cos(sine / 75)),math.rad(0)),.2)
6411+
6412-
RW.C0=clerp(RW.C0,cf(1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(-1)),.2)
6412+
6413-
LW.C0=clerp(LW.C0,cf(-1.35,0.45 + 0.025 * math.cos(sine / 28),-0.2)*angles(math.rad(40),math.rad(0),math.rad(3)),.2)
6413+
6414
if v:IsA("Part") then
6415
v.BrickColor = BrickColor.new("Really black")
6416
v.Material = "Neon"
6417
end
6418-
blush.Transparency = blush.Transparency + 0.02
6418+
6419
for i, v in pairs(m2:GetChildren()) do
6420-
blush:Destroy()
6420+
6421
v.BrickColor = BrickColor.new("Really black")
6422
v.Material = "Neon"
6423-
hum.JumpPower = 50
6423+
6424
end
6425
for i, v in pairs(m3:GetChildren()) do
6426
if v:IsA("Part") then
6427
v.BrickColor = BrickColor.new("Really black")
6428
v.Material = "Neon"
6429-
function ChaosEND()
6429+
6430
end
6431
for i, v in pairs(extrawingmod1:GetChildren()) do
6432-
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
6432+
6433-
for i = 0, 15, 0.1 do
6433+
6434
v.BrickColor = BrickColor.new("Really black")
6435-
speedearn = speedearn + 0.25
6435+
6436-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
6436+
6437-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
6437+
6438-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
6438+
6439-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
6439+
6440-
sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
6440+
6441
v.Color = Color3.new(0.5,0,1)
6442
v.Material = "Neon"
6443
end
6444
attack = false
6445
end
6446
elseif k == "m" and attack == false and ModeOfGlitch == 2013 then
6447
resetmode()
6448
end
6449
if k == "y" and attack == false and ModeOfGlitch ~= 6 then
6450-
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
6450+
6451-
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
6451+
storehumanoidWS = 75
6452
hum.WalkSpeed = 75
6453
rainbowmode = false
6454
MALFUNCTIONmode = false
6455
tl1.Enabled = true
6456
tl2.Enabled = true
6457
tl3.Enabled = true
6458-
sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
6458+
RecolorTextAndRename("Equality",Color3.new(0,0,0),Color3.new(1,1,1))
6459-
sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
6459+
newTheme("rbxassetid://519067542",0,1,1)
6460-
sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
6460+
6461
MAINRUINCOLOR = BrickColor.new("Really black")
6462
for i, v in pairs(mw2:GetChildren()) do
6463-
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
6463+
6464-
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
6464+
v.BrickColor = BrickColor.new("White")
6465-
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
6465+
6466-
sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
6466+
6467
end
6468
for i, v in pairs(mw1:GetChildren()) do
6469
if v:IsA("Part") then
6470
v.Transparency = 0
6471
v.BrickColor = BrickColor.new("Really black")
6472
v.Material = "Neon"
6473
end
6474
end
6475
for i, v in pairs(m:GetChildren()) do
6476
if v:IsA("Part") then
6477-
function createBGCircle(size,parent,color)
6477+
v.BrickColor = BrickColor.new("White")
6478-
local bgui = Instance.new("BillboardGui",parent)
6478+
6479-
bgui.Size = UDim2.new(size, 0, size, 0)
6479+
6480-
local imgc = Instance.new("ImageLabel",bgui)
6480+
6481-
imgc.BackgroundTransparency = 1
6481+
6482-
imgc.ImageTransparency = 0
6482+
6483-
imgc.Size = UDim2.new(1,0,1,0)
6483+
6484-
imgc.Image = "rbxassetid://997291547" --997291547,521073910
6484+
6485-
imgc.ImageColor3 = color
6485+
6486-
return bgui,imgc
6486+
6487
for i, v in pairs(m3:GetChildren()) do
6488
if v:IsA("Part") then
6489
v.BrickColor = BrickColor.new("White")
6490-
function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
6490+
6491-
local bgui,imgc = createBGCircle(size,guipar,color)
6491+
6492-
bgui.AlwaysOnTop = true
6492+
6493-
imgc.Image = "rbxassetid://" ..img
6493+
6494-
local rrot = math.random(1,2)
6494+
6495-
CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
6495+
6496
v.BrickColor = BrickColor.new("White")
6497-
for i = 0, 24*delay do
6497+
6498
end
6499-
if rotationenabled == true then
6499+
6500-
if rrot == 1 then
6500+
6501-
imgc.Rotation = imgc.Rotation + rotsp
6501+
6502-
elseif rrot == 2 then
6502+
6503-
imgc.Rotation = imgc.Rotation - rotsp
6503+
v.BrickColor = BrickColor.new("White")
6504
v.Material = "Neon"
6505
end
6506-
bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
6506+
6507-
imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
6507+
elseif k == "y" and attack == false and ModeOfGlitch == 6 then
6508
resetmode()
6509-
bgui:Destroy()
6509+
6510
if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
6511
               ModeOfGlitch = 6127843
6512-
function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
6512+
6513
hum.WalkSpeed = 50
6514
rainbowmode = true
6515-
v.BrickColor = one
6515+
MALFUNCTIONmode = false
6516
tl1.Enabled = true
6517
tl2.Enabled = true
6518
tl3.Enabled = true
6519-
CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
6519+
RecolorTextAndRename("Excitment",Color3.new(1,1,1),Color3.new(1,1,1))
6520-
symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
6520+
newTheme("rbxassetid://147930134",0,1,1)
6521-
symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
6521+
6522-
tr1.Color = ColorSequence.new(one.Color)
6522+
6523-
tr2.Color = ColorSequence.new(one.Color)
6523+
6524-
tr3.Color = ColorSequence.new(one.Color)
6524+
v.BrickColor = MAINRUINCOLOR
6525
v.Material = "Neon"
6526
end
6527-
if secondaryenabled == false then
6527+
6528
for i, v in pairs(mw1:GetChildren()) do
6529-
elseif secondaryenabled == true then
6529+
6530
v.Transparency = 0
6531
v.BrickColor = MAINRUINCOLOR
6532-
v.BrickColor = two
6532+
6533
end
6534
end
6535
for i, v in pairs(m:GetChildren()) do
6536-
if secondaryenabled == false then
6536+
6537
v.BrickColor = BrickColor.new("White")
6538
v.Material = "Neon"
6539
end
6540-
elseif secondaryenabled == true then
6540+
6541
for i, v in pairs(m2:GetChildren()) do
6542
if v:IsA("Part") then
6543
v.BrickColor = BrickColor.new("White")
6544
v.Material = "Neon"
6545-
tl1.Color = ColorSequence.new(two.Color)
6545+
6546-
tl2.Color = ColorSequence.new(two.Color)
6546+
6547-
tl3.Color = ColorSequence.new(two.Color)
6547+
6548
if v:IsA("Part") then
6549
v.BrickColor = BrickColor.new("White")
6550-
v.BrickColor = three
6550+
6551
end
6552
end
6553
for i, v in pairs(extrawingmod1:GetChildren()) do
6554
if v:IsA("Part") then
6555
v.Transparency = 1
6556-
v.BrickColor = four
6556+
v.BrickColor = BrickColor.new("White")
6557
v.Material = "Neon"
6558
end
6559
end
6560
for i, v in pairs(extrawingmod2:GetChildren()) do
6561
if v:IsA("Part") then
6562-
v.BrickColor = five
6562+
6563
v.BrickColor = BrickColor.new("White")
6564
v.Material = "Neon"
6565
end
6566
end
6567
elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
6568-
v.Transparency = exonetran
6568+
resetmode()
6569-
v.BrickColor = exone
6569+
6570
if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
6571
               ModeOfGlitch = 1000000
6572
storehumanoidWS = 100
6573
hum.WalkSpeed = 100
6574
rainbowmode = false
6575-
v.Transparency = extwotran
6575+
MALFUNCTIONmode = false
6576-
v.BrickColor = extwo
6576+
6577
tl2.Enabled = true
6578
tl3.Enabled = true
6579
RecolorTextAndRename("Universal",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
6580
newTheme("rbxassetid://1359036559",0,1,1)
6581
MAINRUINCOLOR = BrickColor.new("Bright violet")
6582
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6583-
function normalmog()
6583+
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6584
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6585
for i, v in pairs(mw2:GetChildren()) do
6586-
CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
6586+
6587-
for i = 0,6,0.1 do
6587+
v.BrickColor = MAINRUINCOLOR
6588
v.Material = "Neon"
6589-
sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
6589+
6590-
slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
6590+
6591-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
6591+
6592-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
6592+
6593-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
6593+
6594-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
6594+
v.BrickColor = MAINRUINCOLOR
6595-
RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
6595+
6596-
LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
6596+
6597
end
6598-
CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
6598+
6599-
CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
6599+
6600-
CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
6600+
v.Color = Color3.new(0.5,0,1)
6601-
CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
6601+
6602-
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
6602+
6603-
CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
6603+
6604-
CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
6604+
6605
if v:IsA("Part") then
6606-
chaosmode = false
6606+
v.Color = Color3.new(0.25,0,1)
6607-
ModeOfGlitch = 1
6607+
6608
end
6609-
newTheme("rbxassetid://614032233",48.6,1,1.25)
6609+
6610-
RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
6610+
6611
if v:IsA("Part") then
6612-
MAINRUINCOLOR = BrickColor.new("Really red")
6612+
v.Color = Color3.new(0.45,0,1)
6613-
sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
6613+
6614
end
6615
end
6616
for i, v in pairs(extrawingmod1:GetChildren()) do
6617
if v:IsA("Part") then
6618-
sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
6618+
6619-
slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
6619+
v.Color = Color3.new(0.25,0,1)
6620
v.Material = "Neon"
6621
end
6622-
sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
6622+
6623
for i, v in pairs(extrawingmod2:GetChildren()) do
6624-
RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
6624+
6625
v.Transparency = 0.75
6626
v.Color = Color3.new(0.5,0,1)
6627
v.Material = "Neon"
6628
end
6629-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
6629+
6630
elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
6631
resetmode()
6632
end
6633
if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 then
6634
newThemeCust("rbxassetid://1504604335",0,1,1)
6635
attack = true
6636
hum.WalkSpeed = 0
6637
MAINRUINCOLOR = BrickColor.new("Bright violet")
6638
for i = 0, 24, 0.1 do
6639
swait()
6640
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)
6641
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)
6642
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)
6643
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)
6644
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
6645
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)
6646
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)
6647
end
6648
CameraEnshaking(1,1)
6649-
	CFuncs["Sound"].Create("rbxassetid://1448033299", root, 1, 1)
6649+
Sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6650
CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
6651
wait(0.55)
6652
CameraEnshaking(1,2)
6653
Sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6654
Sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6655
Sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6656
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
6657
wait(0.55)
6658
CameraEnshaking(1,3)
6659
Sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
6660
Sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6661
Sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6662
Sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6663
Sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6664
CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
6665
wait(0.55)
6666
CameraEnshaking(10,5)
6667
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
6668
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
6669
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
6670
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
6671
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
6672
Sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
6673
Sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
6674
Sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
6675
Sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
6676
Sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6677
Sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
6678
Sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
6679
Sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
6680
Sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
6681
Sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
6682
for i = 0, 49 do
6683
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)
6684
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)
6685
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)
6686
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)
6687
end
6688
for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
6689
if v:FindFirstChild('Head') then
6690
dmg(v)
6691
end
6692
end
6693
ModeOfGlitch = 12345678987654321
6694
storehumanoidWS = 200
6695
hum.WalkSpeed = 200
6696
rainbowmode = false
6697
MALFUNCTIONmode = false
6698
tl1.Enabled = true
6699
tl2.Enabled = true
6700
tl3.Enabled = true
6701
RecolorTextAndRename("Devourer",Color3.new(0.5,0,1),Color3.new(0.75,0,1))
6702
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6703
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6704
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6705
for i, v in pairs(mw2:GetChildren()) do
6706
if v:IsA("Part") then
6707
v.BrickColor = MAINRUINCOLOR
6708
v.Material = "Neon"
6709
end
6710
end
6711
for i, v in pairs(mw1:GetChildren()) do
6712
if v:IsA("Part") then
6713
v.Transparency = 0
6714
v.BrickColor = MAINRUINCOLOR
6715
v.Material = "Neon"
6716
end
6717
end
6718
for i, v in pairs(m:GetChildren()) do
6719
if v:IsA("Part") then
6720
v.Color = Color3.new(0.5,0,1)
6721
v.Material = "Neon"
6722
end
6723
end
6724
for i, v in pairs(m2:GetChildren()) do
6725-
	CFuncs["Sound"].Create("rbxassetid://1690476035", root, 1, 1)
6725+
6726
v.Color = Color3.new(0.5,0,1)
6727
v.Material = "Neon"
6728
end
6729
end
6730
for i, v in pairs(m3:GetChildren()) do
6731
if v:IsA("Part") then
6732
v.Color = Color3.new(0.5,0,1)
6733
v.Material = "Neon"
6734
end
6735
end
6736
for i, v in pairs(extrawingmod1:GetChildren()) do
6737
if v:IsA("Part") then
6738
v.Transparency = 0
6739
v.Color = Color3.new(0.5,0,1)
6740
v.Material = "Neon"
6741
end
6742
end
6743
for i, v in pairs(extrawingmod2:GetChildren()) do
6744
if v:IsA("Part") then
6745
v.Transparency = 0
6746
v.Color = Color3.new(0.5,0,1)
6747
v.Material = "Neon"
6748
end
6749
attack = false
6750
end
6751-
----------------------------------- Abilities
6751+
elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
6752
resetmode()
6753
end
6754
if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 666 then
6755
newThemeCust("rbxassetid://723652641",0,1,1)
6756
attack = true
6757
hum.WalkSpeed = 0
6758
MAINRUINCOLOR = BrickColor.new("Crimson")
6759
chatfunc("I always wonder why you try...",BrickColor.new'New Yeller'.Color)
6760
for i = 0, 24, 0.1 do
6761-
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
6761+
6762
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)
6763
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)
6764-
--
6764+
6765
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)
6766-
--sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6766+
6767
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)
6768
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)
6769
end
6770-
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
6770+
chatfunc("Because you only have a few minutes to live...",BrickColor.new'New Yeller'.Color)
6771
CameraEnshaking(1,1)
6772
Sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6773
CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
6774
wait(0.55)
6775-
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6775+
CameraEnshaking(1,2)
6776-
local radm = math.random(1,3)
6776+
Sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6777-
if radm == 1 then
6777+
Sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6778-
bosschatfunc("👎□ ⍓□◆ ⧫♒♓■& ⍓□◆ ♍♋■ ♏⬧♍♋◻♏✍",MAINRUINCOLOR.Color,2)
6778+
Sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6779-
elseif radm == 2 then
6779+
CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
6780-
bosschatfunc("GOTCHA!",MAINRUINCOLOR.Color,2)
6780+
wait(0.55)
6781-
elseif radm == 3 then
6781+
CameraEnshaking(1,3)
6782-
bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
6782+
Sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
6783
Sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6784
Sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
6785
Sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
6786-
RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
6786+
Sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
6787
CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
6788
wait(0.55)
6789
CameraEnshaking(10,5)
6790
CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
6791
CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
6792
CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
6793-
CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
6793+
CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
6794-
CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
6794+
CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
6795
Sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
6796
Sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
6797
Sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
6798-
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
6798+
Sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
6799-
for i,v in pairs(targetted:GetChildren()) do
6799+
Sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
6800
Sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
6801-
v.Velocity = vt(0,0,0)
6801+
Sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
6802
Sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
6803
Sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
6804
Sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
6805
for i = 0, 49 do
6806-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
6806+
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)
6807
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)
6808
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)
6809
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)
6810
end
6811
ModeOfGlitch = 666
6812-
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
6812+
6813-
CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
6813+
6814-
for i = 0, 1 do
6814+
6815-
CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
6815+
MALFUNCTIONmode = false
6816
tl1.Enabled = true
6817-
CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
6817+
6818-
chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
6818+
6819
RecolorTextAndRename("H A T R E D",Color3.new(1,0,0),Color3.new(0.75,0,0))
6820
chatfunc("There is nothing stopping me now...",BrickColor.new'Crimson'.Color)
6821
CFuncs["Sound"].Create("rbxassetid://137473066", char, 1, 1)
6822-
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6822+
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6823-
dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6823+
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6824-
local at1 = Instance.new("Attachment",dis)
6824+
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
6825-
at1.Position = vt(-25000,0,0)
6825+
6826-
local at2 = Instance.new("Attachment",dis)
6826+
6827-
at2.Position = vt(25000,0,0)
6827+
v.BrickColor = MAINRUINCOLOR
6828-
local trl = Instance.new('Trail',dis)
6828+
6829-
trl.Attachment0 = at1
6829+
6830-
trl.FaceCamera = true
6830+
6831-
trl.Attachment1 = at2
6831+
6832-
trl.Texture = "rbxassetid://1049219073"
6832+
6833-
trl.LightEmission = 1
6833+
6834-
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6834+
v.BrickColor = MAINRUINCOLOR
6835-
trl.Color = ColorSequence.new(Color3.new(1,0,0))
6835+
6836-
trl.Lifetime = 5
6836+
6837
end
6838
for i, v in pairs(m:GetChildren()) do
6839-
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6839+
6840-
bv.Parent = dis
6840+
v.Color = Color3.new(1,0,0)
6841-
game:GetService("Debris"):AddItem(dis, 5)
6841+
6842-
targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
6842+
6843-
CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
6843+
6844-
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
6844+
6845-
CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
6845+
6846-
CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
6846+
v.Color = Color3.new(1,0,0)
6847-
CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
6847+
6848-
sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
6848+
6849-
targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
6849+
6850
for i, v in pairs(m3:GetChildren()) do
6851-
--slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
6851+
6852
v.Color = Color3.new(1,0,0)
6853-
symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
6853+
6854-
for i,v in pairs(targetted:GetChildren()) do
6854+
6855
end
6856-
v.Velocity = vt(0,0,0)
6856+
6857
if v:IsA("Part") then
6858
v.Transparency = 0.75
6859
v.Color = Color3.new(1,0,0)
6860-
hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
6860+
6861
end
6862-
LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
6862+
6863
for i, v in pairs(extrawingmod2:GetChildren()) do
6864-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
6864+
6865-
RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
6865+
6866-
LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
6866+
v.Color = Color3.new(1,0,0)
6867
v.Material = "Neon"
6868-
hum.CameraOffset = vt(0,0,0)
6868+
6869
attack = false
6870-
local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
6870+
6871-
dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
6871+
elseif k == "b" and attack == false and ModeOfGlitch == 666 then
6872-
local at1 = Instance.new("Attachment",dis)
6872+
resetmode()
6873-
at1.Position = vt(-50000,0,0)
6873+
6874-
local at2 = Instance.new("Attachment",dis)
6874+
if k == "l" and toggleTag == false then
6875-
at2.Position = vt(50000,0,0)
6875+
6876-
local trl = Instance.new('Trail',dis)
6876+
text.TextTransparency = 0
6877-
trl.Attachment0 = at1
6877+
text.TextStrokeTransparency = 0
6878-
trl.FaceCamera = true
6878+
elseif k == "l" and toggleTag == true then
6879-
trl.Attachment1 = at2
6879+
6880-
trl.Texture = "rbxassetid://1049219073"
6880+
text.TextTransparency = 1
6881-
trl.LightEmission = 1
6881+
text.TextStrokeTransparency = 1
6882-
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
6882+
6883-
trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
6883+
if k == "z" and attack == false and ModeOfGlitch == 1 or ModeOfGlitch == 2013 then
6884-
trl.Lifetime = 5
6884+
6885
elseif k == "z" and attack == false and ModeOfGlitch == 2 then
6886
PureBomb()
6887-
bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
6887+
elseif k == "z" and attack == false and ModeOfGlitch == 4093 then
6888-
bv.Parent = dis
6888+
Technobeam()
6889-
game:GetService("Debris"):AddItem(dis, 5)
6889+
6890
PureDeath()
6891
elseif k == "z" and attack == false and ModeOfGlitch == 3 then
6892-
sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
6892+
scattercorrupt()
6893-
--slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
6893+
6894
MALFUNCTIONGroundStrike()
6895-
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
6895+
6896-
for i = 0, 1 do
6896+
Judgement()
6897-
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
6897+
elseif k == "f" and attack == false and ModeOfGlitch == 5 then
6898-
CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
6898+
6899
elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
6900
Starfall()
6901-
CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
6901+
6902
yinyangi()
6903-
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
6903+
elseif k == "x" and attack == false and ModeOfGlitch == 6 then
6904-
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
6904+
MeteorStrike()
6905-
symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
6905+
elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
6906
RainbowBeam()
6907
elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
6908
StarfallEX()
6909-
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
6909+
elseif k == "c" and attack == false and ModeOfGlitch == 12345678987654321 then
6910
FinalCalam()
6911
end
6912
if k == "n" and attack == false then
6913-
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6913+
Blink()
6914
elseif k == "x" and attack == false and ModeOfGlitch == 1000000 then
6915
StarDivision()
6916-
--sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
6916+
6917
if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
6918
UniversalCollapse()
6919
end
6920-
sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
6920+
if k == "c" and attack == false and ModeOfGlitch == 4093 then
6921
GlitchThat()
6922
end
6923
if k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed < 200 then
6924
hum.WalkSpeed = 16 + 184
6925
elseif k == "k" and attack == false and ModeOfGlitch == 666 and hum.WalkSpeed == 200 then
6926
hum.WalkSpeed = 200 - 184
6927-
function CorruptionEvent()
6927+
6928
if k == "x" and attack == false and ModeOfGlitch == 12345678987654321 then
6929
UniversalSpark()
6930-
CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
6930+
6931-
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
6931+
if k == "z" and attack == false and ModeOfGlitch == 666 then
6932-
local keptcolor = MAINRUINCOLOR
6932+
StarDivision()
6933
end
6934
if k == "x" and attack == false and ModeOfGlitch == 666 then
6935-
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
6935+
Starfall()
6936-
block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6936+
6937-
RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
6937+
if k == "m" and attack == false and ModeOfGlitch == 4 then
6938-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
6938+
MALFUNCTIONBegone()
6939-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
6939+
elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == false then
6940-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
6940+
THEHELLITSTHATBIG()
6941-
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
6941+
elseif k == "m" and attack == false and ModeOfGlitch == 1 and ActiveGia == true then
6942-
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
6942+
removelol()
6943
end
6944-
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
6944+
6945-
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
6945+
mouse.KeyUp:connect(function(k)
6946-
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
6946+
	if k == "f" and ModeOfGlitch == 5 then
6947-
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
6947+
	shielding = false
6948-
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
6948+
6949-
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
6949+
	if k == "z" and ModeOfGlitch == 5 then
6950-
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
6950+
		judgement = false
6951-
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
6951+
6952-
hum.CameraOffset = vt(0,0,0)
6952+
6953-
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6953+
6954-
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
6954+
6955
swait(2)
6956-
--slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
6956+
if rainbowmode == true or ModeOfGlitch == 6 then
6957
if eff == true then
6958-
local rrot = 0
6958+
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)
6959
end
6960
end
6961-
rrot = rrot + 45
6961+
6962-
local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6962+
6963-
xa.Anchored = true
6963+
6964-
local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6964+
6965-
xb.Anchored = true
6965+
6966-
local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6966+
if shielding == true then
6967-
xc.Anchored = true
6967+
6968-
local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
6968+
6969-
xd.Anchored = true
6969+
6970-
CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
6970+
6971-
CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
6971+
6972-
CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
6972+
6973-
CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
6973+
6974-
CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
6974+
if ModeOfGlitch == 1000000 then
6975-
CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
6975+
swait(0.5)
6976-
CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
6976+
6977-
CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
6977+
6978-
CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
6978+
if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
6979-
CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
6979+
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)
6980-
CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
6980+
6981-
CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
6981+
if ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
6982-
xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
6982+
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)
6983-
xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
6983+
6984-
xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
6984+
6985-
xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
6985+
6986-
MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6986+
6987-
MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6987+
6988-
MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6988+
6989-
MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
6989+
6990-
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6990+
6991-
block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6991+
if MALFUNCTIONmode == true then
6992-
block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6992+
6993-
block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
6993+
6994-
sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6994+
6995-
sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6995+
RecolorTextAndRename("MALFUNCTION",Color3.new(0,0,0),BrickColor.random().Color)
6996-
sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6996+
6997-
sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
6997+
6998-
sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6998+
6999-
sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
6999+
7000-
sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
7000+
7001-
sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
7001+
7002-
game:GetService("Debris"):AddItem(xa, 5)
7002+
7003-
game:GetService("Debris"):AddItem(xb, 5)
7003+
7004-
game:GetService("Debris"):AddItem(xc, 5)
7004+
7005-
game:GetService("Debris"):AddItem(xd, 5)
7005+
7006
v.Material = "Neon"
7007-
for i = 0, 19 do
7007+
7008
end
7009-
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7009+
for i, v in pairs(secondchar:GetChildren()) do
7010
if v:IsA("Part") then
7011-
hum.CameraOffset = vt(0,0,0)
7011+
7012
v.Material = "Neon"
7013-
swait(9)
7013+
7014
end
7015
end
7016
end
7017
end))
7018-
RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
7018+
7019-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
7019+
7020-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
7020+
7021-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
7021+
7022-
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
7022+
7023-
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7023+
7024
while true do
7025
if rainbowmode == false then
7026
tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7027
tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7028
tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7029-
function EndGROUND()
7029+
for i, v in pairs(secondchar:GetChildren()) do
7030
if v:IsA("Part") then
7031
v.BrickColor = MAINRUINCOLOR
7032-
bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
7032+
7033-
--CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
7033+
7034-
CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
7034+
7035-
CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
7035+
if MALFUNCTIONmode == false then
7036-
CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
7036+
tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7037-
local keptcolor = MAINRUINCOLOR
7037+
tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7038
tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
7039
for i, v in pairs(secondchar:GetChildren()) do
7040-
hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
7040+
7041-
block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7041+
v.BrickColor = MAINRUINCOLOR
7042-
--slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
7042+
7043-
RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
7043+
7044-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
7044+
7045-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
7045+
7046-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
7046+
7047-
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
7047+
7048-
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
7048+
RecolorTextAndRename("RAINBOW",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
7049
MAINRUINCOLOR = BrickColor.new("White")
7050-
symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
7050+
7051-
CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
7051+
7052-
CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
7052+
7053-
CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
7053+
7054-
CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
7054+
7055-
CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
7055+
7056
for i, v in pairs(m:GetChildren()) do
7057-
	local shval = 10
7057+
7058-
	for i = 0, 99 do
7058+
7059
end
7060-
		shval = shval - 0.1
7060+
7061-
		hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
7061+
7062
if v:IsA("Part") then
7063-
	hum.CameraOffset = vt(0,0,0)
7063+
7064
end
7065-
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7065+
7066-
sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
7066+
for i, v in pairs(secondchar:GetChildren()) do
7067
if v:IsA("Part") then
7068-
--slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
7068+
7069
v.Material = "Neon"
7070-
local rrot = 0
7070+
7071-
local xam = 1
7071+
7072
for i, v in pairs(m3:GetChildren()) do
7073
if v:IsA("Part") then
7074-
--swait()
7074+
7075-
rrot = rrot + 40*xam
7075+
7076-
xam = xam + 0.25
7076+
7077-
local bonus = xam
7077+
7078-
local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
7078+
7079-
xa.Anchored = true
7079+
7080-
xa.Color = Color3.new(0,0,0)
7080+
7081-
xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
7081+
7082-
CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
7082+
7083-
local xc = 0
7083+
7084
if v:IsA("Part") then
7085
v.Color = Color3.new(r/255,g/255,b/255)
7086
v.Material = "Neon"
7087-
	xc = xc + 0.01
7087+
7088-
	xa.Color = Color3.new(xc,0,0)
7088+
7089
end
7090-
xa.Transparency = 1
7090+
7091-
CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
7091+
7092-
MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
7092+
7093
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)
7094-
--slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
7094+
7095
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)
7096-
block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
7096+
7097-
sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
7097+
7098-
sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
7098+
7099-
game:GetService("Debris"):AddItem(xa, 5)
7099+
if attack == false and ActiveGia == false then
7100
torsweld.C1=clerp(torsweld.C1,cf(2,5*4,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
7101-
for i = 0, 19 do
7101+
larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(20)),1)
7102
rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.25*8,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),1)
7103-
hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
7103+
llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
7104
rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1)
7105-
hum.CameraOffset = vt(0,0,0)
7105+
hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),1)
7106
elseif attack == false and ActiveGia == true then
7107
if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 4093 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 then
7108
torsweld.C1=clerp(torsweld.C1,cf(0,-2 + 0.25 * math.cos(sine / 32) ,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.025)
7109
larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
7110
rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
7111
llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
7112-
RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
7112+
rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.025)
7113-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
7113+
hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
7114-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
7114+
elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 then
7115-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
7115+
torsweld.C1=clerp(torsweld.C1,cf(0,-25 + 0.5 * math.cos(sine / 32) ,-8)*angles(math.rad(20),math.rad(0),math.rad(0)),.025)
7116-
RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
7116+
larmsweld.C1=clerp(larmsweld.C1,cf(1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(20)),0.025)
7117-
LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
7117+
rarmsweld.C1=clerp(rarmsweld.C1,cf(-1.65*8,0.45*8,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),0.025)
7118
llegsweld.C1=clerp(llegsweld.C1,cf(0.5*8,1.5*8,0.6*8)*angles(math.rad(20),math.rad(0),math.rad(0)),0.025)
7119
rlegsweld.C1=clerp(rlegsweld.C1,cf(-0.5*8,2*8,0.11*8)*angles(math.rad(10),math.rad(0),math.rad(0)),0.025)
7120
hedsweld.C1=clerp(hedsweld.C1,cf(0,-1.5*8,-0.2)*angles(math.rad(5),math.rad(0),math.rad(0)),0.025)
7121
end
7122
end
7123-
function HeavenlyDisk()
7123+
7124
7125-
hum.WalkSpeed = 2
7125+
7126-
local keptcolor = MAINRUINCOLOR
7126+
7127-
local radm = math.random(1,3)
7127+
7128-
if radm == 1 then
7128+
7129-
bosschatfunc("DONT COME TO ME CLOSER!",MAINRUINCOLOR.Color,1)
7129+
7130-
elseif radm == 2 then
7130+
7131-
bosschatfunc("LEAVE ME ALONE!",MAINRUINCOLOR.Color,1)
7131+
  sine = sine + change
7132-
elseif radm == 3 then
7132+
7133-
bosschatfunc("WHY YOU REDUSE?!",MAINRUINCOLOR.Color,1)
7133+
7134
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
7135-
CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
7135+
7136-
CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
7136+
7137
idle=idle+1
7138-
--
7138+
7139
idle=0
7140
end
7141
if idle>=500 then
7142-
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
7142+
7143-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
7143+
7144-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
7144+
7145-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
7145+
7146-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
7146+
7147-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
7147+
7148-
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
7148+
7149
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)
7150-
CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
7150+
7151-
for i = 0,1,0.6 do
7151+
7152
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
7153-
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
7153+
7154-
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
7154+
7155-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
7155+
7156-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
7156+
7157-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
7157+
7158-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7158+
7159-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7159+
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)
7160-
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7160+
7161
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)
7162-
for i = 0,1,0.6 do
7162+
7163
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)
7164-
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
7164+
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)
7165-
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
7165+
7166-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
7166+
7167-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
7167+
7168-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
7168+
7169-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7169+
if ModeOfGlitch == 1 or ModeOfGlitch == 2013 then
7170-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7170+
7171-
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7171+
7172
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)
7173-
for i = 0,1,0.6 do
7173+
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
7174
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)
7175-
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
7175+
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
7176-
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
7176+
7177-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
7177+
elseif ModeOfGlitch == 4093 then
7178-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
7178+
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
7179-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
7179+
tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
7180-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7180+
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
7181-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7181+
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.08)
7182-
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7182+
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-.6), Rad(135)), 0.08)
7183
LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
7184-
for i = 0,1,0.6 do
7184+
7185
7186-
sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
7186+
7187-
--slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
7187+
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)
7188-
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
7188+
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)
7189-
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
7189+
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)
7190-
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
7190+
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)
7191-
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
7191+
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)
7192-
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
7192+
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)
7193-
LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
7193+
7194
elseif ModeOfGlitch == 666 then
7195-
local rot = 15
7195+
7196
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)
7197-
local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Really black"))
7197+
7198-
CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
7198+
7199-
dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
7199+
7200-
CreateMesh(dis,"Sphere",10,1,10)
7200+
7201-
local at1 = Instance.new("Attachment",dis)
7201+
7202-
at1.Position = vt(-5,0,0)
7202+
elseif ModeOfGlitch == 6127843 then
7203-
local at2 = Instance.new("Attachment",dis)
7203+
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)
7204-
at2.Position = vt(5,0,0)
7204+
7205-
local trl = Instance.new('Trail',wed)
7205+
7206-
trl.Attachment0 = at1
7206+
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)
7207-
trl.Attachment1 = at2
7207+
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)
7208-
trl.Texture = "rbxassetid://1049219073"
7208+
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)
7209-
trl.LightEmission = 1
7209+
7210-
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7210+
7211-
trl.Color = ColorSequence.new(dis.Color)
7211+
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)
7212-
trl.Lifetime = 0.6
7212+
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)
7213
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)
7214
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
7215
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)
7216-
	a.BrickColor = bc("Bright red")
7216+
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
7217
7218
elseif ModeOfGlitch == 4 then
7219
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)
7220
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)
7221-
	    dis.CFrame.p,                           -- origin
7221+
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)
7222-
	    (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
7222+
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)
7223
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)
7224-
	local ignore = dis
7224+
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)
7225
7226
elseif ModeOfGlitch == 5 then
7227
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)
7228-
	local distance = (dis.CFrame.p - position).magnitude
7228+
7229
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)
7230-
	a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
7230+
7231-
dis.CFrame = a.CFrame
7231+
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)
7232-
dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
7232+
7233
7234
elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
7235
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)
7236-
bv.velocity = dis.CFrame.lookVector*250
7236+
7237-
bv.Parent = dis
7237+
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)
7238-
game:GetService("Debris"):AddItem(dis, 5)
7238+
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
7239
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)
7240
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)
7241-
dis.Touched:connect(function(hit) 
7241+
7242-
	if hitted == false and hit.Parent ~= char then
7242+
elseif ModeOfGlitch == 12345678987654321 then
7243
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)
7244-
	CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
7244+
7245-
	MagniDamage(dis, 30, 82,34575, 0, "Normal")
7245+
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)
7246-
	--sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
7246+
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
7247-
	--sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
7247+
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)
7248-
	--sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
7248+
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)
7249
end
7250-
		for i = 0, 9 do
7250+
7251-
local disr = CreateParta(char,1,1,"Neon",keptcolor)
7251+
elseif torvel>2 and torvel<50 and hitfloor~=nil then
7252-
disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
7252+
7253-
local at1 = Instance.new("Attachment",disr)
7253+
7254-
at1.Position = vt(-2,0,0)
7254+
if ModeOfGlitch == 1 or ModeOfGlitch == 2013 then
7255-
local at2 = Instance.new("Attachment",disr)
7255+
RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
7256-
at2.Position = vt(2,0,0)
7256+
LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
7257-
local trl = Instance.new('Trail',disr)
7257+
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)
7258-
trl.Attachment0 = at1
7258+
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 5 * math.cos(sine / 0.325)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 + 5 * math.cos(sine / 8))),.1)
7259-
trl.FaceCamera = true
7259+
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)
7260-
trl.Attachment1 = at2
7260+
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
7261-
trl.Texture = "rbxassetid://2342682798"
7261+
elseif ModeOfGlitch == 4093 then
7262-
trl.LightEmission = 1
7262+
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 0.8 + 0.2* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.08)
7263-
trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
7263+
tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(15 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.08)
7264-
trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
7264+
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -0.5* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.08)
7265-
trl.Lifetime = 0.5
7265+
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.08)
7266
RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(-43)), 0.08)
7267
LW.C0 = clerp(LW.C0, CF(-1 * Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-20), Rad(-.6), Rad(43)), 0.08)
7268-
bv.velocity = disr.CFrame.lookVector*math.random(50,200)
7268+
elseif ModeOfGlitch == 4 or ModeOfGlitch == 666 then
7269-
bv.Parent = disr
7269+
RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(5 + 25 * math.cos(sine / 12))),.1)
7270-
local val = 0
7270+
LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 8))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 12)),math.rad(-5 + 25 * math.cos(sine / 12))),.1)
7271
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)
7272
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)
7273-
	for i = 0, 9 do
7273+
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)
7274
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)
7275-
		val = val + 0.1
7275+
7276-
		trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
7276+
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)
7277
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)
7278-
game:GetService("Debris"):AddItem(disr, 3)
7278+
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)
7279
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)
7280
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)
7281-
local eff = Instance.new("ParticleEmitter",dis)
7281+
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)
7282-
eff.Texture = "rbxassetid://2273224484"
7282+
7283-
eff.LightEmission = 1
7283+
elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 or ModeOfGlitch ~= 666 then
7284-
eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
7284+
RH.C0=clerp(RH.C0,cf(1,-0.85,-0.15 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
7285-
eff.Rate = 500000
7285+
LH.C0=clerp(LH.C0,cf(-1,-0.85,-0.15 + 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 25 * math.cos(sine / 8))),.1)
7286-
eff.Lifetime = NumberRange.new(0.5,2)
7286+
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)
7287-
eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
7287+
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)
7288-
eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
7288+
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)
7289-
eff.Speed = NumberRange.new(20,250)
7289+
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)
7290-
eff.Drag = 5
7290+
7291-
eff.Rotation = NumberRange.new(-500,500)
7291+
7292-
eff.VelocitySpread = 9000
7292+
7293-
eff.RotSpeed = NumberRange.new(-50,50)
7293+
7294-
wait(0.25)
7294+
7295-
eff.Enabled = false
7295+
if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 666 and ModeOfGlitch ~= 4093 then
7296
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)
7297-
	for i = 0, 9 do
7297+
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)
7298-
		--slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
7298+
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)
7299
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)
7300-
for i = 0, 19 do
7300+
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 155 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
7301-
--
7301+
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 155 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
7302
elseif ModeOfGlitch == 2 then
7303
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)
7304-
for i = 0, 19 do
7304+
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)
7305
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)
7306-
hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
7306+
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)
7307
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)
7308-
hum.CameraOffset = vt(0,0,0)
7308+
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)
7309
elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 666 or ModeOfGlitch == 4093 then
7310-
dis.Anchored = true
7310+
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)
7311-
dis.Transparency = 1
7311+
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)
7312
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)
7313-
dis:Destroy()
7313+
7314
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)
7315
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)
7316
end
7317-
rot = rot - 15
7317+
7318
end
7319
end
7320
end