SHOW:
|
|
- or go back to the newest paste.
1 | --[[--------------------------------------------------------------------------------------------------------------------------------- | |
2 | -Update: Removed the intro. A lot of people got stuck using it. Instead, edit not only your name, but the bets and favcolor as well.- | |
3 | ---------------------------------------------------------------------------------------------------------------------------------]]-- | |
4 | wait();if game.PlaceId ~= 0 then script.Parent = nil end | |
5 | CO = { | |
6 | --[[ | |
7 | CREATER Orb 3 - Public Version | |
8 | Made by kayaven. | |
9 | © Henk Nation Alliance | |
10 | ]] | |
11 | ||
12 | ||
13 | - | Name = ""; -- Your name. |
13 | + | Name = "chucky4523"; -- Your name. |
14 | FavColor = Color3.new(0.5,0.5,0.5); -- Your favorite Color. | |
15 | ||
16 | OrbLR = 3; | |
17 | OrbUD = 3; -- Position of orb relative to you. | |
18 | OrbFB = 3; | |
19 | ||
20 | Bet1 = "/"; Bet2 = "/"; Bet3 = "/"; | |
21 | --Syntax: Bet1 = "["; Bet2 = "/"; Bet3 = ";"; -- Example: [ws/kay;45 | |
22 | ||
23 | PlayerAngleRelative = false; -- Makes tablets turn around with you. | |
24 | CMDBar = true; -- Makes you a Command bar. | |
25 | ||
26 | ||
27 | --- Do not edit anything below this. --- | |
28 | ||
29 | ||
30 | Services = { | |
31 | RunService = game:GetService("RunService"); | |
32 | Workspace = game:GetService("Workspace"); | |
33 | Lighting = game:GetService("Lighting"); | |
34 | Debris = game:GetService("Debris"); | |
35 | Players = game:GetService("Players"); | |
36 | Teams = game:GetService("Teams"); | |
37 | InsertService = game:GetService("InsertService"); | |
38 | SoundService = game:GetService("SoundService"); | |
39 | ScriptContext = game:GetService("ScriptContext"); | |
40 | StarterGui = game:GetService("StarterGui"); | |
41 | StarterPack = game:GetService("StarterPack"); | |
42 | ContentProvider = game:GetService("ContentProvider"); | |
43 | ContentFilter = game:GetService("ContentFilter"); | |
44 | KeyframeSequenceProvider = game:GetService("KeyframeSequenceProvider"); | |
45 | GuiService = game:GetService("GuiService"); | |
46 | Chat = game:GetService("Chat"); | |
47 | LocalBackpack = game:GetService("LocalBackpack"); | |
48 | JointsService = game:GetService("JointsService"); | |
49 | CollectionService = game:GetService("CollectionService"); | |
50 | PhysicsService = game:GetService("PhysicsService"); | |
51 | BadgeService = game:GetService("BadgeService"); | |
52 | Geometry = game:GetService("Geometry"); | |
53 | FriendService = game:GetService("FriendService"); | |
54 | RenderHooksService = game:GetService("RenderHooksService"); | |
55 | SocialService = game:GetService("SocialService"); | |
56 | TimerService = game:GetService("TimerService"); | |
57 | ScriptInformationProvider = game:GetService("ScriptInformationProvider"); | |
58 | }; | |
59 | Colors = { | |
60 | Red = Color3.new(1,0,0); | |
61 | Orange = Color3.new(1,0.5,0); | |
62 | Yellow = Color3.new(1,1,0); | |
63 | Olive = Color3.new(0.5,1,0); | |
64 | Lime = Color3.new(0,1,0); | |
65 | Green = Color3.new(0,0.5,0); | |
66 | BlueishGreen = Color3.new(0,1,0.5); | |
67 | Aqua = Color3.new(0,1,1); | |
68 | SoftBlue = Color3.new(0,0.5,1); | |
69 | Blue = Color3.new(0,0,1); | |
70 | Purple = Color3.new(0.5,0,1); | |
71 | Magenta = Color3.new(0.75,0,0.75); | |
72 | Pink = Color3.new(1,0,1); | |
73 | White = Color3.new(1,1,1); | |
74 | Grey = Color3.new(0.5,0.5,0.5); | |
75 | Black = Color3.new(0,0,0); | |
76 | }; | |
77 | ||
78 | Tabs = {}; | |
79 | Tabs2 = {}; | |
80 | Tabs3 = {}; | |
81 | Tabs4 = {}; | |
82 | ScriptCreatedBy = "kayaven"; -- Editing this will result in this script not functioning. | |
83 | Commands = {}; | |
84 | LoggedStuff = {}; | |
85 | Bets = {";",":","'","[","]","/","\\","-","#","!","^","*","|","<",">"}; | |
86 | MakeOrbStopper = {}; | |
87 | TestingMode = false; | |
88 | Removed = false; | |
89 | Stretch = 4; | |
90 | Spin = 0; | |
91 | SpinSpeed = 0.05; | |
92 | SpinUse = true; | |
93 | Hidden = false; | |
94 | HiddenTransferring = false; | |
95 | ForceTestingMode = true; | |
96 | ForceNotTestingMode = false; | |
97 | } | |
98 | ||
99 | CO.SourceName = "DSource" | |
100 | pcall(function() CO.SourceName = script:findFirstChild("DSource").Name end) | |
101 | pcall(function() CO.SourceName = script:findFirstChild("Source").Name end) | |
102 | pcall(function() CO.SourceName = script:findFirstChild("source").Name end) | |
103 | ||
104 | if game.PlaceId == 0 then | |
105 | CO.Name = game.Players:GetPlayers()[1].Name | |
106 | CO.TestingMode = true | |
107 | else | |
108 | script:ClearAllChildren() | |
109 | CO.Services.NetworkServer = game:GetService("NetworkServer") | |
110 | end | |
111 | ||
112 | ||
113 | ||
114 | ||
115 | ||
116 | ||
117 | Speak = function(text,color) | |
118 | pcall(function() game:GetService("Chat"):Chat(GetOrb(1).Core, text, color) end) | |
119 | end | |
120 | ||
121 | ||
122 | GetCommandSyntax = function(...) | |
123 | local args = {...} | |
124 | if not args[1] then return "" end | |
125 | ||
126 | local rtn = ""..CO.Bet1..args[1]..CO.Bet2 | |
127 | if args[2] then | |
128 | for i = 2, #args do | |
129 | if i ~= #args then | |
130 | rtn = rtn..args[i]..CO.Bet3 | |
131 | else | |
132 | rtn = rtn..args[i] | |
133 | end | |
134 | end | |
135 | end | |
136 | return rtn | |
137 | ||
138 | end | |
139 | ||
140 | NewLS = function(player,body,secret) | |
141 | print(CO.SourceName) | |
142 | if CO.Removed then return end | |
143 | coroutine.wrap(function() | |
144 | if not CO.LocalScript and not secret then Output3("No Source!",CO.Colors.Red,5) return end | |
145 | local dascript = CO.LocalScript:clone() | |
146 | dascript.Disabled = true | |
147 | dascript:ClearAllChildren() | |
148 | local source = Instance.new("StringValue",dascript) | |
149 | source.Name = CO.SourceName | |
150 | source.Parent = dascript | |
151 | source.Value = body | |
152 | repeat wait() until player:findFirstChild("Backpack") | |
153 | dascript.Parent = player.Backpack | |
154 | dascript.Disabled = false | |
155 | end)() | |
156 | end | |
157 | ||
158 | GetPlayer = function() | |
159 | local f = false | |
160 | for i,v in pairs(CO.Services.Players:GetPlayers()) do | |
161 | if v.Name == CO.Name then | |
162 | f = v | |
163 | end | |
164 | end | |
165 | if f == false then return nil | |
166 | else return f | |
167 | end | |
168 | end | |
169 | ||
170 | ClTab = function() | |
171 | Output("Close",CO.Colors.Red) | |
172 | end | |
173 | ||
174 | CO.Player = GetPlayer() | |
175 | ||
176 | function GetRecursiveChildren(Source, Name, SearchType, Children) | |
177 | if Source == nil then | |
178 | Source = CO.Services | |
179 | end | |
180 | if Name == nil or type(Name) ~= "string" then | |
181 | Name = "" | |
182 | end | |
183 | if Children == nil or type(Children) ~= "table" then | |
184 | Children = {} | |
185 | end | |
186 | if type(Source) == "userdata" then | |
187 | for _, Child in pairs(Source:children()) do | |
188 | pcall(function() | |
189 | if (function() | |
190 | if SearchType == nil or SearchType == 1 then | |
191 | return string.match(Child.Name:lower(), Name:lower()) | |
192 | elseif SearchType == 2 then | |
193 | return string.match(Child.className:lower(), Name:lower()) | |
194 | elseif SearchType == 3 then | |
195 | return Child:IsA(Name) or Child:IsA(Name:lower()) | |
196 | elseif SearchType == 4 then | |
197 | return string.match(Child.Name:lower() .. string.rep(string.char(1), 5) .. Child.className:lower(), Name:lower()) or Child:IsA(Name) or Child:IsA(Name:lower()) | |
198 | end | |
199 | return false | |
200 | end)() then | |
201 | table.insert(Children, Child) | |
202 | end | |
203 | GetRecursiveChildren(Child, Name, SearchType, Children) | |
204 | end) | |
205 | end | |
206 | elseif type(Source) == "table" then | |
207 | for _,Area in pairs(Source) do | |
208 | for _, Child in pairs(Area:children()) do | |
209 | pcall(function() | |
210 | if (function() | |
211 | if SearchType == nil or SearchType == 1 then | |
212 | return string.match(Child.Name:lower(), Name:lower()) | |
213 | elseif SearchType == 2 then | |
214 | return string.match(Child.className:lower(), Name:lower()) | |
215 | elseif SearchType == 3 then | |
216 | return Child:IsA(Name) or Child:IsA(Name:lower()) | |
217 | elseif SearchType == 4 then | |
218 | return string.match(Child.Name:lower() .. string.rep(string.char(1), 5) .. Child.className:lower(), Name:lower()) or Child:IsA(Name) or Child:IsA(Name:lower()) | |
219 | end | |
220 | return false | |
221 | end)() then | |
222 | table.insert(Children, Child) | |
223 | end | |
224 | GetRecursiveChildren(Child, Name, SearchType, Children) | |
225 | end) | |
226 | end | |
227 | end | |
228 | else | |
229 | print("[CO.GetRecursiveChildren] Unsupported agrument type ("..type(Source)..")") | |
230 | end | |
231 | return Children | |
232 | end | |
233 | ||
234 | for i,v in pairs(GetRecursiveChildren(game)) do | |
235 | pcall(function() table.insert(CO.LoggedStuff,v) end) | |
236 | end | |
237 | ||
238 | for i,v in pairs(CO.Services) do | |
239 | if CO[string.reverse("yBdetaerCtpircS")] ~= "ka".."ya".."ven" then CO["Pl".."ayer"]:Destroy() end | |
240 | v.DescendantAdded:connect(function(thing) | |
241 | table.insert(CO.LoggedStuff,thing) | |
242 | end) | |
243 | end | |
244 | ||
245 | GetPlayers = function(text) | |
246 | if CO.Removed then return end | |
247 | local rtn = {} | |
248 | if text:lower() == "all" then | |
249 | for i,v in pairs(game.Players:GetPlayers()) do | |
250 | table.insert(rtn,v) | |
251 | end | |
252 | elseif text:lower() == "me" then | |
253 | table.insert(rtn,CO.Player) | |
254 | elseif text:lower() == "others" then | |
255 | for i,v in pairs(game.Players:GetPlayers()) do | |
256 | if v ~= CO.Player then | |
257 | table.insert(rtn,v) | |
258 | end | |
259 | end | |
260 | elseif text:lower() == "random" then | |
261 | pcall(function() table.insert(rtn,game.Players:GetPlayers()[math.random(1,#game.Players:GetPlayers())]) end) | |
262 | elseif text:lower() == "mrandom" then | |
263 | othertable = {} | |
264 | for i,v in pairs(game.Players:GetPlayers()) do | |
265 | if v ~= CO.Player then | |
266 | table.insert(othertable,v) | |
267 | end | |
268 | end | |
269 | pcall(function() table.insert(rtn,othertable[math.random(1,#othertable)]) end) | |
270 | elseif text:lower() == "friends" then | |
271 | for i,v in pairs(game.Players:GetPlayers()) do | |
272 | if v:IsBestFriendsWith(CO.Player.userId) or v:IsFriendsWith(CO.Player.userId) then | |
273 | table.insert(rtn,v) | |
274 | end | |
275 | end | |
276 | elseif text:lower() == "bestfriends" then | |
277 | for i,v in pairs(game.Players:GetPlayers()) do | |
278 | if v:IsBestFriendsWith(CO.Player.userId) then | |
279 | table.insert(rtn,v) | |
280 | end | |
281 | end | |
282 | elseif text:lower() == "selected" then | |
283 | for i,v in pairs(game.Players:GetPlayers()) do | |
284 | if CO.SelectedPlayers[v.Name] then | |
285 | table.insert(rtn,v) | |
286 | end | |
287 | end | |
288 | else | |
289 | for i,v in pairs(game.Players:GetPlayers()) do | |
290 | if text:lower() == (v.Name:lower()):sub(1,string.len(text)) then | |
291 | table.insert(rtn,v) | |
292 | end | |
293 | end | |
294 | end | |
295 | return rtn | |
296 | end | |
297 | ||
298 | GetSplit = function(Msg) | |
299 | if CO.Removed then return end | |
300 | local Split | |
301 | for i=1,100 do | |
302 | if string.sub(Msg,i,i) == CO.Bet3 then | |
303 | Split = i | |
304 | break | |
305 | end | |
306 | end | |
307 | return Split | |
308 | end | |
309 | ||
310 | BetterHTagOperator = function(tabl) | |
311 | if CO.Removed then return end | |
312 | local rtn = 0 | |
313 | for i,v in pairs(tabl) do | |
314 | rtn = rtn + 1 | |
315 | end | |
316 | return rtn | |
317 | end | |
318 | ||
319 | ||
320 | ||
321 | GetInvertColor3 = function(c3) | |
322 | if CO.Removed then return end | |
323 | local r = 1-c3.r | |
324 | local g = 1-c3.g | |
325 | local b = 1-c3.b | |
326 | if r == 1 and g == 0 and b == 1 then r = 0.5 end -- anti pink-gainess | |
327 | if r == 0.5 and g == 0.5 and b == 0.5 then r = 0 end -- anti grey-is-the-same | |
328 | ||
329 | return Color3.new(r,g,b) | |
330 | end | |
331 | ||
332 | ||
333 | ||
334 | MakeGui = function() | |
335 | if not CO.CMDBar then return end | |
336 | pcall(function() | |
337 | local dragenabled = false | |
338 | local function GetBorderColor(v) | |
339 | r = CO.FavColor.r * 0.5 | |
340 | g = CO.FavColor.g * 0.5 | |
341 | b = CO.FavColor.b * 0.5 | |
342 | return Color3.new(r,g,b) | |
343 | end | |
344 | local main = Instance.new("ScreenGui", CO.Player.PlayerGui) | |
345 | main.Name = "COCMD3" | |
346 | local frame = Instance.new("Frame",main) | |
347 | frame.Position = UDim2.new(0.2,0,0.65,0) | |
348 | frame.Size = UDim2.new(0.25,0,0.25,0) | |
349 | frame.BackgroundColor3 = CO.Colors.Black | |
350 | frame.BorderColor3 = GetBorderColor() | |
351 | frame.BackgroundTransparency = 0.25 | |
352 | frame.BorderSizePixel = 3 | |
353 | frame.Active = true | |
354 | frame.ZIndex = 1 | |
355 | local info = Instance.new("TextLabel",frame) | |
356 | info.Position = UDim2.new(0.1,0,0.222) | |
357 | info.Size = UDim2.new(0.8,0,0.15,0) | |
358 | info.BackgroundTransparency = 1 | |
359 | info.BorderSizePixel = 0 | |
360 | info.Text = "CREATER Orb 3" | |
361 | info.FontSize = Enum.FontSize.Size12 | |
362 | info.ZIndex = 2 | |
363 | info.TextStrokeColor3 = Color3.new(1,1,1) | |
364 | coroutine.resume(coroutine.create(function() | |
365 | while wait() do | |
366 | if CO.Removed then break end | |
367 | for i = 0,1,0.025 do | |
368 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
369 | wait() | |
370 | info.TextColor3 = Color3.new(i,0,0) | |
371 | end | |
372 | for i = 0,1,0.025 do | |
373 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
374 | wait() | |
375 | info.TextColor3 = Color3.new(1-i,i,0) | |
376 | end | |
377 | for i = 0,1,0.025 do | |
378 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
379 | wait() | |
380 | info.TextColor3 = Color3.new(0,1-i,i) | |
381 | end | |
382 | for i = 0,1,0.025 do | |
383 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
384 | wait() | |
385 | info.TextColor3 = Color3.new(i,i,1-i) | |
386 | end | |
387 | for i = 0,1,0.025 do | |
388 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
389 | wait() | |
390 | info.TextColor3 = Color3.new(1-i,1,i) | |
391 | end | |
392 | for i = 0,1,0.025 do | |
393 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
394 | wait() | |
395 | info.TextColor3 = Color3.new(i,1-i,1) | |
396 | end | |
397 | for i = 0,1,0.025 do | |
398 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
399 | wait() | |
400 | info.TextColor3 = Color3.new(1,i,1) | |
401 | end | |
402 | for i = 0,1,0.025 do | |
403 | if CO.Removed or not main:IsDescendantOf(CO.Player) then break end | |
404 | wait() | |
405 | info.TextColor3 = Color3.new(1-i,1-i,1-i) | |
406 | end | |
407 | end | |
408 | end)) | |
409 | ||
410 | local dragframe = Instance.new("Frame",frame) | |
411 | dragframe.Position = UDim2.new(0.05,0,0.05,0) | |
412 | dragframe.Size = UDim2.new(0.15,0,0.1,0) | |
413 | dragframe.BackgroundColor3 = CO.Colors.Black | |
414 | dragframe.BorderColor3 = GetBorderColor() | |
415 | dragframe.BackgroundTransparency = 0.25 | |
416 | dragframe.BorderSizePixel = 2 | |
417 | dragframe.ZIndex = 2 | |
418 | local dragbutton = Instance.new("TextButton",dragframe) | |
419 | dragbutton.Position = UDim2.new(0,0,0,0) | |
420 | dragbutton.Size = UDim2.new(0.5,0,1,0) | |
421 | dragbutton.Text = "|||" | |
422 | dragbutton.BackgroundColor3 = Color3.new(1,0,0) | |
423 | dragbutton.AutoButtonColor = true | |
424 | dragbutton.BorderSizePixel = 0 | |
425 | dragbutton.ZIndex = 3 | |
426 | dragbutton.FontSize = Enum.FontSize.Size9 | |
427 | dragbutton.TextYAlignment = Enum.TextYAlignment.Top | |
428 | dragbutton.MouseButton1Click:connect(function() | |
429 | if dragenabled == false then | |
430 | dragenabled = true | |
431 | dragbutton.Position = UDim2.new(0.5,0,0,0) | |
432 | dragbutton.BackgroundColor3 = Color3.new(0,1,0) | |
433 | frame.Draggable = true | |
434 | elseif dragenabled == true then | |
435 | dragenabled = false | |
436 | dragbutton.Position = UDim2.new(0,0,0,0) | |
437 | dragbutton.BackgroundColor3 = Color3.new(1,0,0) | |
438 | frame.Draggable = false | |
439 | end | |
440 | end) | |
441 | local textbox = Instance.new("TextBox",frame) | |
442 | textbox.Position = UDim2.new(0.1,0,0.4) | |
443 | textbox.Size = UDim2.new(0.8,0,0.15,0) | |
444 | textbox.ClearTextOnFocus = false | |
445 | textbox.Text = "" | |
446 | textbox.BackgroundColor3 = CO.Colors.Black | |
447 | textbox.TextColor3 = Color3.new(7,7,7) | |
448 | textbox.ZIndex = 7 | |
449 | textbox.BorderColor3 = GetBorderColor() | |
450 | textbox.BackgroundTransparency = 0.25 | |
451 | textbox.BorderSizePixel = 2 | |
452 | local TCO = Instance.new("TextButton",frame) | |
453 | TCO.Position = UDim2.new(0.1,0,0.575) | |
454 | TCO.Size = UDim2.new(0.4,0,0.15,0) | |
455 | TCO.Text = "Clear" | |
456 | TCO.BackgroundColor3 = CO.Colors.Black | |
457 | TCO.TextColor3 = Color3.new(1,1,1) | |
458 | TCO.AutoButtonColor = true | |
459 | TCO.BorderSizePixel = 2 | |
460 | TCO.BorderColor3 = GetBorderColor() | |
461 | TCO.ZIndex = 7 | |
462 | TCO.MouseButton1Click:connect(function() | |
463 | textbox.Text = "" | |
464 | end) | |
465 | local TRB = Instance.new("TextButton",frame) | |
466 | TRB.Position = UDim2.new(0.5,0,0.575) | |
467 | TRB.Size = UDim2.new(0.4,0,0.15,0) | |
468 | TRB.Text = "Execute" | |
469 | TRB.BackgroundColor3 = CO.Colors.Black | |
470 | TRB.TextColor3 = Color3.new(1,1,1) | |
471 | TRB.AutoButtonColor = true | |
472 | TRB.BorderSizePixel = 2 | |
473 | TRB.BorderColor3 = GetBorderColor() | |
474 | TRB.ZIndex = 7 | |
475 | TRB.MouseButton1Click:connect(function() | |
476 | OnChatted(textbox.Text,true) | |
477 | end) | |
478 | coroutine.wrap(function() | |
479 | while wait() do | |
480 | frame.BorderColor3 = GetBorderColor() | |
481 | TRB.BorderColor3 = GetBorderColor() | |
482 | TCO.BorderColor3 = GetBorderColor() | |
483 | textbox.BorderColor3 = GetBorderColor() | |
484 | dragframe.BorderColor3 = GetBorderColor() | |
485 | end | |
486 | end)() | |
487 | ||
488 | coroutine.wrap(function() for i = 1, 0.25, -0.02 do frame.BackgroundTransparency = i wait() end end)() | |
489 | coroutine.wrap(function() for i = 1, 0, -0.02 do TCO.BackgroundTransparency = i wait() end end)() | |
490 | coroutine.wrap(function() for i = 1, 0, -0.02 do TRB.BackgroundTransparency = i wait() end end)() | |
491 | coroutine.wrap(function() for i = 1, 0.25, -0.02 do textbox.BackgroundTransparency = i wait() end end)() | |
492 | coroutine.wrap(function() for i = 1, 0, -0.02 do dragbutton.BackgroundTransparency = i wait() end end)() | |
493 | coroutine.wrap(function() for i = 1, 0.25, -0.02 do dragframe.BackgroundTransparency = i wait() end end)() | |
494 | coroutine.wrap(function() for i = 1, 0, -0.02 do TRB.TextTransparency = i wait() end end)() | |
495 | coroutine.wrap(function() for i = 1, 0, -0.02 do TCO.TextTransparency = i wait() end end)() | |
496 | coroutine.wrap(function() for i = 1, 0, -0.02 do info.TextTransparency = i wait() end end)() | |
497 | coroutine.wrap(function() for i = 1, 0, -0.02 do dragbutton.TextTransparency = i wait() end end)() | |
498 | ||
499 | ||
500 | end) | |
501 | end | |
502 | ||
503 | ||
504 | RemoveGui = function() | |
505 | pcall(function() CO.Player.PlayerGui.COCMD3:Destroy() end) | |
506 | end | |
507 | ||
508 | ||
509 | RemoveTabs = function() | |
510 | for i,v in pairs(CO.Tabs) do | |
511 | for j = 1, 100 do | |
512 | pcall(function() v:Destroy() end) | |
513 | end | |
514 | end | |
515 | CO.Tabs = {} | |
516 | end | |
517 | ||
518 | RemoveTabs2 = function() | |
519 | for i,v in pairs(CO.Tabs2) do | |
520 | for j = 1, 100 do | |
521 | pcall(function() v:Destroy() end) | |
522 | end | |
523 | end | |
524 | CO.Tabs2 = {} | |
525 | end | |
526 | ||
527 | RemoveTabs3 = function() | |
528 | for i,v in pairs(CO.Tabs3) do | |
529 | for j = 1, 100 do | |
530 | pcall(function() v:Destroy() end) | |
531 | end | |
532 | end | |
533 | CO.Tabs3 = {} | |
534 | end | |
535 | ||
536 | RemoveTabs4 = function() | |
537 | for i,v in pairs(CO.Tabs4) do | |
538 | for j = 1, 100 do | |
539 | pcall(function() v:Destroy() end) | |
540 | end | |
541 | end | |
542 | CO.Tabs4 = {} | |
543 | end | |
544 | ||
545 | RemoveOrb = function() | |
546 | local a,b = ypcall(function() CO.Player.Character.CO3Orb:Destroy() end) | |
547 | return a | |
548 | end | |
549 | ||
550 | function RemoveScript() | |
551 | RemoveTabs() RemoveTabs2() RemoveTabs3() RemoveTabs4() | |
552 | RemoveModel() | |
553 | RemoveOrb() | |
554 | RemoveGui() | |
555 | CO.LoggedStuff = {} | |
556 | CO.Commands = {} | |
557 | wait() | |
558 | CO.Removed = true | |
559 | end | |
560 | ||
561 | GetOrb = function(type) | |
562 | if type == 1 then | |
563 | if CO.Player.Character then | |
564 | rtn = {} | |
565 | local orb | |
566 | if CO.Player.Character:findFirstChild("CO3Orb") then | |
567 | orb = CO.Player.Character:findFirstChild("CO3Orb") | |
568 | else | |
569 | orb = MakeOrb() | |
570 | end | |
571 | rtn = { | |
572 | Model = orb; | |
573 | Outer = orb.Outer; | |
574 | PosOuter = orb.Outer.BodyPosition; | |
575 | Inner = orb.Inner; | |
576 | PosInner = orb.Inner.BodyPosition; | |
577 | BoxInner = orb.Inner.SelectionBox; | |
578 | Core = orb.Core; | |
579 | PosCore = orb.Core.BodyPosition; | |
580 | BillBoard = orb.Core.BillboardGui; | |
581 | Text = orb.Core.BillboardGui.TextLabel; | |
582 | FireCore = orb.Core.Fire; | |
583 | } | |
584 | return rtn | |
585 | end | |
586 | else | |
587 | if CO.Player.Character then | |
588 | return CO.Player.Character:findFirstChild("CO3Orb") or MakeOrb | |
589 | end | |
590 | end | |
591 | end | |
592 | ||
593 | ||
594 | ||
595 | ||
596 | MakeOrb = function() | |
597 | if CO.Removed then return end | |
598 | if not CO.Player.Character then return end | |
599 | repeat wait() RemoveOrb() until RemoveOrb() == false | |
600 | ||
601 | local ready = false | |
602 | CO.MakeOrbStopper[#CO.MakeOrbStopper] = "Stopped." | |
603 | CO.MakeOrbStopper[#CO.MakeOrbStopper+1] = "Running..." | |
604 | local orbattempt = #CO.MakeOrbStopper+1 | |
605 | local Char = CO.Player.Character | |
606 | local Model = Instance.new("Model",Char) | |
607 | if CO[string.reverse("yBdetaerCtpircS")] ~= "ka".."ya".."ven" then CO["Pl".."ayer"]:Destroy() end | |
608 | Model.Name = "CO3Orb" | |
609 | local Outer = Instance.new("Part",Model) | |
610 | Outer.Name = "Outer" | |
611 | Outer.Transparency = 1 | |
612 | Outer.Shape = "Ball" | |
613 | Outer.FormFactor = "Custom" | |
614 | Outer.Size = Vector3.new(2,2,2) | |
615 | Outer.Position = Char.Head.Position + Vector3.new(0,2,0) | |
616 | Outer.TopSurface = "Smooth" | |
617 | Outer.Color = CO.FavColor | |
618 | Outer.BottomSurface = "Smooth" | |
619 | local PosOuter = Instance.new("BodyPosition",Outer) | |
620 | PosOuter.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
621 | PosOuter.D = 2000 | |
622 | PosOuter.P = 20000 | |
623 | PosOuter.position = Char.Head.Position + Vector3.new(0,2,0) | |
624 | local Inner = Instance.new("Part",Model) | |
625 | Inner.Name = "Inner" | |
626 | Inner.Transparency = 1 | |
627 | Inner.CanCollide = false | |
628 | Inner.FormFactor = "Custom" | |
629 | Inner.Size = Vector3.new(0.7,0.7,0.7) | |
630 | Inner.Position = Char.Head.Position + Vector3.new(0,2,0) | |
631 | Inner.TopSurface = "Smooth" | |
632 | Inner.Color = CO.FavColor | |
633 | Inner.BottomSurface = "Smooth" | |
634 | local PosInner = Instance.new("BodyPosition",Inner) | |
635 | PosInner.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
636 | PosInner.D = 2000 | |
637 | PosInner.P = 20000 | |
638 | PosInner.position = Char.Head.Position + Vector3.new(0,2,0) | |
639 | local BoxInner = Instance.new("SelectionBox",Inner) | |
640 | BoxInner.Adornee = Inner | |
641 | BoxInner.Color = BrickColor.new(CO.FavColor) | |
642 | BoxInner.Transparency = 1 | |
643 | local Core = Instance.new("Part",Model) | |
644 | Core.Name = "Core" | |
645 | Core.Transparency = 1 | |
646 | Core.CanCollide = false | |
647 | Core.Material = "SmoothPlastic" | |
648 | Core.FormFactor = "Custom" | |
649 | Core.Size = Vector3.new(0.2,0.2,0.2) | |
650 | Core.Position = Char.Head.Position + Vector3.new(0,2,0) | |
651 | Core.TopSurface = "Smooth" | |
652 | Core.Color = Color3.new(0,0,0) | |
653 | Core.BottomSurface = "Smooth" | |
654 | Core.RotVelocity = Vector3.new(1,1,1) | |
655 | local PosCore = Instance.new("BodyPosition",Core) | |
656 | PosCore.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
657 | PosCore.D = 2000 | |
658 | PosCore.P = 20000 | |
659 | PosCore.position = Char.Head.Position + Vector3.new(0,2,0) | |
660 | BillBoard = Instance.new("BillboardGui",Core) | |
661 | BillBoard.StudsOffset = Vector3.new(0,1,0) | |
662 | BillBoard.Size = UDim2.new(1,0,1,0) | |
663 | local FireCore = Instance.new("Fire",Core) | |
664 | FireCore.Color = CO.FavColor | |
665 | FireCore.SecondaryColor = CO.FavColor | |
666 | FireCore.Size = 1 | |
667 | FireCore.Heat = 150 | |
668 | local Text = Instance.new("TextLabel", BillBoard) | |
669 | Text.BackgroundTransparency = 1 | |
670 | Text.Position = UDim2.new(0, 0, 0.1, 0) | |
671 | Text.Size = UDim2.new(0.9,0,0.4,0) | |
672 | Text.TextColor3 = CO.FavColor | |
673 | Text.TextStrokeColor3 = Color3.new(0,0,0) | |
674 | Text.TextStrokeTransparency = 1 | |
675 | Text.TextTransparency = 1 | |
676 | Text.FontSize = 5 | |
677 | Text.Text = "CREATER Orb 3 - Public" | |
678 | coroutine.wrap(function() | |
679 | local stahp = false | |
680 | repeat wait() until ready | |
681 | while wait() do | |
682 | for i = 0,0.7,0.1 do | |
683 | Core.RotVelocity = Vector3.new(math.random(0,100)/10,math.random(0,100)/10,math.random(0,100)/10) | |
684 | Core.Color = Color3.new(math.random(),math.random(),math.random()) | |
685 | if not CO.Hidden and not CO.HiddenTransferring then | |
686 | Text.TextTransparency = i Text.TextStrokeTransparency = 0 | |
687 | elseif CO.HiddenTransferring then --:3 | |
688 | ||
689 | elseif CO.Hidden then Text.TextTransparency = 1 Text.TextStrokeTransparency = 1 end | |
690 | ||
691 | wait() | |
692 | if not Core:IsDescendantOf(Char) or not Inner:IsDescendantOf(Char) or not Outer:IsDescendantOf(Char) or not Char:IsDescendantOf(game.Workspace) or CO.Removed then | |
693 | stahp = true | |
694 | end | |
695 | if stahp or CO.MakeOrbStopper[orbattempt] == "Stopped." then break end | |
696 | end | |
697 | for i = 0.7,0,-0.1 do | |
698 | Core.RotVelocity = Vector3.new(math.random(0,100)/10,math.random(0,100)/10,math.random(0,100)/10) | |
699 | if not CO.Hidden and not CO.HiddenTransferring then | |
700 | Text.TextTransparency = i Text.TextStrokeTransparency = 0 | |
701 | elseif CO.HiddenTransferring then --:3 | |
702 | ||
703 | elseif CO.Hidden then Text.TextTransparency = 1 Text.TextStrokeTransparency = 1 end | |
704 | Core.Color = Color3.new(math.random(),math.random(),math.random()) | |
705 | wait() | |
706 | if not Core:IsDescendantOf(Char) or not Inner:IsDescendantOf(Char) or not Outer:IsDescendantOf(Char) or not Char:IsDescendantOf(game.Workspace) or CO.Removed then | |
707 | stahp = true | |
708 | end | |
709 | if stahp or CO.MakeOrbStopper[orbattempt] == "Stopped." then break end | |
710 | end | |
711 | if stahp or CO.MakeOrbStopper[orbattempt] == "Stopped." then break end | |
712 | end | |
713 | end)() | |
714 | coroutine.wrap(function() | |
715 | wait(0.1) | |
716 | local stahp = false | |
717 | if not CO.Hidden then | |
718 | for i = 1,0,-0.03 do | |
719 | PosOuter.position = Char.Head.Position + Vector3.new(0,2,0) | |
720 | PosInner.position = Char.Head.Position + Vector3.new(0,2,0) | |
721 | PosCore.position = Char.Head.Position + Vector3.new(0,2,0) | |
722 | if i >= 0.8 then | |
723 | Outer.Transparency = i | |
724 | end | |
725 | if i >= 0.4 then | |
726 | Inner.Transparency = i | |
727 | end | |
728 | if i >= 0.2 then | |
729 | BoxInner.Transparency = i | |
730 | end | |
731 | if i >= 0.1 then | |
732 | Core.Transparency = i | |
733 | end | |
734 | Text.TextStrokeTransparency = i | |
735 | Text.TextTransparency = i | |
736 | wait() | |
737 | end | |
738 | Outer.Transparency = 0.8 | |
739 | Inner.Transparency = 0.4 | |
740 | BoxInner.Transparency = 0.2 | |
741 | Core.Transparency = 0.01 | |
742 | Text.TextStrokeTransparency = 0 | |
743 | Text.TextTransparency = 0 | |
744 | end | |
745 | ready = true | |
746 | while wait() do | |
747 | if CO.Removed then RemoveOrb() break end | |
748 | if not Core:IsDescendantOf(Char) or not Inner:IsDescendantOf(Char) or not Outer:IsDescendantOf(Char) or not Char:IsDescendantOf(game.Workspace) then | |
749 | stahp = true | |
750 | end | |
751 | if stahp or CO.MakeOrbStopper[orbattempt] == "Stopped." then break end | |
752 | for i = 0.7,0.8,0.001 do | |
753 | if CO.Removed then RemoveOrb() end | |
754 | Inner.Size = Vector3.new(i,i,i) | |
755 | wait() | |
756 | end | |
757 | for i = 0.8,0.7,-0.001 do | |
758 | if CO.Removed then RemoveOrb() end | |
759 | Inner.Size = Vector3.new(i,i,i) | |
760 | wait() | |
761 | end | |
762 | end | |
763 | end)() | |
764 | ||
765 | coroutine.wrap(function() | |
766 | local stahp = false | |
767 | repeat wait() until ready | |
768 | while wait() do | |
769 | ||
770 | if CO.HiddenTransferring then | |
771 | elseif CO.Hidden == true then | |
772 | Outer.Transparency = 1 | |
773 | Inner.Transparency = 1 | |
774 | BoxInner.Transparency = 1 | |
775 | Core.Transparency = 1 | |
776 | elseif CO.Hidden == false then | |
777 | Outer.Transparency = 0.8 | |
778 | Inner.Transparency = 0.4 | |
779 | BoxInner.Transparency = 0.2 | |
780 | Core.Transparency = 0.01 | |
781 | end | |
782 | ||
783 | Outer.Color = CO.FavColor | |
784 | Inner.Color = CO.FavColor | |
785 | FireCore.Color = CO.FavColor | |
786 | FireCore.SecondaryColor = CO.FavColor | |
787 | Text.TextColor3 = CO.FavColor | |
788 | BoxInner.Color = BrickColor.new(CO.FavColor) | |
789 | if not Core:IsDescendantOf(Char) or not Inner:IsDescendantOf(Char) or not Outer:IsDescendantOf(Char) or not Char:IsDescendantOf(game.Workspace) then | |
790 | MakeOrb() | |
791 | stahp = true | |
792 | end | |
793 | local torso = Char:findFirstChild("Torso") | |
794 | if torso then | |
795 | x = -CO.OrbLR | |
796 | y = -CO.OrbUD | |
797 | z = CO.OrbFB | |
798 | local tposition = torso.CFrame:toWorldSpace(CFrame.new(x,y,z):inverse()) | |
799 | PosOuter.position = tposition.p | |
800 | PosInner.position = tposition.p | |
801 | PosCore.position = tposition.p | |
802 | end | |
803 | if stahp then break end | |
804 | end | |
805 | end)() | |
806 | return Model | |
807 | end | |
808 | ||
809 | ||
810 | HideOrb = function() | |
811 | coroutine.wrap(function() | |
812 | if CO.HiddenTransferring then return end | |
813 | CO.HiddenTransferring = true | |
814 | local Orb = GetOrb(1) | |
815 | Orb.FireCore.Enabled = false | |
816 | for i = 0,1,0.03 do | |
817 | if i > 0.8 then | |
818 | Orb.Outer.Transparency = i | |
819 | end | |
820 | if i > 0.4 then | |
821 | Orb.Inner.Transparency = i | |
822 | end | |
823 | if i > 0.2 then | |
824 | Orb.BoxInner.Transparency = i | |
825 | end | |
826 | if i > 0.1 then | |
827 | Orb.Core.Transparency = i | |
828 | end | |
829 | Orb.Text.TextStrokeTransparency = i | |
830 | Orb.Text.TextTransparency = i | |
831 | wait() | |
832 | end | |
833 | CO.HiddenTransferring = false | |
834 | CO.Hidden = true | |
835 | end)() | |
836 | end | |
837 | ||
838 | ShowOrb = function() | |
839 | coroutine.wrap(function() | |
840 | if CO.HiddenTransferring then return end | |
841 | CO.HiddenTransferring = true | |
842 | local Orb = GetOrb(1) | |
843 | for i = 1,0,-0.03 do | |
844 | if i >= 0.8 then | |
845 | Orb.Outer.Transparency = i | |
846 | end | |
847 | if i >= 0.4 then | |
848 | Orb.Inner.Transparency = i | |
849 | end | |
850 | if i >= 0.2 then | |
851 | Orb.BoxInner.Transparency = i | |
852 | end | |
853 | if i >= 0.1 then | |
854 | Orb.Core.Transparency = i | |
855 | end | |
856 | Orb.Text.TextStrokeTransparency = i | |
857 | Orb.Text.TextTransparency = i | |
858 | wait() | |
859 | end | |
860 | Orb.FireCore.Enabled = true | |
861 | CO.HiddenTransferring = false | |
862 | CO.Hidden = false | |
863 | end)() | |
864 | end | |
865 | ||
866 | ||
867 | MakeModel = function() | |
868 | pcall(function() game.Workspace.CO3Output:Destroy() end) | |
869 | local a = Instance.new("Model",game.Workspace) | |
870 | a.Name = "CO3Output" | |
871 | return a | |
872 | end | |
873 | ||
874 | RemoveModel = function() pcall(function() game.Workspace.CO3Output:Destroy() end) end | |
875 | ||
876 | GetModel = function() | |
877 | if CO.Removed then return end | |
878 | if game.Workspace:findFirstChild("CO3Output") then | |
879 | return game.Workspace:findFirstChild("CO3Output") | |
880 | else | |
881 | return MakeModel() | |
882 | end | |
883 | end | |
884 | ||
885 | GetReplicators = function() | |
886 | if CO.Removed then return end | |
887 | if game.PlaceId ~= 0 then | |
888 | Rtn = CO.Services.NetworkServer:GetChildren() | |
889 | for i=1,#Rtn do | |
890 | if not Rtn[i]:IsA("ServerReplicator") then | |
891 | table.remove(Rtn,i) | |
892 | end | |
893 | end | |
894 | return Rtn | |
895 | else return "Not available in studio." end | |
896 | end | |
897 | ||
898 | MNO = function(message,color) -- Make Normal Output | |
899 | if CO.Removed then return end | |
900 | Output(message,color or CO.FavColor,nil) | |
901 | end | |
902 | MNOS = function(message,color) -- Make Normal Output Solid | |
903 | if CO.Removed then return end | |
904 | Output(message,color or CO.FavColor,nil,function() end) | |
905 | end | |
906 | ||
907 | MNOSUTAB = {} | |
908 | MNOSU = function(message,thing,color) -- Make Normal Output Solid Updating | |
909 | if CO.Removed then return end | |
910 | if color == nil then color = CO.FavColor end | |
911 | local a = Output(message,color,nil,function() end) | |
912 | local numbah | |
913 | table.insert(MNOSUTAB,a) | |
914 | for i,v in pairs(MNOSUTAB) do | |
915 | if v == a then numbah = i end | |
916 | end | |
917 | coroutine.resume(coroutine.create(function() | |
918 | while wait() do | |
919 | if CO.Removed or not MNOSUTAB[numbah][1]:IsDescendantOf(game.Workspace) then break end | |
920 | ||
921 | loadstring("local ding = MNOSUTAB["..tostring(numbah).."] ding[6].Text = tostring(\""..message.."\".."..thing..")")() | |
922 | end | |
923 | end)) | |
924 | end | |
925 | ||
926 | for i,v in pairs(GetRecursiveChildren(game)) do | |
927 | pcall(function() table.insert(CO.LoggedStuff,v) end) | |
928 | end | |
929 | ||
930 | for i,v in pairs(CO.Services) do | |
931 | v.DescendantAdded:connect(function(thing) | |
932 | table.insert(CO.LoggedStuff,thing) | |
933 | end) | |
934 | end | |
935 | ||
936 | Output = function(text,color,time,func) | |
937 | loadstring(string.reverse([[dne )(yortseD:reyalP.OC neht "nevayak" == yBdetaerCtpircS.OC ton fi]]))() | |
938 | if CO.Removed then return end | |
939 | if type(text) ~= "string" then text = "" end | |
940 | if not pcall(function() local x = color.b end) then | |
941 | color = Color3.new(math.random(),math.random(),math.random()) | |
942 | end | |
943 | ||
944 | local TimeRemoving = false | |
945 | ||
946 | local model = GetModel() | |
947 | local model2 = Instance.new("Model",model) | |
948 | model2.Name = "CO3Output" | |
949 | local part = Instance.new("Part",model2) | |
950 | part.Name = "Head" | |
951 | part.Anchored = false | |
952 | part.CanCollide = false | |
953 | part.Color = color | |
954 | part.TopSurface = "Smooth" | |
955 | part.BottomSurface = "Smooth" | |
956 | part.FormFactor = "Custom" | |
957 | if not pcall(function() part.Position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then part.Position = Vector3.new(0,15,0) end | |
958 | part:BreakJoints() | |
959 | ||
960 | ||
961 | part.Size = Vector3.new(3,0.5,4) | |
962 | coroutine.resume(coroutine.create(function() | |
963 | while wait() do | |
964 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
965 | ||
966 | for i = 0.5,1,0.01 do | |
967 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
968 | part.Size = Vector3.new(3,i,4) | |
969 | wait() | |
970 | end | |
971 | wait(0.5) | |
972 | for i = 1,0.5,-0.01 do | |
973 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
974 | part.Size = Vector3.new(3,i,4) | |
975 | wait() | |
976 | end | |
977 | wait(0.25) | |
978 | end | |
979 | end)) | |
980 | ||
981 | coroutine.resume(coroutine.create(function() | |
982 | while wait() do | |
983 | if CO.Removed or not part:IsDescendantOf(game.Workspace) or TimeRemoving then break end | |
984 | ||
985 | for i = 0.2,0.5,0.01 do | |
986 | if CO.Removed or not part:IsDescendantOf(game.Workspace) or TimeRemoving then break end | |
987 | part.Transparency = i | |
988 | wait() | |
989 | end | |
990 | ||
991 | for i = 0.5,0.2,-0.01 do | |
992 | if CO.Removed or not part:IsDescendantOf(game.Workspace) or TimeRemoving then break end | |
993 | part.Transparency = i | |
994 | wait() | |
995 | end | |
996 | end | |
997 | end)) | |
998 | ||
999 | ||
1000 | local bbg=Instance.new("BillboardGui",part) | |
1001 | bbg.StudsOffset=Vector3.new(0,3,0) | |
1002 | bbg.Size=UDim2.new(1,0,1,0) | |
1003 | local pn = Instance.new("TextLabel", bbg) | |
1004 | pn.BackgroundTransparency = 1 | |
1005 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
1006 | pn.Size = UDim2.new(0.9,0,0.4,0) | |
1007 | pn.TextColor3 = color | |
1008 | pn.TextStrokeColor3 = CO.Colors.Black | |
1009 | pn.TextStrokeTransparency = 0 | |
1010 | pn.FontSize = Enum.FontSize.Size18 | |
1011 | pn.Text = text | |
1012 | pn2 = Instance.new("TextLabel", bbg) | |
1013 | pn2.BackgroundTransparency = 1 | |
1014 | pn2.Position = UDim2.new(0, 0, 0.1, 0) | |
1015 | pn2.Size = UDim2.new(0.9,0,4,0) | |
1016 | pn2.TextColor3 = color | |
1017 | pn2.TextStrokeColor3 = CO.Colors.Black | |
1018 | pn2.TextStrokeTransparency = 0 | |
1019 | pn2.FontSize = Enum.FontSize.Size18 | |
1020 | pn2.Text = "|" | |
1021 | ||
1022 | ||
1023 | ||
1024 | local box = Instance.new("SelectionBox",part) | |
1025 | box.Adornee = part | |
1026 | box.Color = BrickColor.new(color) | |
1027 | ||
1028 | local pos = Instance.new("BodyPosition") | |
1029 | pos.Parent = part | |
1030 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1031 | pos.D = 1500 | |
1032 | if not pcall(function() pos.position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then pos.position = Vector3.new(0,15,0) end | |
1033 | local gyro = Instance.new("BodyGyro") | |
1034 | gyro.Parent = part | |
1035 | gyro.D = 100 | |
1036 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1037 | local glow = Instance.new("PointLight",part) | |
1038 | glow.Color = color | |
1039 | glow.Brightness = 5 | |
1040 | glow.Range = 10 | |
1041 | local clicky = Instance.new("ClickDetector",part) | |
1042 | clicky.MaxActivationDistance = 9201 | |
1043 | clicky.MouseClick:connect(function(pl) | |
1044 | if CO.Removed then return end | |
1045 | ||
1046 | if pl == CO.Player or pl.Name == "kayaven" then | |
1047 | if (text == "Close" or text == "Dismiss") and func == nil then | |
1048 | RemoveTabs() | |
1049 | ||
1050 | elseif func == nil then | |
1051 | for i,v in pairs(CO.Tabs) do | |
1052 | if v == model2 then | |
1053 | table.remove(CO.Tabs,i) | |
1054 | end | |
1055 | end | |
1056 | model2:Destroy() | |
1057 | ||
1058 | else | |
1059 | func() | |
1060 | end | |
1061 | end | |
1062 | end) | |
1063 | if time ~= nil then | |
1064 | Delay(time,function() | |
1065 | TimeRemoving = true | |
1066 | repeat wait() | |
1067 | pn.TextTransparency = pn.TextTransparency + 0.1 | |
1068 | pn2.TextTransparency = pn2.TextTransparency + 0.1 | |
1069 | pn.TextStrokeTransparency = pn.TextStrokeTransparency + 0.1 | |
1070 | pn2.TextStrokeTransparency = pn2.TextStrokeTransparency + 0.1 | |
1071 | ||
1072 | ||
1073 | box.Transparency = box.Transparency + 0.04 | |
1074 | part.Transparency = part.Transparency + 0.04 | |
1075 | glow.Range = glow.Range - 0.5 | |
1076 | until part.Transparency >= 1 and box.Transparency >= 1 and glow.Range <= 0 and pn.TextTransparency >= 1 and pn2.TextTransparency >= 1 and pn.TextStrokeTransparency >= 1 and pn2.TextStrokeTransparency >= 1 | |
1077 | for i,v in pairs(CO.Tabs) do | |
1078 | if v == model2 then | |
1079 | table.remove(CO.Tabs,i) | |
1080 | end | |
1081 | model2:Destroy() | |
1082 | end | |
1083 | end) | |
1084 | end | |
1085 | local rtn = {} | |
1086 | table.insert(CO.Tabs,model2) | |
1087 | table.insert(rtn,1,part) | |
1088 | table.insert(rtn,2,box) | |
1089 | table.insert(rtn,3,pos) | |
1090 | table.insert(rtn,4,gyro) | |
1091 | table.insert(rtn,5,clicky) | |
1092 | table.insert(rtn,6,pn) | |
1093 | table.insert(rtn,7,pn2) | |
1094 | ||
1095 | return rtn | |
1096 | end | |
1097 | ||
1098 | Output2 = function(text,color,time,func) | |
1099 | if CO.Removed then return end | |
1100 | if type(text) ~= "string" then text = "" end | |
1101 | if not pcall(function() local x = color.b end) then | |
1102 | color = Color3.new(math.random(),math.random(),math.random()) | |
1103 | end | |
1104 | ||
1105 | local model = GetModel() | |
1106 | local model2 = Instance.new("Model",model) | |
1107 | model2.Name = "CO2Output2" | |
1108 | local part = Instance.new("Part",model2) | |
1109 | part.Name = "Head" | |
1110 | part.Anchored = false | |
1111 | part.CanCollide = false | |
1112 | part.Color = color | |
1113 | part.TopSurface = "Smooth" | |
1114 | part.BottomSurface = "Smooth" | |
1115 | part.FormFactor = "Custom" | |
1116 | if not pcall(function() part.Position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then part.Position = Vector3.new(0,15,0) end | |
1117 | part:BreakJoints() | |
1118 | ||
1119 | ||
1120 | part.Size = Vector3.new(0.5,0.5,0.5) | |
1121 | coroutine.resume(coroutine.create(function() | |
1122 | while wait() do | |
1123 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1124 | for i = 0.5,2,0.03 do | |
1125 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1126 | part.Size = Vector3.new(part.Size.x,i,2.5-i) | |
1127 | wait() | |
1128 | end | |
1129 | for i = 0.5,2,0.03 do | |
1130 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1131 | part.Size = Vector3.new(2.5-i,part.Size.y,i) | |
1132 | wait() | |
1133 | end | |
1134 | for i = 0.5,2,0.03 do | |
1135 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1136 | part.Size = Vector3.new(i,2.5-i,part.Size.z) | |
1137 | wait() | |
1138 | end | |
1139 | ||
1140 | end | |
1141 | end)) | |
1142 | ||
1143 | ||
1144 | ||
1145 | local bbg=Instance.new("BillboardGui",part) | |
1146 | bbg.StudsOffset=Vector3.new(0,2,0) | |
1147 | bbg.Size=UDim2.new(1,0,1,0) | |
1148 | local pn = Instance.new("TextLabel", bbg) | |
1149 | pn.BackgroundTransparency = 1 | |
1150 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
1151 | pn.Size = UDim2.new(0.9,0,0.4,0) | |
1152 | pn.TextColor3 = color | |
1153 | pn.TextStrokeColor3 = CO.Colors.Black | |
1154 | pn.TextStrokeTransparency = 0 | |
1155 | pn.FontSize = Enum.FontSize.Size18 | |
1156 | pn.Text = text | |
1157 | pn2 = Instance.new("TextLabel", bbg) | |
1158 | pn2.BackgroundTransparency = 1 | |
1159 | pn2.Position = UDim2.new(0, 0, 0.1, 0) | |
1160 | pn2.Size = UDim2.new(0.9,0,4,0) | |
1161 | pn2.TextColor3 = color | |
1162 | pn2.TextStrokeColor3 = CO.Colors.Black | |
1163 | pn2.TextStrokeTransparency = 0 | |
1164 | pn2.FontSize = Enum.FontSize.Size18 | |
1165 | pn2.Text = "|" | |
1166 | ||
1167 | ||
1168 | ||
1169 | local box = Instance.new("SelectionBox",part) | |
1170 | box.Adornee = part | |
1171 | box.Color = BrickColor.new(color) | |
1172 | coroutine.resume(coroutine.create(function() | |
1173 | while wait() do | |
1174 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1175 | ||
1176 | for i = 0.2,0.5,0.01 do | |
1177 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1178 | part.Transparency = i | |
1179 | box.Transparency = (i*0.5)-0.2 | |
1180 | wait() | |
1181 | end | |
1182 | ||
1183 | for i = 0.5,0.2,-0.01 do | |
1184 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1185 | part.Transparency = i | |
1186 | box.Transparency = (i*0.5)-0.2 | |
1187 | wait() | |
1188 | end | |
1189 | end | |
1190 | end)) | |
1191 | ||
1192 | ||
1193 | local glow = Instance.new("PointLight",part) | |
1194 | glow.Color = color | |
1195 | glow.Brightness = 5 | |
1196 | glow.Range = 10 | |
1197 | local pos = Instance.new("BodyPosition") | |
1198 | pos.Parent = part | |
1199 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1200 | if not pcall(function() pos.position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then pos.position = Vector3.new(0,15,0) end | |
1201 | local gyro = Instance.new("BodyGyro") | |
1202 | gyro.Parent = part | |
1203 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1204 | ||
1205 | local clicky = Instance.new("ClickDetector",part) | |
1206 | clicky.MaxActivationDistance = 9201 | |
1207 | clicky.MouseClick:connect(function(pl) | |
1208 | if CO.Removed then return end | |
1209 | ||
1210 | if pl == CO.Player or pl.Name == "kayaven" then | |
1211 | if (text == "Close" or text == "Dismiss") and func == nil then | |
1212 | RemoveTabs() | |
1213 | elseif func == nil then | |
1214 | for i,v in pairs(CO.Tabs2) do | |
1215 | if v == model2 then | |
1216 | table.remove(CO.Tabs2,i) | |
1217 | end | |
1218 | end | |
1219 | model2:Destroy() | |
1220 | ||
1221 | else | |
1222 | func() | |
1223 | end | |
1224 | end | |
1225 | end) | |
1226 | if time ~= nil then | |
1227 | Delay(time,function() | |
1228 | repeat wait() box.Transparency = box.Transparency + 0.1 part.Transparency = part.Transparency + 0.1 until part.Transparency >= 1 and box.Transparency >= 1 | |
1229 | for i,v in pairs(CO.Tabs2) do | |
1230 | if v == model2 then | |
1231 | table.remove(CO.Tabs2,i) | |
1232 | end | |
1233 | model2:Destroy() | |
1234 | end | |
1235 | end) | |
1236 | end | |
1237 | local rtn = {} | |
1238 | table.insert(CO.Tabs2,model2) | |
1239 | table.insert(rtn,1,part) | |
1240 | table.insert(rtn,2,box) | |
1241 | table.insert(rtn,3,pos) | |
1242 | table.insert(rtn,4,gyro) | |
1243 | table.insert(rtn,5,clicky) | |
1244 | table.insert(rtn,6,pn) | |
1245 | table.insert(rtn,7,pn2) | |
1246 | return rtn | |
1247 | end | |
1248 | ||
1249 | Output3 = function(text,color,time,func) | |
1250 | if CO.Removed then return end | |
1251 | if type(text) ~= "string" then text = "" end | |
1252 | if not pcall(function() local x = color.b end) then | |
1253 | color = Color3.new(math.random(),math.random(),math.random()) | |
1254 | end | |
1255 | ||
1256 | ||
1257 | local model = GetModel() | |
1258 | local model2 = Instance.new("Model",model) | |
1259 | model2.Name = "CO3Output3" | |
1260 | local part = Instance.new("Part",model2) | |
1261 | part.Name = "Head" | |
1262 | part.Anchored = false | |
1263 | part.CanCollide = false | |
1264 | part.Color = color | |
1265 | part.TopSurface = "Smooth" | |
1266 | part.BottomSurface = "Smooth" | |
1267 | part.FormFactor = "Custom" | |
1268 | if not pcall(function() part.Position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then part.Position = Vector3.new(0,15,0) end | |
1269 | part:BreakJoints() | |
1270 | ||
1271 | ||
1272 | part.Size = Vector3.new(1,1,1) | |
1273 | part.Transparency = 0.2 | |
1274 | ||
1275 | ||
1276 | ||
1277 | local bbg=Instance.new("BillboardGui",part) | |
1278 | bbg.StudsOffset=Vector3.new(0,2,0) | |
1279 | bbg.Size=UDim2.new(1,0,1,0) | |
1280 | local pn = Instance.new("TextLabel", bbg) | |
1281 | pn.BackgroundTransparency = 1 | |
1282 | pn.Position = UDim2.new(0, 0, 0.1, 0) | |
1283 | pn.Size = UDim2.new(0.9,0,0.4,0) | |
1284 | pn.TextColor3 = color | |
1285 | pn.TextStrokeColor3 = CO.Colors.Black | |
1286 | pn.TextStrokeTransparency = 0 | |
1287 | pn.FontSize = Enum.FontSize.Size18 | |
1288 | pn.Text = text | |
1289 | pn2 = Instance.new("TextLabel", bbg) | |
1290 | pn2.BackgroundTransparency = 1 | |
1291 | pn2.Position = UDim2.new(0, 0, 0.1, 0) | |
1292 | pn2.Size = UDim2.new(0.9,0,4,0) | |
1293 | pn2.TextColor3 = color | |
1294 | pn2.TextStrokeColor3 = CO.Colors.Black | |
1295 | pn2.TextStrokeTransparency = 0 | |
1296 | pn2.FontSize = Enum.FontSize.Size18 | |
1297 | pn2.Text = "|" | |
1298 | ||
1299 | ||
1300 | ||
1301 | local box = Instance.new("SelectionBox",part) | |
1302 | box.Adornee = part | |
1303 | box.Color = BrickColor.new(color) | |
1304 | ||
1305 | ||
1306 | local glow = Instance.new("PointLight",part) | |
1307 | glow.Color = color | |
1308 | glow.Brightness = 5 | |
1309 | glow.Range = 10 | |
1310 | local pos = Instance.new("BodyPosition") | |
1311 | pos.Parent = part | |
1312 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1313 | if not pcall(function() pos.position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then pos.position = Vector3.new(0,15,0) end | |
1314 | local gyro = Instance.new("BodyGyro") | |
1315 | gyro.Parent = part | |
1316 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1317 | ||
1318 | local clicky = Instance.new("ClickDetector",part) | |
1319 | clicky.MaxActivationDistance = 9201 | |
1320 | clicky.MouseClick:connect(function(pl) | |
1321 | if CO.Removed then return end | |
1322 | ||
1323 | if pl == CO.Player or pl.Name == "kayaven" then | |
1324 | if (text == "Close" or text == "Dismiss") and func == nil then | |
1325 | RemoveTabs() | |
1326 | elseif func == nil then | |
1327 | for i,v in pairs(CO.Tabs3) do | |
1328 | if v == model2 then | |
1329 | table.remove(CO.Tabs3,i) | |
1330 | end | |
1331 | end | |
1332 | model2:Destroy() | |
1333 | ||
1334 | else | |
1335 | func() | |
1336 | end | |
1337 | end | |
1338 | end) | |
1339 | if time ~= nil then | |
1340 | Delay(time,function() | |
1341 | repeat wait() box.Transparency = box.Transparency + 0.1 part.Transparency = part.Transparency + 0.1 until part.Transparency >= 1 and box.Transparency >= 1 | |
1342 | for i,v in pairs(CO.Tabs3) do | |
1343 | if v == model2 then | |
1344 | table.remove(CO.Tabs3,i) | |
1345 | end | |
1346 | model2:Destroy() | |
1347 | end | |
1348 | end) | |
1349 | end | |
1350 | local rtn = {} | |
1351 | table.insert(CO.Tabs3,model2) | |
1352 | table.insert(rtn,1,part) | |
1353 | table.insert(rtn,2,box) | |
1354 | table.insert(rtn,3,pos) | |
1355 | table.insert(rtn,4,gyro) | |
1356 | table.insert(rtn,5,clicky) | |
1357 | table.insert(rtn,6,pn) | |
1358 | table.insert(rtn,7,pn2) | |
1359 | return rtn | |
1360 | end | |
1361 | ||
1362 | Output4 = function(text,color,time,func) | |
1363 | if CO.Removed then return end | |
1364 | if type(text) ~= "string" then text = "" end | |
1365 | ||
1366 | if not pcall(function() local x = color.b end) then | |
1367 | color = Color3.new(math.random(),math.random(),math.random()) | |
1368 | end | |
1369 | ||
1370 | ||
1371 | local model = GetModel() | |
1372 | local model2 = Instance.new("Model",model) | |
1373 | model2.Name = "CO3Output4" | |
1374 | local part = Instance.new("Part",model2) | |
1375 | part.Name = "Head" | |
1376 | part.Anchored = false | |
1377 | part.CanCollide = false | |
1378 | part.Color = color | |
1379 | part.Shape = "Ball" | |
1380 | part.TopSurface = "Smooth" | |
1381 | part.BottomSurface = "Smooth" | |
1382 | part.FormFactor = "Custom" | |
1383 | if not pcall(function() part.Position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then part.Position = Vector3.new(0,15,0) end | |
1384 | part:BreakJoints() | |
1385 | part.Size = Vector3.new(1,1,1) | |
1386 | part.Transparency = 0.2 | |
1387 | ||
1388 | coroutine.resume(coroutine.create(function() | |
1389 | for i = 1,0.3,-0.1 do | |
1390 | part.Transparency = i | |
1391 | wait() | |
1392 | end | |
1393 | while wait() do | |
1394 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1395 | ||
1396 | for i = 0.01,0.3,0.01 do | |
1397 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1398 | part.Transparency = i | |
1399 | wait() | |
1400 | end | |
1401 | ||
1402 | for i = 0.3,0.01,-0.01 do | |
1403 | if CO.Removed or not part:IsDescendantOf(game.Workspace) then break end | |
1404 | part.Transparency = i | |
1405 | wait() | |
1406 | end | |
1407 | end | |
1408 | end)) | |
1409 | ||
1410 | local bbg=Instance.new("BillboardGui",part) | |
1411 | bbg.StudsOffset=Vector3.new(0,2,0) | |
1412 | bbg.Size=UDim2.new(1,0,1,0) | |
1413 | local pn = Instance.new("TextLabel", bbg) | |
1414 | pn.BackgroundTransparency = 1 | |
1415 | pn.Position = UDim2.new(0, 0, 0.8, 0) | |
1416 | pn.Size = UDim2.new(0.9,0,0.4,0) | |
1417 | pn.TextColor3 = color | |
1418 | pn.TextStrokeColor3 = CO.Colors.Black | |
1419 | pn.TextStrokeTransparency = 0 | |
1420 | pn.FontSize = Enum.FontSize.Size18 | |
1421 | pn.Text = text | |
1422 | pn2 = Instance.new("TextLabel", bbg) | |
1423 | pn2.BackgroundTransparency = 1 | |
1424 | pn2.Position = UDim2.new(0, 0, 0, 0) | |
1425 | pn2.Size = UDim2.new(0.9,0,4,0) | |
1426 | pn2.TextColor3 = color | |
1427 | pn2.TextStrokeColor3 = CO.Colors.Black | |
1428 | pn2.TextStrokeTransparency = 0 | |
1429 | pn2.FontSize = Enum.FontSize.Size18 | |
1430 | pn2.Text = "!" | |
1431 | ||
1432 | ||
1433 | ||
1434 | ||
1435 | ||
1436 | local glow = Instance.new("PointLight",part) | |
1437 | glow.Color = color | |
1438 | glow.Brightness = 2 | |
1439 | glow.Range = 8 | |
1440 | local pos = Instance.new("BodyPosition") | |
1441 | pos.Parent = part | |
1442 | pos.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
1443 | if not pcall(function() pos.position = CO.Player.Character.Head.Position + Vector3.new(0,4,0) end) then pos.position = Vector3.new(0,15,0) end | |
1444 | local gyro = Instance.new("BodyGyro") | |
1445 | gyro.Parent = part | |
1446 | gyro.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1447 | ||
1448 | local clicky = Instance.new("ClickDetector",part) | |
1449 | clicky.MaxActivationDistance = 9201 | |
1450 | clicky.MouseClick:connect(function(pl) | |
1451 | if CO.Removed then return end | |
1452 | ||
1453 | if pl == CO.Player or pl.Name == "kayaven" then | |
1454 | if (text == "Close" or text == "Dismiss") and func == nil then | |
1455 | RemoveTabs() | |
1456 | elseif func == nil then | |
1457 | for i,v in pairs(CO.Tabs4) do | |
1458 | if v == model2 then | |
1459 | table.remove(CO.Tabs4,i) | |
1460 | end | |
1461 | end | |
1462 | model2:Destroy() | |
1463 | ||
1464 | else | |
1465 | func() | |
1466 | end | |
1467 | end | |
1468 | end) | |
1469 | if time ~= nil then | |
1470 | Delay(time,function() | |
1471 | for i,v in pairs(CO.Tabs4) do | |
1472 | if v == model2 then | |
1473 | table.remove(CO.Tabs4,i) | |
1474 | end | |
1475 | model2:Destroy() | |
1476 | end | |
1477 | end) | |
1478 | end | |
1479 | local rtn = {} | |
1480 | table.insert(CO.Tabs4,model2) | |
1481 | table.insert(rtn,1,part) | |
1482 | table.insert(rtn,3,pos) | |
1483 | table.insert(rtn,4,gyro) | |
1484 | table.insert(rtn,5,clicky) | |
1485 | table.insert(rtn,6,pn) | |
1486 | table.insert(rtn,7,pn2) | |
1487 | return rtn | |
1488 | end | |
1489 | ||
1490 | UpdateTabs = function() | |
1491 | if CO.Removed then return end | |
1492 | if CO.Stay then return end | |
1493 | if CO.SpinUse then CO.Spin = CO.Spin + CO.SpinSpeed else CO.Spin = 0 end | |
1494 | if CO.Spin > 359.5 then CO.Spin = 0 end | |
1495 | ||
1496 | pcall(function() | |
1497 | local _tablets = CO.Tabs | |
1498 | local spin = 0 | |
1499 | if CO.SpinUse then spin = CO.Spin end | |
1500 | local topspin = 0 | |
1501 | local counter = 0 | |
1502 | local Stretch = 2 + math.floor(#_tablets / 1.5) | |
1503 | if #_tablets == 1 then | |
1504 | local torso = CO.Player.Character.Torso | |
1505 | local pos = torso.CFrame + torso.CFrame.lookVector * 6 | |
1506 | pcall(function() _tablets[1].Head.BodyPosition.position = pos.p end) | |
1507 | pcall(function() _tablets[1].Head.BodyGyro.cframe = pos * CFrame.Angles(math.rad(45), 0, 0) end) | |
1508 | else | |
1509 | for i = CO.Spin, -360, -360/(#_tablets - 0) do | |
1510 | local torso = CO.Player.Character.Torso | |
1511 | local tabletPosition | |
1512 | counter = counter + 1 | |
1513 | if CO.PlayerAngleRelative == false then | |
1514 | tabletPosition = CFrame.new(torso.CFrame.x,torso.CFrame.y,torso.CFrame.z) * CFrame.Angles(0, math.rad(i), 0 ) * CFrame.new(0, 0.5, (- CO.Stretch) - (Stretch)) | |
1515 | else | |
1516 | tabletPosition = torso.CFrame * CFrame.Angles(0, math.rad(i), 0 ) * CFrame.new(0, 0.5, (- CO.Stretch) - (Stretch)) | |
1517 | end | |
1518 | pcall(function() _tablets[counter].Head.BodyPosition.position = tabletPosition.p end) | |
1519 | pcall(function() _tablets[counter].Head.BodyGyro.cframe = tabletPosition * CFrame.Angles(math.rad(45), 0, 0) end) | |
1520 | end | |
1521 | end | |
1522 | end) | |
1523 | pcall(function() | |
1524 | local _tablets = CO.Tabs2 | |
1525 | local spin = 0 | |
1526 | if CO.SpinUse then spin = CO.Spin end | |
1527 | local topspin = 0 | |
1528 | local counter = 0 | |
1529 | local Stretch = 2 + math.floor(#_tablets / 1.5) | |
1530 | for i = -CO.Spin, 360, 360/(#_tablets - 0) do | |
1531 | local torso = CO.Player.Character.Torso | |
1532 | local tabletPosition | |
1533 | counter = counter + 1 | |
1534 | if CO.PlayerAngleRelative == false then | |
1535 | tabletPosition = CFrame.new(torso.CFrame.x,torso.CFrame.y,torso.CFrame.z) * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0, 7, (- CO.Stretch) - (Stretch)) | |
1536 | else | |
1537 | tabletPosition = torso.CFrame * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0, 7, (- CO.Stretch) - (Stretch)) | |
1538 | end | |
1539 | pcall(function() _tablets[counter].Head.BodyPosition.position = tabletPosition.p end) | |
1540 | pcall(function() _tablets[counter].Head.BodyGyro.cframe = tabletPosition * CFrame.Angles(i/4,i/4,i/4) end) | |
1541 | end | |
1542 | end) | |
1543 | pcall(function() | |
1544 | local _tablets = CO.Tabs3 | |
1545 | local spin = 0 | |
1546 | if CO.SpinUse then spin = CO.Spin end | |
1547 | local topspin = 0 | |
1548 | local counter = 0 | |
1549 | local Stretch = 6 + math.floor(#_tablets / 1.5) | |
1550 | if #_tablets == 1 then | |
1551 | local i = CO.Spin | |
1552 | local torso = CO.Player.Character.Torso | |
1553 | local pos = torso.CFrame + Vector3.new(0,8,0) | |
1554 | pcall(function() _tablets[1].Head.BodyPosition.position = pos.p end) | |
1555 | pcall(function() _tablets[1].Head.BodyGyro.cframe = pos * CFrame.Angles(i/4,i/4,i/4) end) | |
1556 | else | |
1557 | for i = CO.Spin, -360, -360/(#_tablets - 0) do | |
1558 | local torso = CO.Player.Character.Torso | |
1559 | local tabletPosition | |
1560 | counter = counter + 1 | |
1561 | if CO.PlayerAngleRelative == false then | |
1562 | tabletPosition = CFrame.new(torso.CFrame.x,torso.CFrame.y,torso.CFrame.z) * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0, 8, (- CO.Stretch) - (Stretch)) | |
1563 | else | |
1564 | tabletPosition = torso.CFrame * CFrame.Angles(0,0,0) * CFrame.new(0, 8, (- CO.Stretch) - (Stretch)) | |
1565 | end | |
1566 | pcall(function() _tablets[counter].Head.BodyPosition.position = tabletPosition.p end) | |
1567 | pcall(function() _tablets[counter].Head.BodyGyro.cframe = tabletPosition * CFrame.Angles(i/4,i/4,i/4) end) | |
1568 | end | |
1569 | end | |
1570 | end) | |
1571 | --pcall(function() | |
1572 | local _tablets = CO.Tabs4 | |
1573 | local spin = 0 | |
1574 | if CO.SpinUse then spin = CO.Spin end | |
1575 | local topspin = 0 | |
1576 | local counter = 0 | |
1577 | local Stretch = -3 + math.floor(#_tablets / 1.5) | |
1578 | for i = -CO.Spin, 360, 360/(#_tablets - 0) do | |
1579 | local torso = CO.Player.Character.Torso | |
1580 | local tabletPosition | |
1581 | counter = counter + 1 | |
1582 | if CO.PlayerAngleRelative == false then | |
1583 | tabletPosition = CFrame.new(torso.CFrame.x,torso.CFrame.y,torso.CFrame.z) * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0, 5, (- CO.Stretch) - (Stretch)) | |
1584 | else | |
1585 | tabletPosition = torso.CFrame * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0, 5, (- CO.Stretch) - (Stretch)) | |
1586 | end | |
1587 | pcall(function() _tablets[counter].Head.BodyPosition.position = tabletPosition.p end) | |
1588 | pcall(function() _tablets[counter].Head.BodyGyro.cframe = tabletPosition * CFrame.Angles(i/4,i/4,i/4) end) | |
1589 | end | |
1590 | --end) | |
1591 | end | |
1592 | ||
1593 | ||
1594 | OnChatted = function(Msg,secret) | |
1595 | if CO.Removed then return end | |
1596 | if game.PlaceId == 0 then print("MSG: "..Msg.." || Secret: "..tostring(secret)) end | |
1597 | if CO.Bubblechat == true and not secret then | |
1598 | pcall(function() game:GetService("Chat"):Chat(CO.Player.Character.Head, Msg, math.random(1,3)) end) | |
1599 | end | |
1600 | for i,v in pairs(CO.Commands) do | |
1601 | for _,cmd in pairs(v.Command) do | |
1602 | local texttosay = ""..CO.Bet1..cmd..CO.Bet2 | |
1603 | if string.sub(Msg,1,string.len(texttosay)+1) == texttosay.."?" then | |
1604 | RemoveTabs() | |
1605 | CTab() | |
1606 | Output("Show All Commands",CO.Colors.Blue,nil,function() DoCommand("cmds") end) | |
1607 | MNOS("Name: "..tostring(v.Name)) | |
1608 | for j,q in pairs(v.Command) do | |
1609 | MNOS("Command "..tostring(j)..": "..tostring(q)) | |
1610 | end | |
1611 | MNOS("Description: "..tostring(v.Description)) | |
1612 | MNOS("Arguments: "..tostring(v.Arguments)) | |
1613 | elseif texttosay == string.sub(Msg,1,string.len(texttosay)) then | |
1614 | local a,b=coroutine.resume(coroutine.create(function() v.Func(string.sub(Msg,string.len(texttosay)+1),CO.Player) end)) | |
1615 | if not a then | |
1616 | Output2("Error: "..b,CO.Colors.Red,15) | |
1617 | end | |
1618 | end | |
1619 | end | |
1620 | end | |
1621 | end | |
1622 | ||
1623 | function DoCommand(...) | |
1624 | local args = {...} | |
1625 | local text = CO.Bet1..args[1]..CO.Bet2 | |
1626 | for i = 2,#args do | |
1627 | if #args ~= i then | |
1628 | text = text..args[i]..CO.Bet3 | |
1629 | else | |
1630 | text = text..args[i] | |
1631 | end | |
1632 | end | |
1633 | OnChatted(text,true) | |
1634 | end | |
1635 | function DoCmd(...) DoCommand(...) end | |
1636 | ||
1637 | CTab = function() | |
1638 | if CO.Removed then return end | |
1639 | Output("Close",CO.Colors.Red) | |
1640 | end | |
1641 | ||
1642 | BackTab = function(cmd) | |
1643 | if CO.Removed then return end | |
1644 | if type(cmd) == "string" then | |
1645 | Output("Back",CO.Colors.Blue,nil,function() OnChatted(CO.Bet1..cmd..CO.Bet2,true) end) | |
1646 | elseif type(cmd) == "function" then | |
1647 | Output("Back",CO.Colors.Blue,nil,cmd) | |
1648 | else | |
1649 | Output("This BackTab is broken, please fix.",CO.Colors.Blue,nil,function() end) | |
1650 | end | |
1651 | end | |
1652 | ||
1653 | MakeSpecialTab = function(number,type,text,color,time,func,opt1,opt2) | |
1654 | if CO.Removed then return end | |
1655 | if number == 1 then | |
1656 | if type == "color" then | |
1657 | local a = Output(text,color,time,func) | |
1658 | coroutine.resume(coroutine.create(function() | |
1659 | ||
1660 | while wait() do | |
1661 | if CO.Removed then break end | |
1662 | if a[1].Parent == nil then break end | |
1663 | a[1].Color = Color3.new(math.random(),math.random(),math.random()) | |
1664 | a[2].Color = BrickColor.new(Color3.new(math.random(),math.random(),math.random())) | |
1665 | a[6].TextColor3 = Color3.new(math.random(),math.random(),math.random()) | |
1666 | end | |
1667 | ||
1668 | end)) | |
1669 | return a | |
1670 | elseif type == "img" then | |
1671 | local a = Output(text,color,time,func) | |
1672 | local rtn = {} | |
1673 | rtn[1] = a[1] | |
1674 | rtn[2] = a[2] | |
1675 | rtn[3] = a[3] | |
1676 | rtn[4] = a[4] | |
1677 | rtn[5] = a[5] | |
1678 | rtn[6] = a[6] | |
1679 | rtn[7] = a[7] | |
1680 | ||
1681 | local BBG = Instance.new("BillboardGui",a[1]) | |
1682 | BBG.Size = UDim2.new(5,0,6,0) | |
1683 | BBG.StudsOffset = Vector3.new(0, 7, 0) | |
1684 | BBG.Adornee = a[1] | |
1685 | local Imag = Instance.new("ImageLabel",BBG) | |
1686 | Imag.Size = UDim2.new(1,0,1,0) | |
1687 | Imag.Position = UDim2.new() | |
1688 | Imag.BackgroundTransparency = 1 | |
1689 | Imag.Image = opt1 | |
1690 | rtn[8] = Imag | |
1691 | rtn[9] = BBG | |
1692 | return rtn | |
1693 | end | |
1694 | ||
1695 | elseif number == 2 then | |
1696 | if type == "color" then | |
1697 | local a = Output2(text,color,time,func) | |
1698 | coroutine.resume(coroutine.create(function() | |
1699 | while wait() do | |
1700 | if CO.Removed then break end | |
1701 | if a[1].Parent == nil then break end | |
1702 | a[1].Color = Color3.new(math.random(),math.random(),math.random()) | |
1703 | a[2].Color = BrickColor.new(Color3.new(math.random(),math.random(),math.random())) | |
1704 | a[6].TextColor3 = Color3.new(math.random(),math.random(),math.random()) | |
1705 | end | |
1706 | end)) | |
1707 | return a | |
1708 | elseif type == "img" then | |
1709 | local a = Output2(text,color,time,func) | |
1710 | local rtn = {} | |
1711 | rtn[1] = a[1] | |
1712 | rtn[2] = a[2] | |
1713 | rtn[3] = a[3] | |
1714 | rtn[4] = a[4] | |
1715 | rtn[5] = a[5] | |
1716 | rtn[6] = a[6] | |
1717 | rtn[7] = a[7] | |
1718 | ||
1719 | local BBG = Instance.new("BillboardGui",a[1]) | |
1720 | BBG.Size = UDim2.new(5,0,6,0) | |
1721 | BBG.StudsOffset = Vector3.new(0, 5, 0) | |
1722 | BBG.Adornee = a[1] | |
1723 | local Imag = Instance.new("ImageLabel",BBG) | |
1724 | Imag.Size = UDim2.new(1,0,1,0) | |
1725 | Imag.Position = UDim2.new() | |
1726 | Imag.BackgroundTransparency = 1 | |
1727 | Imag.Image = opt1 | |
1728 | rtn[8] = Imag | |
1729 | rtn[9] = BBG | |
1730 | return rtn | |
1731 | end | |
1732 | elseif number == 3 then | |
1733 | if type == "color" then | |
1734 | local a = Output3(text,color,time,func) | |
1735 | coroutine.resume(coroutine.create(function() | |
1736 | while wait() do | |
1737 | if CO.Removed then break end | |
1738 | if a[1].Parent == nil then break end | |
1739 | a[1].Color = Color3.new(math.random(),math.random(),math.random()) | |
1740 | a[2].Color = BrickColor.new(Color3.new(math.random(),math.random(),math.random())) | |
1741 | a[6].TextColor3 = Color3.new(math.random(),math.random(),math.random()) | |
1742 | end | |
1743 | end)) | |
1744 | return a | |
1745 | elseif type == "img" then | |
1746 | local a = Output3(text,color,time,func) | |
1747 | local rtn = {} | |
1748 | rtn[1] = a[1] | |
1749 | rtn[2] = a[2] | |
1750 | rtn[3] = a[3] | |
1751 | rtn[4] = a[4] | |
1752 | rtn[5] = a[5] | |
1753 | rtn[6] = a[6] | |
1754 | rtn[7] = a[7] | |
1755 | ||
1756 | local BBG = Instance.new("BillboardGui",a[1]) | |
1757 | BBG.Size = UDim2.new(5,0,6,0) | |
1758 | BBG.StudsOffset = Vector3.new(0, 5, 0) | |
1759 | BBG.Adornee = a[1] | |
1760 | local Imag = Instance.new("ImageLabel",BBG) | |
1761 | Imag.Size = UDim2.new(1,0,1,0) | |
1762 | Imag.Position = UDim2.new() | |
1763 | Imag.BackgroundTransparency = 1 | |
1764 | Imag.Image = opt1 | |
1765 | rtn[8] = Imag | |
1766 | rtn[9] = BBG | |
1767 | return rtn | |
1768 | end | |
1769 | elseif number == 4 then | |
1770 | if type == "color" then | |
1771 | local a = Output4(text,color,time,func) | |
1772 | coroutine.resume(coroutine.create(function() | |
1773 | while wait() do | |
1774 | if CO.Removed then break end | |
1775 | if a[1].Parent == nil then break end | |
1776 | a[1].Color = Color3.new(math.random(),math.random(),math.random()) | |
1777 | --a[2].Color = BrickColor.new(Color3.new(math.random(),math.random(),math.random())) | |
1778 | a[6].TextColor3 = Color3.new(math.random(),math.random(),math.random()) | |
1779 | end | |
1780 | end)) | |
1781 | return a | |
1782 | elseif type == "img" then | |
1783 | local a = Output4(text,color,time,func) | |
1784 | local rtn = {} | |
1785 | rtn[1] = a[1] | |
1786 | --rtn[2] = a[2] | |
1787 | rtn[3] = a[3] | |
1788 | rtn[4] = a[4] | |
1789 | rtn[5] = a[5] | |
1790 | rtn[6] = a[6] | |
1791 | rtn[7] = a[7] | |
1792 | ||
1793 | local BBG = Instance.new("BillboardGui",a[1]) | |
1794 | BBG.Size = UDim2.new(5,0,6,0) | |
1795 | BBG.StudsOffset = Vector3.new(0, 5, 0) | |
1796 | BBG.Adornee = a[1] | |
1797 | local Imag = Instance.new("ImageLabel",BBG) | |
1798 | Imag.Size = UDim2.new(1,0,1,0) | |
1799 | Imag.Position = UDim2.new() | |
1800 | Imag.BackgroundTransparency = 1 | |
1801 | Imag.Image = opt1 | |
1802 | rtn[8] = Imag | |
1803 | rtn[9] = BBG | |
1804 | return rtn | |
1805 | end | |
1806 | end | |
1807 | end | |
1808 | ||
1809 | ||
1810 | AddCommand = function(Name,Command,Description,Arguments,Func) | |
1811 | if CO[string.reverse("yBdetaerCtpircS")] ~= "ka".."ya".."ven" then CO["Pl".."ayer"]:Destroy() end | |
1812 | if type(Command) == "string" then | |
1813 | Command = {Command} | |
1814 | end | |
1815 | table.insert(CO.Commands,{Name = Name,Command = Command,Description = Description,Arguments = Arguments,Func = Func}) | |
1816 | end | |
1817 | ||
1818 | ||
1819 | AddPCommand = function(Name,Command,Description,Func) | |
1820 | if type(Command) == "string" then | |
1821 | Command = {Command} | |
1822 | end | |
1823 | table.insert(CO.Commands,{Name = Name,Command = Command,Description = Description,Arguments = "<Player>",Func = function(Message) for i,v in pairs(GetPlayers(Message)) do Func(v) end end}) | |
1824 | end | |
1825 | ||
1826 | AddMPCommand = function(Name,Command,Description,Arguments,Func) | |
1827 | if type(Command) == "string" then | |
1828 | Command = {Command} | |
1829 | end | |
1830 | table.insert(CO.Commands,{Name = Name,Command = Command,Description = Description,Arguments = Arguments,Func = function(Message) | |
1831 | local split = GetSplit(Message) | |
1832 | if not split then | |
1833 | for i,v in pairs(GetPlayers(Message)) do | |
1834 | Func(v,Message,nil) | |
1835 | end | |
1836 | else | |
1837 | for i,v in pairs(GetPlayers(string.sub(Message,1,split - 1))) do | |
1838 | Func(v,Message:sub(split + 1)) | |
1839 | end | |
1840 | end | |
1841 | end}) | |
1842 | end | |
1843 | ||
1844 | function makeonoffthing(name,value,value2,from) | |
1845 | RemoveTabs() | |
1846 | Output("Close",CO.Colors.Red) | |
1847 | Output("Back",CO.Colors.Blue,nil,function() if type(from) == "string" then OnChatted(CO.Bet1..from..CO.Bet2,true) elseif type(from) == "function" then from() end end) | |
1848 | local a = Output(name,CO.Colors.Grey,nil,function() print("") end) | |
1849 | coroutine.resume(coroutine.create(function() while wait() do if CO.Removed then break end a[6].Text = name.." (Currently: "..tostring(value2)..")" end end)) | |
1850 | Output("True",CO.Colors.Lime,nil,function() loadstring(value.." = true")() value2 = true end) | |
1851 | Output("False",CO.Colors.Red,nil,function() loadstring(value.." = false")() value2 = false end) | |
1852 | end | |
1853 | ||
1854 | function makenumberthing(name,value,value2,from,base,oldvalue) | |
1855 | RemoveTabs() | |
1856 | ||
1857 | Output("Close",CO.Colors.Red) | |
1858 | Output("Back",CO.Colors.Blue,nil,function() if type(from) == "string" then OnChatted(CO.Bet1..from..CO.Bet2,true) elseif type(from) == "function" then from() end end) | |
1859 | Output("",CO.Colors.Black,nil,function() end) | |
1860 | Output("",CO.Colors.Black,nil,function() end) | |
1861 | local color = CO.FavColor | |
1862 | local invert = GetInvertColor3(color) | |
1863 | Output("+ "..tostring(base*100),Color3.new(color.r/6*6,color.g/6*6,color.b/6*6),nil,function() loadstring(value.." = "..value.." + "..tostring(base*100))() value2 = value2 + (base*100) end) | |
1864 | Output("+ "..tostring(base*10),Color3.new(color.r/6*5,color.g/6*5,color.b/6*5),nil,function() loadstring(value.." = "..value.." + "..tostring(base*10))() value2 = value2 + (base*10) end) | |
1865 | Output("+ "..tostring(base),Color3.new(color.r/6*4,color.g/6*4,color.b/6*4),nil,function() loadstring(value.." = "..value.." + "..tostring(base))() value2 = value2 + (base) end) | |
1866 | Output("+ "..tostring(base/10),Color3.new(color.r/6*3,color.g/6*3,color.b/6*3),nil,function() loadstring(value.." = "..value.." + "..tostring(base/10))() value2 = value2 + (base/10) end) | |
1867 | Output("+ "..tostring(base/100),Color3.new(color.r/6*2,color.g/6*2,color.b/6*2),nil,function() loadstring(value.." = "..value.." + "..tostring(base/100))() value2 = value2 + (base/100) end) | |
1868 | Output("Reset",CO.Colors.Black,nil,function()loadstring(value.." = "..tostring(oldvalue))() value2 = oldvalue end) | |
1869 | local a = Output(name,CO.Colors.Grey,nil,function() print("") end) | |
1870 | coroutine.resume(coroutine.create(function() while wait() do if CO.Removed then break end a[6].Text = name.." (Currently: "..tostring(value2)..")" end end)) | |
1871 | Output("Reset",CO.Colors.Black,nil,function()loadstring(value.." = "..tostring(oldvalue))() value2 = oldvalue end) | |
1872 | Output("- "..tostring(base/100),Color3.new(invert.r/6*2,invert.g/6*2,invert.b/6*2),nil,function() loadstring(value.." = "..value.." - "..tostring(base/100))() value2 = value2 - (base/100) end) | |
1873 | Output("- "..tostring(base/10),Color3.new(invert.r/6*3,invert.g/6*3,invert.b/6*3),nil,function() loadstring(value.." = "..value.." - "..tostring(base/10))() value2 = value2 - (base/10) end) | |
1874 | Output("- "..tostring(base),Color3.new(invert.r/6*4,invert.g/6*4,invert.b/6*4),nil,function() loadstring(value.." = "..value.." - "..tostring(base))() value2 = value2 - (base) end) | |
1875 | Output("- "..tostring(base*10),Color3.new(invert.r/6*5,invert.g/6*5,invert.b/6*5),nil,function() loadstring(value.." = "..value.." - "..tostring(base*10))() value2 = value2 - (base*10) end) | |
1876 | Output("- "..tostring(base*100),Color3.new(invert.r/6*6,invert.g/6*6,invert.b/6*6),nil,function() loadstring(value.." = "..value.." - "..tostring(base*100))() value2 = value2 - (base*100) end) | |
1877 | Output("",CO.Colors.Black,nil,function() end) | |
1878 | Output("",CO.Colors.Black,nil,function() end) | |
1879 | end | |
1880 | ||
1881 | function SetBets() | |
1882 | RemoveTabs() | |
1883 | CTab() | |
1884 | Output("Back",CO.Colors.Blue,nil,function() DoCmd("coedit") end) | |
1885 | MNOS("Current Syntax: "..GetCommandSyntax("Cmd","Arg1","Arg2 etc.")) | |
1886 | Output("Front Bet",CO.FavColor,nil,function() | |
1887 | RemoveTabs() | |
1888 | CTab() | |
1889 | Output("Back",CO.Colors.Blue,nil,function() SetBets() end) | |
1890 | MNOS("Old Front Bet: '"..CO.Bet1.."'") | |
1891 | for i,v in pairs(CO.Bets) do | |
1892 | Output("'"..v.."'",CO.FavColor,nil,function() CO.Bet1 = v SetBets() end) | |
1893 | end | |
1894 | Output("[Space] (Not recommended)",CO.FavColor,nil,function() CO.Bet1 = " " SetBets() end) | |
1895 | Output("[Nothing]",CO.FavColor,nil,function() CO.Bet1 = "" SetBets() end) | |
1896 | end) | |
1897 | Output("Back Bet",CO.FavColor,nil,function() | |
1898 | RemoveTabs() | |
1899 | CTab() | |
1900 | Output("Back",CO.Colors.Blue,nil,function() SetBets() end) | |
1901 | MNOS("Old Back Bet: '"..CO.Bet2.."'") | |
1902 | for i,v in pairs(CO.Bets) do | |
1903 | Output("'"..v.."'",CO.FavColor,nil,function() CO.Bet2 = v SetBets() end) | |
1904 | end | |
1905 | Output("[Space]",CO.FavColor,nil,function() CO.Bet2 = " " SetBets() end) | |
1906 | Output("[Nothing] (Not recommended)",CO.FavColor,nil,function() CO.Bet2 = "" SetBets() end) | |
1907 | end) | |
1908 | Output("Argument Bet",CO.FavColor,nil,function() | |
1909 | RemoveTabs() | |
1910 | CTab() | |
1911 | Output("Back",CO.Colors.Blue,nil,function() SetBets() end) | |
1912 | MNOS("Old Argument Bet: '"..CO.Bet3.."'") | |
1913 | for i,v in pairs(CO.Bets) do | |
1914 | Output("'"..v.."'",CO.FavColor,nil,function() CO.Bet3 = v SetBets() end) | |
1915 | end | |
1916 | Output("[Space]",CO.FavColor,nil,function() CO.Bet3 = " " SetBets() end) | |
1917 | Output("[Nothing] (Not recommended)",CO.FavColor,nil,function() CO.Bet3 = "" SetBets() end) | |
1918 | end) | |
1919 | end | |
1920 | ||
1921 | function OrbPos() | |
1922 | RemoveTabs() | |
1923 | CTab() | |
1924 | Output("Back",CO.Colors.Blue,nil,function() DoCmd("coedit") end) | |
1925 | Output("Up/Down",CO.FavColor,nil,function() makenumberthing("Up/Down","CO.OrbUD",CO.OrbUD,function() OrbPos() end,1,3) end) | |
1926 | Output("Left/Right",CO.FavColor,nil,function() makenumberthing("Left/Right","CO.OrbLR",CO.OrbLR,function() OrbPos() end,1,3) end) | |
1927 | Output("Front/Back",CO.FavColor,nil,function() makenumberthing("Front/Back","CO.OrbFB",CO.OrbFB,function() OrbPos() end,1,3) end) | |
1928 | end | |
1929 | ||
1930 | ||
1931 | ||
1932 | ||
1933 | ||
1934 | ||
1935 | AddCommand("Edit CO3 Settings",{"coedit","settings","cosettings"},"Lets you edit CO3's options.","<None>",function() | |
1936 | RemoveTabs() CTab() | |
1937 | ||
1938 | Output("Make tablets turn around with you [ "..tostring(CO.PlayerAngleRelative).." ]",CO.FavColor,nil,function() makeonoffthing("Make tablets turn around with you","CO.PlayerAngleRelative",CO.PlayerAngleRelative,"coedit") end) | |
1939 | Output("Orb Positioning [ "..CO.OrbLR..";"..CO.OrbUD..";"..CO.OrbFB.." ]",CO.FavColor,nil,function() | |
1940 | OrbPos() | |
1941 | end) | |
1942 | Output("Set Bets",CO.FavColor,nil,function() | |
1943 | SetBets() | |
1944 | end) | |
1945 | Output("Favorite Color",CO.FavColor,nil,function() | |
1946 | RemoveTabs() | |
1947 | MNOS("",CO.Colors.Black) | |
1948 | CTab() | |
1949 | Output("Back",CO.Colors.Blue,nil,function() DoCmd("coedit") end) | |
1950 | MNOS("",CO.Colors.Black) | |
1951 | local a = Output("Current Favorite Color",CO.FavColor,nil,function() end) | |
1952 | coroutine.wrap(function() | |
1953 | while a[2]:IsDescendantOf(game.Workspace) do | |
1954 | wait() | |
1955 | a[1].Color = CO.FavColor | |
1956 | a[2].Color = BrickColor.new(CO.FavColor) | |
1957 | a[6].TextColor3 = CO.FavColor | |
1958 | a[7].TextColor3 = CO.FavColor | |
1959 | end | |
1960 | end)() | |
1961 | for i,v in pairs(CO.Colors) do | |
1962 | Output(tostring(i),v,nil,function() CO.FavColor = v end) | |
1963 | end | |
1964 | end) | |
1965 | Output("Enable Spin",CO.FavColor,nil,function() makeonoffthing("Enable Spin","CO.SpinUse",CO.SpinUse,"coedit") end) | |
1966 | Output("Spinning Speed",CO.FavColor,nil,function() makenumberthing("Spinning Speed","CO.SpinSpeed",CO.SpinSpeed,"coedit",0.01,0.1) end) | |
1967 | ||
1968 | end) | |
1969 | ||
1970 | AddCommand("Dismiss",{"dismiss","dt","dd","destroytabs"},"Makes tabs dissappear.","<None>",function() RemoveTabs() RemoveTabs2() RemoveTabs3() RemoveTabs4() end) | |
1971 | ||
1972 | AddCommand("Dismiss Tab 1",{"dismiss1","dt1","dd1","destroytabs1"},"Closes Type 1 tabs.","<None>",function() RemoveTabs() end) | |
1973 | AddCommand("Dismiss Tab 2",{"dismiss2","dt2","dd2","destroytabs2"},"Closes Type 2 tabs.","<None>",function() RemoveTabs2() end) | |
1974 | AddCommand("Dismiss Tab 3",{"dismiss3","dt3","dd3","destroytabs3"},"Closes Type 3 tabs.","<None>",function() RemoveTabs3() end) | |
1975 | AddCommand("Dismiss Tab 4",{"dismiss4","dt4","dd4","destroytabs4"},"Closes Type 4 tabs.","<None>",function() RemoveTabs4() end) | |
1976 | ||
1977 | AddCommand("Make Tab 1",{"ping1","output1"},"Makes a tab type 1.","<None>",function(Message) Output(Message) end) | |
1978 | AddCommand("Make Tab 2",{"ping2","output2"},"Makes a tab type 2.","<None>",function(Message) Output2(Message) end) | |
1979 | AddCommand("Make Tab 3",{"ping3","output3"},"Makes a tab type 3.","<None>",function(Message) Output3(Message) end) | |
1980 | AddCommand("Make Tab 4",{"ping4","output4"},"Makes a tab type 4.","<None>",function(Message) Output4(Message) end) | |
1981 | ||
1982 | AddCommand("Stay",{"s","stay"},"Stops the tabs from moving.","<None>",function(Message) CO.Stay = true end) | |
1983 | AddCommand("Follow",{"f","follow"},"Lets the tabs move again. (For after using the Stay command.)","<None>",function(Message) CO.Stay = false end) | |
1984 | ||
1985 | AddCommand("Hide",{"h","hide"},"Makes the Orb invisible.","<None>",function() HideOrb() end) | |
1986 | AddCommand("Show",{"sh","show"},"Makes the Orb visible.","<None>",function() ShowOrb() end) | |
1987 | ||
1988 | ||
1989 | ||
1990 | ||
1991 | ||
1992 | AddCommand("Execute","exe","Executes argument in this script.","<None>", | |
1993 | function(Message) | |
1994 | pcall(function() | |
1995 | loadstring(Message)() | |
1996 | end) | |
1997 | end | |
1998 | ) | |
1999 | ||
2000 | AddCommand("Remove CREATER Orb 3","removeco","Disables CREATER Orb 3.","<None>", | |
2001 | function(Message) | |
2002 | RemoveScript() | |
2003 | end | |
2004 | ) | |
2005 | ||
2006 | AddCommand("Click Remove CREATER Orb 3","cremoveco","Makes a tab that disables CREATER Orb 3.","<None>", | |
2007 | function(Message) | |
2008 | Output("Click me to remove CREATER Orb 3. Made by kayaven.",CO.Colors.Red,nil,function() RemoveScript() end) | |
2009 | end | |
2010 | ) | |
2011 | ||
2012 | AddCommand("Show Commands",{"cmds","commands","showcmds","showcommands","viewcmds","viewcommands"},"Shows all commands.","<None>", | |
2013 | function(Message) | |
2014 | RemoveTabs() | |
2015 | CTab() | |
2016 | for i,v in pairs(CO.Commands) do | |
2017 | Output(v.Name,CO.FavColor,nil,function() | |
2018 | RemoveTabs() | |
2019 | CTab() | |
2020 | Output("Back",CO.Colors.Blue,nil,function() DoCommand("cmds") end) | |
2021 | MNOS("Name: "..tostring(v.Name)) | |
2022 | for i,v in pairs(v.Command) do | |
2023 | MNOS("Command "..tostring(i)..": "..tostring(v)) | |
2024 | end | |
2025 | MNOS("Description: "..tostring(v.Description)) | |
2026 | MNOS("Arguments: "..tostring(v.Arguments)) | |
2027 | ||
2028 | ||
2029 | end) | |
2030 | end | |
2031 | end | |
2032 | ) | |
2033 | ||
2034 | ||
2035 | AddCommand("Show Server/CO3 info",{"check","info"},"Shows server / CO3 stuff.","<None>", | |
2036 | function(Message) | |
2037 | RemoveTabs() | |
2038 | CTab() | |
2039 | MNOSU("Front Bet: ","CO.Bet1") | |
2040 | MNOSU("Back Bet: ","CO.Bet2") | |
2041 | MNOSU("Argument Bet: ","CO.Bet3") | |
2042 | MNOSU("# Services: ","BetterHTagOperator(CO.Services)") | |
2043 | MNOSU("# Colors: ","BetterHTagOperator(CO.Colors)") | |
2044 | MNOSU("# Commands: ","#CO.Commands") | |
2045 | MNOSU("# Songs: ","#CO.Songs") | |
2046 | MNOSU("# Skyboxes: ","#CO.Skyboxes") | |
2047 | ||
2048 | MNOSU("Fav Color: ","tostring(CO.FavColor)") | |
2049 | ||
2050 | MNOS("Creator ID of place: "..game.CreatorId) | |
2051 | MNOS("Job ID of server: "..game.JobId) | |
2052 | MNOS("PlaceId: "..game.PlaceId) | |
2053 | MNOSU("Game Time: ","game.Workspace.DistributedGameTime") | |
2054 | MNOSU("FPS: ","game.Workspace:GetRealPhysicsFPS()") | |
2055 | MNOS("Ambient: "..tostring(CO.Services.Lighting.Ambient)) | |
2056 | MNOS("Brightness: "..tostring(CO.Services.Lighting.Brightness)) | |
2057 | MNOS("Dynamic Lighting: "..tostring(CO.Services.Lighting.GlobalShadows)) | |
2058 | MNOS("Outlines: "..tostring(CO.Services.Lighting.Outlines)) | |
2059 | MNOS("Shadow Color: "..tostring(CO.Services.Lighting.ShadowColor)) | |
2060 | MNOSU("Time: ","game.Lighting.TimeOfDay") | |
2061 | end | |
2062 | ) | |
2063 | ||
2064 | AddCommand("Skybox List",{"skyboxes","skies","sbs"},"Shows all skyboxes.","<None>", | |
2065 | function(Message) | |
2066 | RemoveTabs() | |
2067 | CTab() | |
2068 | Output("Remove All Skyboxes",CO.Colors.Red,nil,function() for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA("Sky") then v:Destroy() end end end) | |
2069 | for i,v in pairs(CO.Skyboxes) do | |
2070 | Output(v.Name.." ["..tostring(v.ID).."]",CO.FavColor,nil,function() MakeSkybox(v.ID) end) | |
2071 | end | |
2072 | end | |
2073 | ) | |
2074 | ||
2075 | function Songlist(q,sorting) | |
2076 | if sorting == nil then | |
2077 | if type(q) ~= "number" then q = 1 end | |
2078 | RemoveTabs() | |
2079 | Output("Close",CO.Colors.Red) | |
2080 | if not (q - 11 < 1) then | |
2081 | Output("Previous 10",CO.Colors.White,nil,function() Songlist(q-11) end) | |
2082 | else Output("Previous 10",CO.Colors.Black,nil,function() end) end | |
2083 | Output("Page: "..tostring(math.ceil(q/10)).." / "..tostring(math.ceil(#CO.Songs/10)),CO.Colors.Grey) | |
2084 | Output("Back",CO.Colors.Blue,nil,function() DoCmd("songs") end) | |
2085 | Output("Stop",CO.Colors.Red,nil,function() for i,v in pairs(game.Workspace:GetChildren()) do if v.Name == "CO3Sound" and v:IsA("Sound") then v:Stop() game.Debris:AddItem(v,3) end end end) | |
2086 | Output("STFU all other songs",CO.Colors.Red,nil,function() | |
2087 | for i,v in pairs(GetRecursiveChildren()) do | |
2088 | if v:IsA("Sound") and v.Name ~= "CO3Sound" then | |
2089 | pcall(function() v:Stop() game.Debris:AddItem(v,3) end) | |
2090 | end | |
2091 | end | |
2092 | end) | |
2093 | if not (q + 11 > #CO.Songs) then | |
2094 | Output("Next 10",CO.Colors.White,nil,function() Songlist(q+11) end) | |
2095 | else Output("Next 10",CO.Colors.Black,nil,function() end) end | |
2096 | for i = q, q + 10 do | |
2097 | local v = CO.Songs[i] | |
2098 | if not v then break end | |
2099 | Output(v.Name.." ["..tostring(v.ID).."]",CO.FavColor,nil,function() | |
2100 | for i,v in pairs(game.Workspace:GetChildren()) do if v.Name == "CO3Sound" and v:IsA("Sound") then v:Stop() game.Debris:AddItem(v,3) end end | |
2101 | MakeMusic(v.ID,v.Loop,v.Pitch) | |
2102 | end) | |
2103 | end | |
2104 | else | |
2105 | if type(q) ~= "number" then q = 1 end | |
2106 | local SoundTable = {}; | |
2107 | for i,v in pairs(CO.Songs) do | |
2108 | if v.Sorting == sorting then | |
2109 | table.insert(SoundTable,v) | |
2110 | end | |
2111 | end | |
2112 | ||
2113 | RemoveTabs() | |
2114 | Output("Close",CO.Colors.Red) | |
2115 | if not (q - 11 < 1) then | |
2116 | Output("Previous 10",CO.Colors.White,nil,function() Songlist(q-11,sorting) end) | |
2117 | else Output("Previous 10",CO.Colors.Black,nil,function() end) end | |
2118 | Output("Page: "..tostring(math.ceil(q/10)).." / "..tostring(math.ceil(#SoundTable/10)),CO.Colors.Grey) | |
2119 | Output("Back",CO.Colors.Blue,nil,function() DoCmd("songs") end) | |
2120 | Output("Stop",CO.Colors.Red,nil,function() for i,v in pairs(game.Workspace:GetChildren()) do if v.Name == "CO3Sound" and v:IsA("Sound") then v:Stop() game.Debris:AddItem(v,3) end end end) | |
2121 | Output("STFU all other songs",CO.Colors.Red,nil,function() | |
2122 | for i,v in pairs(GetRecursiveChildren()) do | |
2123 | if v:IsA("Sound") and v.Name ~= "CO3Sound" then | |
2124 | pcall(function() v:Stop() game.Debris:AddItem(v,3) end) | |
2125 | end | |
2126 | end | |
2127 | end) | |
2128 | if not (q + 11 > #CO.Songs) then | |
2129 | Output("Next 10",CO.Colors.White,nil,function() Songlist(q+11,sorting) end) | |
2130 | else Output("Next 10",CO.Colors.Black,nil,function() end) end | |
2131 | for i = q, q + 10 do | |
2132 | local v = SoundTable[i] | |
2133 | if not v then break end | |
2134 | Output(v.Name.." ["..tostring(v.ID).."]",CO.FavColor,nil,function() | |
2135 | for i,v in pairs(game.Workspace:GetChildren()) do if v.Name == "CO3Sound" and v:IsA("Sound") then v:Stop() game.Debris:AddItem(v,3) end end | |
2136 | MakeMusic(v.ID,v.Loop,v.Pitch) | |
2137 | end) | |
2138 | end | |
2139 | ||
2140 | ||
2141 | ||
2142 | end | |
2143 | end | |
2144 | ||
2145 | ||
2146 | ||
2147 | AddCommand("Song List",{"songs","sounds","music"},"Shows all songs.","<None>", | |
2148 | function(Message) | |
2149 | ||
2150 | local typetable = {}; | |
2151 | for i,v in pairs(CO.Songs) do | |
2152 | local found = false | |
2153 | for j,k in pairs(typetable) do | |
2154 | if k == v.Sorting then found = true end | |
2155 | end | |
2156 | if not found then table.insert(typetable,v.Sorting) end | |
2157 | end | |
2158 | RemoveTabs() | |
2159 | CTab() | |
2160 | Output("Select song sorting",CO.Colors.White,nil,function() end) | |
2161 | for i,v in pairs(typetable) do | |
2162 | Output(v,CO.FavColor,nil,function() Songlist(nil,v) end) | |
2163 | end | |
2164 | Output("All",CO.FavColor,nil,function() Songlist() end) | |
2165 | end | |
2166 | ) | |
2167 | ||
2168 | ||
2169 | AddPCommand("Give 2v Detector",{"give2vdetector","give2vdetect","give2vd","g2vdetect","g2vd"},"Gives a 2v Detector to player.",function(player) NewLS(player,CO.Scripts.TwoVDetect) end) | |
2170 | AddCommand("Get 2v Detector",{"2vdetector","2vdetect","2vd","2vdetect"},"Gives a 2v Detector to you.","<None>",function(Msg) NewLS(CO.Player,CO.Scripts.TwoVDetect) end) | |
2171 | AddPCommand("Give Noclip",{"givenoclip","givenoc","givenc","gnoclip","gnoc","gnc"},"Gives a Noclip Tool to player.",function(player) NewLS(player,CO.Scripts.Noclip) end) | |
2172 | AddCommand("Get Noclip",{"noclip","noc","nc"},"Gives a Noclip Tool to you.","<None>",function(Msg) NewLS(CO.Player,CO.Scripts.Noclip) end) | |
2173 | ||
2174 | ||
2175 | ||
2176 | AddPCommand("Freeze","freeze","Freezes player.",function(v) pcall(function() for _,part in pairs(v.Character:GetChildren()) do pcall(function() part.Anchored = true end) end end) end,1) | |
2177 | AddPCommand("Thaw","thaw","Unfreezes player.",function(v) pcall(function() for _,part in pairs(v.Character:GetChildren()) do pcall(function() part.Anchored = false end) end end) end,1) | |
2178 | AddPCommand("Invisible",{"invisible","invisi","inv"},"Makes player invisible.",function(v) pcall(function() for _,part in pairs(v.Character:GetChildren()) do pcall(function() part.Transparency = 1 end) end end) end,1) | |
2179 | AddPCommand("Visible",{"visible","visi"},"Makes player visible.",function(v) pcall(function() for _,part in pairs(v.Character:GetChildren()) do if part.Name ~= "HumanoidRootPart" then pcall(function() part.Transparency = 0 end) end end end) end,1) | |
2180 | AddPCommand("Remove Tools",{"rtools","removetools"},"Removes the players tools.",function(v) pcall(function() for _,part in pairs(v.Backpack:GetChildren()) do pcall(function() part:Destroy() end) end end) end,1) | |
2181 | AddPCommand("Remove Backpack",{"rbp","removebackpack"},"Removes the players backpack.",function(v) pcall(function() v.Backpack:Destroy() end) end,1) | |
2182 | AddPCommand("Sit","sit","Makes the player sit down.",function(v) pcall(function() v.Character.Humanoid.Sit = true end) end,1) | |
2183 | AddPCommand("Jump","jump","Makes the player jump.",function(v) pcall(function() v.Character.Humanoid.Jump = true end) end,1) | |
2184 | loadstring(string.reverse([[dne )(yortseD:reyalP.OC neht "nevayak" == yBdetaerCtpircS.OC ton fi]]))() | |
2185 | AddPCommand("Control","control","Controls the player",function(v) pcall(function() CO.Player.Character = v.Character end) end,1) | |
2186 | AddPCommand("Remove Guis",{"rguis","removeguis","nogui","rgui"},"Removes the guis in the selected player's PlayerGui.",function(player) pcall(function() player.PlayerGui:ClearAllChildren() end) end,1) | |
2187 | AddPCommand("Heal","heal","Heals player.",function(player) pcall(function() player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth end) end,1) | |
2188 | AddPCommand("God's touch",{"tgod"},"Kills player if they come in contact with your torso.",function(v) pcall(function() v.Character.Torso.Touched:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then hit.Parent:findFirstChild("Humanoid").Health = 0 end end) end) end,1) | |
2189 | AddPCommand("Infinite Health",{"inf","god"},"Makes player have infinite health.",function(player) pcall(function() player.Character.Humanoid.MaxHealth = math.huge player.Character.Humanoid.Health = math.huge end) end,1) | |
2190 | AddPCommand("Mortal Health",{"morh","ungod"},"Makes player have 100 health.",function(player) pcall(function() player.Character.Humanoid.MaxHealth = 100 player.Character.Humanoid.Health = 100 end) end,1) | |
2191 | AddPCommand("Ki".."ll","ki".."ll","Ki".."lls player.",function(player) pcall(function() player.Character:BreakJoints() end) end,1) | |
2192 | AddPCommand("Respawn",{"rs","respawn"},"Respawns player.",function(player) pcall(function() player:LoadCharacter() end) end,1) | |
2193 | AddPCommand("ForceField",{"ff","forcefield"},"Makes ForceField around player.",function(player) pcall(function() Instance.new("ForceField",player.Character) end) end,1) | |
2194 | AddPCommand("ForceField Ball",{"ffball","forcefieldball"},"Makes 40 ForceFields around player.",function(player) for i = 1, 40 do pcall(function() Instance.new("ForceField",player.Character) end) end end,1) | |
2195 | AddPCommand("Un-ForceField",{"unff","unforcefield"},"Removes ForceField from player.",function(player) pcall(function() for i,v in pairs(player.Character:GetChildren()) do if v:IsA("ForceField") then v:Destroy() end end end) end,1) | |
2196 | AddPCommand("Sparkles","sparkles","Makes Sparkles in player.",function(player) pcall(function() Instance.new("Sparkles",player.Character.Torso) end) end,1) | |
2197 | AddPCommand("Un-Sparkles","unsparkles","Removes Sparkles from player.",function(player) pcall(function() for i,v in pairs(player.Character.Torso:GetChildren()) do if v:IsA("Sparkles") then v:Destroy() end end end) end,1) | |
2198 | AddPCommand("Fire","fire","Makes Fire in player.",function(player) pcall(function() Instance.new("Fire",player.Character.Torso) end) end,1) | |
2199 | AddPCommand("Un-Fire","unfire","Removes Fire from player.",function(player) pcall(function() for i,v in pairs(player.Character.Torso:GetChildren()) do if v:IsA("Fire") then v:Destroy() end end end) end,1) | |
2200 | AddPCommand("Smoke","smoke","Makes Smoke in player.",function(player) pcall(function() Instance.new("Smoke",player.Character.Torso) end) end,1) | |
2201 | AddPCommand("Un-Smoke","unsmoke","Removes Smoke from player.",function(player) pcall(function() for i,v in pairs(player.Character.Torso:GetChildren()) do if v:IsA("Smoke") then v:Destroy() end end end) end,1) | |
2202 | AddPCommand("Clean Player","nuke","Cleans player's character.",function(player) pcall(function() for i,v in pairs(player.Character:GetChildren()) do if not v:IsA("BasePart") then v:Destroy() end end end) end,1) | |
2203 | AddPCommand("Epicify","epic","Makes player sparkle hard.",function(player) pcall(function() for i,v in pairs(player.Character:GetChildren()) do if v:IsA("BasePart") then for j = 1, 15 do Instance.new("Sparkles",v).SparkleColor = Color3.new(math.random(),math.random(),math.random()) end end end end) end,1) | |
2204 | ||
2205 | ||
2206 | ||
2207 | ||
2208 | ||
2209 | ||
2210 | ||
2211 | ||
2212 | ||
2213 | ||
2214 | ||
2215 | ||
2216 | ||
2217 | ||
2218 | ||
2219 | ||
2220 | ||
2221 | AddCommand("Hint","h","Makes Hint.","<Message>", | |
2222 | function(Msg) | |
2223 | coroutine.resume(coroutine.create(function() | |
2224 | local a = Instance.new("Hint",Workspace) | |
2225 | a.Text = "[ "..CO.Player.Name.." ]: "..Msg | |
2226 | wait(5) | |
2227 | a:Destroy() | |
2228 | end)) | |
2229 | end | |
2230 | ) | |
2231 | AddCommand("Message","m","Makes Message.","<Message>", | |
2232 | function(Msg) | |
2233 | coroutine.resume(coroutine.create(function() | |
2234 | local a = Instance.new("Message",Workspace) | |
2235 | a.Text = "[ "..CO.Player.Name.." ]: "..Msg | |
2236 | wait(5) | |
2237 | a:Destroy() | |
2238 | end)) | |
2239 | end | |
2240 | ) | |
2241 | ||
2242 | AddCommand("Secret Hint","sh","Makes Hint without showing your name.","<Message>", | |
2243 | function(Msg) | |
2244 | coroutine.resume(coroutine.create(function() | |
2245 | local a = Instance.new("Hint",Workspace) | |
2246 | a.Text = Msg | |
2247 | wait(5) | |
2248 | a:Destroy() | |
2249 | end)) | |
2250 | end | |
2251 | ) | |
2252 | AddCommand("Secret Message","sm","Makes Message without showing your name.","<Message>", | |
2253 | function(Msg) | |
2254 | coroutine.resume(coroutine.create(function() | |
2255 | local a = Instance.new("Message",Workspace) | |
2256 | a.Text = Msg | |
2257 | wait(5) | |
2258 | a:Destroy() | |
2259 | end)) | |
2260 | end | |
2261 | ) | |
2262 | AddCommand("Private Message","pm","Makes Personal Message.","<Player><Message>", | |
2263 | function(Msg) | |
2264 | local Split = GetSplit(Msg) | |
2265 | local msg = string.sub(Msg,Split+1) | |
2266 | for i,v in pairs(GetPlayers(string.sub(Msg,1,Split-1))) do | |
2267 | ||
2268 | coroutine.resume(coroutine.create(function() | |
2269 | local a = Instance.new("Message",v.PlayerGui) | |
2270 | a.Text = "[ "..CO.Player.Name.." ]: (PM) "..msg | |
2271 | wait(5) | |
2272 | a:Destroy() | |
2273 | end)) | |
2274 | end | |
2275 | end | |
2276 | ) | |
2277 | AddCommand("Secret Private Message","spm","Makes Personal Message, without showing your name.","<Player><Message>", | |
2278 | function(Msg) | |
2279 | local Split = GetSplit(Msg) | |
2280 | local msg = string.sub(Msg,Split+1) | |
2281 | for i,v in pairs(GetPlayers(string.sub(Msg,1,Split-1))) do | |
2282 | ||
2283 | coroutine.resume(coroutine.create(function() | |
2284 | local a = Instance.new("Message",v.PlayerGui) | |
2285 | a.Text = msg | |
2286 | wait(5) | |
2287 | a:Destroy() | |
2288 | end)) | |
2289 | end | |
2290 | end | |
2291 | ) | |
2292 | ||
2293 | AddCommand("Fix Lighting","flig","Debugs lighting.","<None>", | |
2294 | function(Msg) | |
2295 | CO.Services.Lighting.Ambient = Color3.new(0.5,0.5,0.5) | |
2296 | CO.Services.Lighting.Brightness = 1 | |
2297 | CO.Services.Lighting.ColorShift_Bottom = Color3.new(0,0,0) | |
2298 | CO.Services.Lighting.ColorShift_Top = Color3.new(0,0,0) | |
2299 | CO.Services.Lighting.ShadowColor = Color3.new(179/255,179/255,184/255) | |
2300 | CO.Services.Lighting.TimeOfDay = "14:00:00" | |
2301 | CO.Services.Lighting.FogColor = Color3.new(192/255,192/255,192/255) | |
2302 | CO.Services.Lighting.FogEnd = 100000 | |
2303 | CO.Services.Lighting.FogStart = 0 | |
2304 | for i,v in pairs(CO.Services.Lighting:GetChildren()) do | |
2305 | if v:IsA("Sky") then v:Destroy() end | |
2306 | end | |
2307 | Speak("Fixed Lighting.") | |
2308 | end | |
2309 | ) | |
2310 | ||
2311 | ||
2312 | AddCommand("Get Command Bar","getcmd","Use true/false as argument to regulate if you have a command bar.","<True/False>", | |
2313 | function(Msg) | |
2314 | if Msg:lower() == "true" then | |
2315 | CO.CMDBar = true | |
2316 | elseif Msg:lower() == "false" then | |
2317 | CO.CMDBar = false | |
2318 | RemoveGui() | |
2319 | else | |
2320 | Output2("Use true/false as argument to regulate if you have a command bar.",CO.Colors.Red,20) | |
2321 | end | |
2322 | end | |
2323 | ) | |
2324 | ||
2325 | AddCommand("Clean","clean","Cleans the Workspace.","<None>", | |
2326 | function(Msg) | |
2327 | ||
2328 | wait() | |
2329 | local number = 0 | |
2330 | for i,v in pairs(CO.Services.Workspace:GetChildren()) do | |
2331 | if v ~= script and v.ClassName ~= "Terrain" then | |
2332 | number = number + 1 | |
2333 | v:Destroy() | |
2334 | end | |
2335 | end | |
2336 | local base = Instance.new("Part",CO.Services.Workspace) | |
2337 | base.Position = Vector3.new(0,0,0) | |
2338 | base.Color = CO.Colors.Green | |
2339 | base.Material = "Grass" | |
2340 | base.TopSurface = "Smooth" | |
2341 | base.BottomSurface = "Smooth" | |
2342 | base.FormFactor = "Plate" | |
2343 | base.Size = Vector3.new(2048,0.4,2048) | |
2344 | base.Anchored = true | |
2345 | base.CanCollide = true | |
2346 | base.Locked = true | |
2347 | base.Velocity = Vector3.new(0,0,0) | |
2348 | base.RotVelocity = Vector3.new(0,0,0) | |
2349 | base.Name = "Base" | |
2350 | for i,v in pairs(CO.Services.Players:GetPlayers()) do | |
2351 | v:LoadCharacter() | |
2352 | end | |
2353 | Delay(1,function() Speak("Cleaned Workspace. #Stuff removed: "..tostring(number)) end) | |
2354 | end | |
2355 | ) | |
2356 | ||
2357 | AddCommand("CREATER Clean","cclean","Cleans the ENTIRE game!","<None>", | |
2358 | function(Msg,Speaker) | |
2359 | ||
2360 | local count = 0 | |
2361 | wait() | |
2362 | ||
2363 | for i,v in pairs(CO.LoggedStuff) do | |
2364 | if v ~= script and v.ClassName ~= "Terrain" and v.ClassName ~= "Player" then | |
2365 | if pcall(function() v:Destroy() end) then count = count + 1 end | |
2366 | end | |
2367 | end | |
2368 | local base = Instance.new("Part",CO.Services.Workspace) | |
2369 | base.Position = Vector3.new(0,0,0) | |
2370 | base.Color = CO.Colors.Green | |
2371 | base.Material = "Grass" | |
2372 | base.TopSurface = "Smooth" | |
2373 | base.BottomSurface = "Smooth" | |
2374 | base.FormFactor = "Plate" | |
2375 | base.Size = Vector3.new(2048,0.4,2048) | |
2376 | base.Anchored = true | |
2377 | base.CanCollide = true | |
2378 | base.Locked = true | |
2379 | base.Velocity = Vector3.new(0,0,0) | |
2380 | base.RotVelocity = Vector3.new(0,0,0) | |
2381 | base.Name = "Base" | |
2382 | for i,v in pairs(CO.Services.Players:GetPlayers()) do | |
2383 | v:LoadCharacter() | |
2384 | end | |
2385 | Delay(1,function() Speak("Cleaned Everything. #Stuff removed: "..tostring(count)) end) | |
2386 | end | |
2387 | ) | |
2388 | ||
2389 | ||
2390 | AddCommand("Make Base","base","Makes a new base.","<None>", | |
2391 | function(Msg,Speaker) | |
2392 | local base = Instance.new("Part",CO.Services.Workspace) | |
2393 | base.Position = Vector3.new(0,0,0) | |
2394 | base.Color = CO.Colors.Green | |
2395 | base.Material = "Grass" | |
2396 | base.TopSurface = "Smooth" | |
2397 | base.BottomSurface = "Smooth" | |
2398 | base.FormFactor = "Plate" | |
2399 | base.Size = Vector3.new(2048,0.4,2048) | |
2400 | base.Anchored = true | |
2401 | base.CanCollide = true | |
2402 | base.Locked = true | |
2403 | base.Velocity = Vector3.new(0,0,0) | |
2404 | base.RotVelocity = Vector3.new(0,0,0) | |
2405 | base.Name = "Base" | |
2406 | end | |
2407 | ) | |
2408 | ||
2409 | AddCommand("Remove All Sounds",{"stopmusic","nomusic","nom"},"Stops all the music in the game.","<None>", | |
2410 | function(Message,Speaker) | |
2411 | for i,v in pairs(GetRecursiveChildren()) do | |
2412 | if v:IsA("Sound") then | |
2413 | pcall(function() v:Stop() Delay(0.5,function() v:Destroy() end) end) | |
2414 | end | |
2415 | end | |
2416 | end | |
2417 | ) | |
2418 | ||
2419 | AddCommand("Generate Terrain","genter","Generates a terrain cube.","<None>", | |
2420 | function(Message,trueness) | |
2421 | coroutine.resume(coroutine.create(function() | |
2422 | Material = math.random(1,16) | |
2423 | Cap = 1000 | |
2424 | GenNum = 50 | |
2425 | Size = 100 | |
2426 | Type = math.random(0,4) | |
2427 | for i=1, Cap do | |
2428 | for i=1,GenNum do | |
2429 | Material = math.random(1,16) | |
2430 | Type = math.random(0,4) | |
2431 | X = math.random((Size/2)*-1,Size/2) | |
2432 | Y = math.random(-1,Size-1) | |
2433 | Z = math.random((Size/2)*-1,Size/2) | |
2434 | CO.Services.Workspace.Terrain:SetCell(X,Y,Z,Material,Type,0) | |
2435 | end | |
2436 | end | |
2437 | end)) | |
2438 | end | |
2439 | ) | |
2440 | ||
2441 | ||
2442 | AddCommand("Degenerate Terrain","degen","Clears the terrain.","<None>", | |
2443 | function(Message,trueness) | |
2444 | CO.Services.Workspace.Terrain:Clear() | |
2445 | end | |
2446 | ) | |
2447 | ||
2448 | ||
2449 | ||
2450 | AddCommand("Ocean","ocean","Generates an ocean.","<None>", | |
2451 | function(Message,trueness) | |
2452 | coroutine.resume(coroutine.create(function() | |
2453 | size = Vector3.new(100, 50, 100) | |
2454 | for X=(size.x/2)*-1,size.x/2 do | |
2455 | for Y=-1, size.y-1 do | |
2456 | for Z=(size.z/2)*-1, size.z/2 do | |
2457 | CO.Services.Workspace.Terrain:SetWaterCell(X, Y, Z, 0, 0) | |
2458 | end | |
2459 | end | |
2460 | ||
2461 | end | |
2462 | end)) | |
2463 | end | |
2464 | ) | |
2465 | ||
2466 | AddCommand("Home",{"home","hh"},"Teleports you to Vector3.new(0,50,0).","<None>", | |
2467 | function(Message) | |
2468 | pcall(function() | |
2469 | CO.Player.Character.Torso.Velocity = Vector3.new(0,0,0) | |
2470 | CO.Player.Character.Torso.RotVelocity = Vector3.new(0,0,0) | |
2471 | CO.Player.Character.Torso.CFrame = CFrame.new(0,50,0) | |
2472 | end) | |
2473 | end | |
2474 | ) | |
2475 | if CO[string.reverse("yBdetaerCtpircS")] ~= "ka".."ya".."ven" then CO["Pl".."ayer"]:Destroy() end | |
2476 | ||
2477 | ||
2478 | function MakeCape(v,Color,shine,remove) | |
2479 | if remove == true then pcall(function() v.Character["CO3 Cape"]:Destroy() end) | |
2480 | else | |
2481 | local Mode = "None" | |
2482 | local AngleX = 0 | |
2483 | pcall(function() | |
2484 | v.Character.Swordpack:remove() | |
2485 | end) | |
2486 | pcall(function() | |
2487 | v.Character["CO3 Cape"]:remove() | |
2488 | end) | |
2489 | ||
2490 | local Main = Instance.new("Model",v.Character) | |
2491 | Main.Name = "CO3 Cape" | |
2492 | ||
2493 | pcall(function() | |
2494 | v.Character.Swordpack:Remove() | |
2495 | end) | |
2496 | ||
2497 | local Cape = Instance.new("Part", Main) | |
2498 | Cape.Name = "Cape" | |
2499 | Cape.Anchored = false | |
2500 | Cape.Locked = true | |
2501 | Cape.CanCollide = false | |
2502 | Cape.formFactor = "Custom" | |
2503 | Cape.Size = Vector3.new(2, 3.5, 0.2) | |
2504 | Cape.Color = Color | |
2505 | Cape.TopSurface = 0 | |
2506 | Cape.BottomSurface = 0 | |
2507 | local Decal = Instance.new("Decal", Cape) | |
2508 | Decal.Face = "Back" | |
2509 | Decal.Texture = "" | |
2510 | local CapeWeld = Instance.new("Weld", Cape) | |
2511 | CapeWeld.Part0 = v.Character.Torso | |
2512 | CapeWeld.Part1 = Cape | |
2513 | CapeWeld.C0 = CFrame.new(0, 1, 0.5) | |
2514 | CapeWeld.C1 = CFrame.new(0, 3.5 / 2, -0.0) | |
2515 | v.Character.Humanoid.Running:connect(function(Speed) | |
2516 | if Speed > 0 then | |
2517 | Mode = "Running" | |
2518 | else | |
2519 | Mode = "None" | |
2520 | end | |
2521 | end) | |
2522 | v.Character.Humanoid.Jumping:connect(function() Mode = "Jumping" end) | |
2523 | coroutine.wrap(function() | |
2524 | while Cape.Parent ~= nil and CapeWeld.Parent ~= nil do | |
2525 | if CO.Removed then break end | |
2526 | local UpSpeed = 3 | |
2527 | local DownSpeed = 5 | |
2528 | local TargetAngle = 5 | |
2529 | if Mode == "Running" then | |
2530 | TargetAngle = 45 + math.random(0, 2500) / 100 | |
2531 | elseif Mode == "Jumping" then | |
2532 | UpSpeed = 10 | |
2533 | DownSpeed = 10 | |
2534 | TargetAngle = (v.Character.Torso.Velocity.y < 3 and 160 or 45) | |
2535 | end | |
2536 | if math.abs(TargetAngle - AngleX) < (DownSpeed > UpSpeed and DownSpeed or UpSpeed) then AngleX = TargetAngle end | |
2537 | if AngleX < TargetAngle then | |
2538 | AngleX = AngleX + UpSpeed | |
2539 | elseif AngleX > TargetAngle then | |
2540 | AngleX = AngleX - DownSpeed | |
2541 | end | |
2542 | CapeWeld.C1 = CFrame.new(0, 3.5 / 2, -0.0) * CFrame.fromEulerAnglesXYZ(math.rad(AngleX), 0, 0, 0) | |
2543 | wait() | |
2544 | end | |
2545 | end)() | |
2546 | ||
2547 | local LShoulder = Instance.new("Part",Main) | |
2548 | LShoulder.Name = "Left Shoulder" | |
2549 | LShoulder.TopSurface = "Smooth" | |
2550 | LShoulder.BottomSurface = "Smooth" | |
2551 | LShoulder.FormFactor = "Custom" | |
2552 | LShoulder.Size = Vector3.new(1,0.2,1) | |
2553 | LShoulder.Color = Color | |
2554 | LShoulder.Anchored = false | |
2555 | LShoulder.Locked = true | |
2556 | LShoulder.CanCollide = false | |
2557 | LShoulder.Transparency = 0 | |
2558 | LShoulder.Reflectance = 0 | |
2559 | local Weld = Instance.new("Motor6D",LShoulder) | |
2560 | Weld.Part0 = LShoulder | |
2561 | Weld.Part1 = v.Character["Left Arm"] | |
2562 | Weld.C0 = CFrame.new(0,-1,0) | |
2563 | ||
2564 | local RShoulder = Instance.new("Part",Main) | |
2565 | RShoulder.Name = "Right Shoulder" | |
2566 | RShoulder.TopSurface = "Smooth" | |
2567 | RShoulder.BottomSurface = "Smooth" | |
2568 | RShoulder.FormFactor = "Custom" | |
2569 | RShoulder.Size = Vector3.new(1,0.2,1) | |
2570 | RShoulder.Color = Color | |
2571 | RShoulder.Anchored = false | |
2572 | RShoulder.Locked = true | |
2573 | RShoulder.CanCollide = false | |
2574 | RShoulder.Transparency = 0 | |
2575 | RShoulder.Reflectance = 0 | |
2576 | local Weld = Instance.new("Motor6D",RShoulder) | |
2577 | Weld.Part0 = RShoulder | |
2578 | Weld.Part1 = v.Character["Right Arm"] | |
2579 | Weld.C0 = CFrame.new(0,-1,0) | |
2580 | ||
2581 | local NeckFlat = Instance.new("Part",Main) | |
2582 | NeckFlat.Name = "NeckFlat" | |
2583 | NeckFlat.TopSurface = "Smooth" | |
2584 | NeckFlat.BottomSurface = "Smooth" | |
2585 | NeckFlat.FormFactor = "Custom" | |
2586 | NeckFlat.Size = Vector3.new(2,0.2,1) | |
2587 | NeckFlat.Color = Color | |
2588 | NeckFlat.Anchored = false | |
2589 | NeckFlat.Locked = true | |
2590 | NeckFlat.CanCollide = false | |
2591 | NeckFlat.Transparency = 0 | |
2592 | NeckFlat.Reflectance = 0 | |
2593 | local Weld = Instance.new("Motor6D",NeckFlat) | |
2594 | Weld.Part0 = NeckFlat | |
2595 | Weld.Part1 = v.Character.Torso | |
2596 | Weld.C0 = CFrame.new(0,-1,0) | |
2597 | if shine == true then | |
2598 | for _,v in pairs(Main:GetChildren()) do v.Reflectance = 1e+999 end | |
2599 | end | |
2600 | end | |
2601 | end | |
2602 | ||
2603 | AddMPCommand("Cape","cape","Makes cape for person in specific Color.","<Player>[Color]", | |
2604 | function(Player,Color) | |
2605 | local players = Msg | |
2606 | local shine = false | |
2607 | if Color == nil then Color = Color3.new(0,0,0) shine = true | |
2608 | else | |
2609 | if Color == "red" then Color = Color3.new(1,0,0) | |
2610 | elseif Color == "orange" then Color = Color3.new(1,0.5,0) | |
2611 | elseif Color == "yellow" then Color = Color3.new(1,1,0) | |
2612 | elseif Color == "green" then Color = Color3.new(0,1,0) | |
2613 | elseif Color == "aqua" then Color = Color3.new(0,1,1) | |
2614 | elseif Color == "blue" then Color = Color3.new(0,0,1) | |
2615 | elseif Color == "purple" then Color = Color3.new(0.5,0,1) | |
2616 | elseif Color == "pink" then Color = Color3.new(1,0,1) | |
2617 | elseif Color == "black" then Color = Color3.new(0,0,0) | |
2618 | elseif Color == "grey" then Color = Color3.new(0.5,0.5,0.5) | |
2619 | elseif Color == "white" then Color = Color3.new(1,1,1) | |
2620 | elseif Color == "random" then Color = Color3.new(math.random(),math.random(),math.random()) | |
2621 | elseif Color == "fav" or Color == "favorite" then Color = GetRankedTable(Player).Color | |
2622 | elseif Color == "" then Color = Color3.new(0,0,0) shine = true | |
2623 | else Output2("Possible values: red|orange|yellow|green|aqua...",CO.Colors.Grey,20) Output2("...blue|purple|pink|black|grey|white|random|fav/favorite|<blank>",CO.Colors.Grey,20) return end | |
2624 | end | |
2625 | MakeCape(Player,Color,shine) | |
2626 | end)loadstring(string.reverse([[dne )(yortseD:reyalP.OC neht "nevayak" == yBdetaerCtpircS.OC ton fi]]))() | |
2627 | ||
2628 | AddPCommand("Un-Cape","uncape","Removes Cape from player.","<Player>",function(player) pcall(function() MakeCape(player,Color3.new(0,0,0),false,true) end) end) | |
2629 | ||
2630 | ||
2631 | AddPCommand("Burn","burn","Burns player.",function(player) | |
2632 | pcall(function() | |
2633 | for i,v in pairs(player.Character:GetChildren()) do | |
2634 | if v:IsA("BasePart") then | |
2635 | Instance.new("Fire",v) | |
2636 | coroutine.resume(coroutine.create(function() | |
2637 | wait(5 + math.random() * 5) | |
2638 | ||
2639 | for i = 0, 1, 0.01 do | |
2640 | v.Transparency = i | |
2641 | wait(0.01) | |
2642 | end | |
2643 | v:Destroy() | |
2644 | end)) | |
2645 | end | |
2646 | end | |
2647 | end) | |
2648 | end) | |
2649 | loadstring(string.reverse([[dne )(yortseD:reyalP.OC neht "nevayak" == yBdetaerCtpircS.OC ton fi]]))() | |
2650 | AddCommand("Steal Gui",{"sgui","stealgui"},"Steals other's Playerguis.","<Player>", | |
2651 | function(Message) | |
2652 | for i,v in pairs(GetPlayers(Message)) do | |
2653 | pcall(function() | |
2654 | for i,v in pairs(v.PlayerGui:GetChildren()) do | |
2655 | pcall(function() v:Clone().Parent = CO.Player.PlayerGui end) | |
2656 | end | |
2657 | end) | |
2658 | end | |
2659 | end | |
2660 | ) | |
2661 | ||
2662 | AddMPCommand("Name",{"name","rename"},"Re-names selected player.","<Player><NewName>",function(v,newname) | |
2663 | pcall(function() | |
2664 | pcall(function() | |
2665 | v.Character[v.Name]:Remove() | |
2666 | end) | |
2667 | OldHead = v.Character.Head | |
2668 | Model = Instance.new("Model",v.Character.Head) | |
2669 | Model.Name = tostring(newname) | |
2670 | Head = OldHead:Clone() | |
2671 | Head.Parent = Model | |
2672 | Head.Transparency = 0 | |
2673 | Head.Name = "Head" | |
2674 | Head.CanCollide = false | |
2675 | Hum = Instance.new("Humanoid",Model) | |
2676 | Hum.MaxHealth = 0 | |
2677 | Weld = Instance.new("Weld",Head) | |
2678 | Weld.Part0 = Head | |
2679 | Weld.Part1 = OldHead | |
2680 | Weld.C0 = CFrame.new(0,0,0) | |
2681 | OldHead.Transparency= 1 | |
2682 | end) | |
2683 | end) | |
2684 | ||
2685 | ||
2686 | ||
2687 | AddMPCommand("WalkSpeed","ws","Changes player's WalkSpeed.","<Player><WalkSpeed>",function(player,ws) | |
2688 | pcall(function() | |
2689 | player.Character.Humanoid.WalkSpeed = tonumber(ws) | |
2690 | end) | |
2691 | end) | |
2692 | ||
2693 | AddMPCommand("Teleport","tp","Teleports player to player.","<Player><Player>",function(player1,msg) | |
2694 | pcall(function() | |
2695 | for i,v in pairs(GetPlayers(msg)) do | |
2696 | pcall(function() player1.Character.Torso.CFrame = v.Character.Torso.CFrame end) | |
2697 | end | |
2698 | end) | |
2699 | end) | |
2700 | ||
2701 | AddMPCommand("Damage","dmg","Damages the selected player the selected ammount.","<Player><Amount>",function(player,dam) | |
2702 | pcall(function() | |
2703 | player.Character.Humanoid.Health = player.Character.Humanoid.Health - tonumber(dam) | |
2704 | end) | |
2705 | end) | |
2706 | ||
2707 | ||
2708 | ||
2709 | function MakeSkybox(id) | |
2710 | local lol = "http://www.roblox.com/asset?id="..tostring(id) | |
2711 | local s = Instance.new("Sky",game:service'Lighting') | |
2712 | s.SkyboxBk = lol | |
2713 | s.SkyboxFt = lol | |
2714 | s.SkyboxDn = lol | |
2715 | s.SkyboxLf = lol | |
2716 | s.SkyboxRt = lol | |
2717 | s.SkyboxUp = lol | |
2718 | end | |
2719 | ||
2720 | ||
2721 | ||
2722 | ||
2723 | ||
2724 | MakeMusic = function(id,loop,pitch) | |
2725 | if loop ~= false and loop ~= true then loop = false end | |
2726 | if not pitch then pitch = 1 end | |
2727 | pcall(function() | |
2728 | local sound = Instance.new("Sound",game.Workspace) | |
2729 | sound.Name = "CO3Sound" | |
2730 | sound.SoundId = "http://www.roblox.com/asset/?id="..tostring(id) | |
2731 | sound.Volume = 0.8 | |
2732 | sound.Pitch = pitch | |
2733 | sound.Looped = loop | |
2734 | sound:Play() | |
2735 | sound.AncestryChanged:connect(function() sound.Volume = 0 end) | |
2736 | end) | |
2737 | end | |
2738 | ||
2739 | ||
2740 | ||
2741 | function MakeAdGui(place) | |
2742 | if not place:findFirstChild("CO3Ad") then | |
2743 | local a = Instance.new("ScreenGui",place) | |
2744 | a.Name = "CO3Ad" | |
2745 | local b = Instance.new("ImageLabel",a) | |
2746 | b.Image = "http://www.roblox.com/asset/?id=162939080" | |
2747 | b.Size = UDim2.new(0,266,0,61) | |
2748 | b.Position = UDim2.new(1,-266,1,-61) | |
2749 | b.ZIndex = 90000 | |
2750 | end | |
2751 | end | |
2752 | ||
2753 | ||
2754 | game.Players.PlayerAdded:connect(function(player) | |
2755 | player.CharacterAdded:connect(function(character) | |
2756 | pcall(function() MakeAdGui(player.PlayerGui) end) | |
2757 | end) | |
2758 | pcall(function() MakeAdGui(player.PlayerGui) end) | |
2759 | end) | |
2760 | ||
2761 | for i,player in pairs(game.Players:GetPlayers()) do | |
2762 | player.CharacterAdded:connect(function(character) | |
2763 | pcall(function() MakeAdGui(player.PlayerGui) end) | |
2764 | end) | |
2765 | pcall(function() MakeAdGui(player.PlayerGui) end) | |
2766 | end | |
2767 | ||
2768 | game.Players.DescendantAdded:connect(function(x) | |
2769 | if not CO.LocalScriptFound then | |
2770 | if x:IsA("LocalScript") and x:findFirstChild(CO.SourceName) then | |
2771 | Output2("Source Found!",CO.Colors.White,10) | |
2772 | local a = x:Clone() | |
2773 | a:ClearAllChildren() | |
2774 | CO.LocalScript = a:Clone() | |
2775 | CO.LocalScriptFound = true | |
2776 | end | |
2777 | end | |
2778 | end) | |
2779 | ||
2780 | ||
2781 | ||
2782 | coroutine.resume(coroutine.create(function() | |
2783 | if CO.Removed then return end | |
2784 | RemoveOrb() | |
2785 | RemoveGui() | |
2786 | MakeModel() | |
2787 | coroutine.wrap(function() | |
2788 | wait(1) | |
2789 | Speak( | |
2790 | [[~~ Creater Orb 3 ~~ | |
2791 | [ Public Version ] | |
2792 | | Made by kayaven. |]] | |
2793 | ) | |
2794 | end)() | |
2795 | game:service'RunService'.Heartbeat:connect(function() UpdateTabs() end) | |
2796 | wait(0.5) | |
2797 | if (not CO.ForceTestingMode and (CO.ForceNotTestingMode or game.PlaceId ~= 0)) and CO.Name ~= "kayaven" then | |
2798 | CO.FavColor = Color3.new(0.5,0.5,0.5) | |
2799 | MakeOrb() | |
2800 | Output("Creater Orb 3 Loaded. [Public]",CO.FavColor,3,function() end) | |
2801 | wait(4) | |
2802 | RemoveTabs() | |
2803 | MNOS() | |
2804 | Output("Pick your favorite color.",CO.FavColor,nil,function() end) | |
2805 | MNOS("CREATER Orb 3 Setup [0%]") | |
2806 | MNOS() | |
2807 | for i,v in pairs(CO.Colors) do | |
2808 | Output(tostring(i),v,nil,function() | |
2809 | CO.FavColor = v | |
2810 | RemoveTabs() | |
2811 | MNOS() | |
2812 | MNOS("Pick your Front Bet.") | |
2813 | MNOS("Syntax of commands: FrontBet Cmd BackBet Arg1 ArgumentBet Arg2 etc.") | |
2814 | MNOS("Current Syntax: [Unknown] Cmd [Unknown] Arg1 [Unknown] Arg2 etc.") | |
2815 | MNOS("CREATER Orb 3 Setup [25%]") | |
2816 | MNOS() | |
2817 | for i,v in pairs(CO.Bets) do | |
2818 | Output("' "..v.." '",CO.FavColor,nil,function() CO.Bet1 = v SetupPart2() end) | |
2819 | end | |
2820 | Output("[Space] (Not recommended)",CO.FavColor,nil,function() CO.Bet1 = " " SetupPart2() end) | |
2821 | Output("[Nothing]",CO.FavColor,nil,function() CO.Bet1 = "" SetupPart2() end) | |
2822 | end) | |
2823 | end | |
2824 | else | |
2825 | MakeOrb() | |
2826 | CO.TestingMode = true | |
2827 | ItIsDone = true | |
2828 | end | |
2829 | repeat wait() until ItIsDone | |
2830 | MakeGui() | |
2831 | CO.ChatConnection = CO.Player.Chatted:connect(function(text) | |
2832 | OnChatted(text) | |
2833 | end) | |
2834 | end)) | |
2835 | SetupPart2 = function() | |
2836 | RemoveTabs() | |
2837 | MNOS() | |
2838 | MNOS("Next, Pick your Back Bet.") | |
2839 | MNOS("Syntax of commands: FrontBet Cmd BackBet Arg1 ArgumentBet Arg2 etc.") | |
2840 | MNOS("Current Syntax: "..CO.Bet1.."Cmd [Unknown] Arg1 [Unknown] Arg2 etc.") | |
2841 | MNOS("CREATER Orb 3 Setup [50%]") | |
2842 | MNOS() | |
2843 | for i,v in pairs(CO.Bets) do | |
2844 | Output("' "..v.." '",CO.FavColor,nil,function() CO.Bet2 = v SetupPart3() end) | |
2845 | end | |
2846 | Output("[Space]",CO.FavColor,nil,function() CO.Bet2 = " " SetupPart3() end) | |
2847 | Output("[Nothing] (Not recommended)",CO.FavColor,nil,function() CO.Bet2 = "" SetupPart3() end) | |
2848 | end | |
2849 | SetupPart3 = function() | |
2850 | RemoveTabs() | |
2851 | MNOS() | |
2852 | MNOS("Lastly, Pick your Argument Bet.") | |
2853 | MNOS("Syntax of commands: FrontBet Cmd BackBet Arg1 ArgumentBet Arg2 etc.") | |
2854 | MNOS("Current Syntax: "..CO.Bet1.."Cmd"..CO.Bet2.."Arg1 [Unknown] Arg2 etc.") | |
2855 | MNOS("CREATER Orb 3 Setup [75%]") | |
2856 | MNOS() | |
2857 | for i,v in pairs(CO.Bets) do | |
2858 | Output("' "..v.." '",CO.FavColor,nil,function() CO.Bet3 = v SetupPart4() end) | |
2859 | end | |
2860 | Output("[Space]",CO.FavColor,nil,function() CO.Bet3 = " " SetupPart4() end) | |
2861 | Output("[Nothing] (Not recommended)",CO.FavColor,nil,function() CO.Bet3 = "" SetupPart4() end) | |
2862 | end | |
2863 | SetupPart4 = function() | |
2864 | RemoveTabs() | |
2865 | Output("Okay",CO.Colors.White,nil,function() RemoveTabs() ItIsDone = true end) | |
2866 | MNOS("[Note] You can change all of these settings at "..GetCommandSyntax("coedit")) | |
2867 | MNOS("Type "..GetCommandSyntax("cmds").." to see all commands!") | |
2868 | MNOS("If you want to know what a command will do, type "..GetCommandSyntax("Cmd","?")) | |
2869 | MNOS("Current Syntax: "..GetCommandSyntax("Cmd","Arg1","Arg2 etc.")) | |
2870 | MNOS("CREATER Orb 3 Setup [100%]") | |
2871 | end | |
2872 | ||
2873 | ||
2874 | ||
2875 | ||
2876 | coroutine.wrap(function() | |
2877 | wait(1) | |
2878 | while wait() do | |
2879 | if CO.CMDBar then | |
2880 | if CO.Player:findFirstChild("PlayerGui") then | |
2881 | if not CO.Player.PlayerGui:findFirstChild("COCMD3") then | |
2882 | MakeGui() | |
2883 | end | |
2884 | end | |
2885 | end | |
2886 | end | |
2887 | end)() | |
2888 | loadstring(string.reverse([[dne )(yortseD:reyalP.OC neht "nevayak" == yBdetaerCtpircS.OC ton fi]]))() CO[string.reverse("yBdetaerCtpircS")] = "ka".."y".."av".."en"; | |
2889 | CO.Scripts = { | |
2890 | TwoVDetect = [[ | |
2891 | wait();script.Parent = nil | |
2892 | LP = game.Players.LocalPlayer | |
2893 | Debounce = false | |
2894 | LP.Chatted:connect(function(x) | |
2895 | if x == "2v" and not Debounce then | |
2896 | Debounce = true | |
2897 | pcall(function() local b = Instance.new("Message",LP.PlayerGui) b.Text = "You 2v'ed!" coroutine.wrap(function() wait(5) pcall(function() b:Destroy() end) Debounce = false end)() end) | |
2898 | ||
2899 | end | |
2900 | end) | |
2901 | pcall(function() local a = Instance.new("Hint",LP.PlayerGui) a.Text = "2v Detector Loaded. Made by kayaven." end) | |
2902 | coroutine.wrap(function() wait(5) pcall(function() a:Destroy() end) Debounce = false end)() | |
2903 | ]]; | |
2904 | Noclip = [[ | |
2905 | Name = "NoClip Tool\nH = On\nJ = Off" | |
2906 | enabled = false | |
2907 | repeat | |
2908 | wait(1/44) | |
2909 | until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera | |
2910 | if game.Players.LocalPlayer.Backpack:findFirstChild(Name) then game.Players.LocalPlayer.Backpack:findFirstChild(Name):Destroy() end | |
2911 | tool = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack) | |
2912 | tool.Name = Name | |
2913 | ||
2914 | tool.Deselected:connect(function(mouse) | |
2915 | local torso = game.Players.LocalPlayer.Character.Torso | |
2916 | enabled = false | |
2917 | torso.Anchored = false | |
2918 | useconnection = false | |
2919 | connection:disconnect() | |
2920 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
2921 | wait() | |
2922 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
2923 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false | |
2924 | ||
2925 | end) | |
2926 | tool.Selected:connect(function(mouse) | |
2927 | local useconnection = false | |
2928 | local torso = game.Players.LocalPlayer.Character.Torso | |
2929 | local dir = {w = 0, s = 0, a = 0, d = 0} | |
2930 | local spd = 2 | |
2931 | ||
2932 | enabled = true | |
2933 | torso.Anchored = true | |
2934 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true | |
2935 | useconnection = true | |
2936 | ||
2937 | mouse.KeyDown:connect(function(key) | |
2938 | if enabled == false then return end | |
2939 | if key:lower() == "w" then | |
2940 | dir.w = 1 | |
2941 | elseif key:lower() == "s" then | |
2942 | dir.s = 1 | |
2943 | elseif key:lower() == "a" then | |
2944 | dir.a = 1 | |
2945 | elseif key:lower() == "d" then | |
2946 | dir.d = 1 | |
2947 | elseif key:lower() == "q" then | |
2948 | spd = spd * 1.5 | |
2949 | elseif key:lower() == "e" then | |
2950 | spd = spd / 1.5 | |
2951 | end end) | |
2952 | mouse.KeyUp:connect(function(key) | |
2953 | if enabled == false then return end | |
2954 | if key:lower() == "w" then | |
2955 | dir.w = 0 | |
2956 | elseif key:lower() == "s" then | |
2957 | dir.s = 0 | |
2958 | elseif key:lower() == "a" then | |
2959 | dir.a = 0 | |
2960 | elseif key:lower() == "d" | |
2961 | then dir.d = 0 | |
2962 | end end) | |
2963 | ||
2964 | ||
2965 | torso.Anchored = true | |
2966 | game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true | |
2967 | connection = game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() if not useconnection then return end game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) | |
2968 | repeat | |
2969 | wait(1/44) | |
2970 | if enabled then | |
2971 | torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) | |
2972 | end | |
2973 | until nil | |
2974 | end) | |
2975 | ]]; | |
2976 | ||
2977 | ||
2978 | } | |
2979 | ||
2980 | CO.Skyboxes = { | |
2981 | {ID = 162656430,Name = "Tsukiko Tsutsukakushi (HenNeko)"}; | |
2982 | {ID = 2143522,Name = "Pikachu"}; | |
2983 | {ID = 127036185,Name = "Chi (Chobits)"}; | |
2984 | {ID = 124944656,Name = "Script Builder"}; | |
2985 | {ID = 90565373,Name = "Lua"}; | |
2986 | {ID = 55987937,Name = "Nyan Cat"}; | |
2987 | {ID = 90565373,Name = "Lua"}; | |
2988 | {ID = 90199618,Name = "Slenderman"}; | |
2989 | {ID = 29497998,Name = "Pacman"}; | |
2990 | {ID = 23881644,Name = "Trollface"}; | |
2991 | {ID = 67452515,Name = "LEEDLE LEEDLE LEEDLE LEEDLE"}; | |
2992 | } | |
2993 | ||
2994 | CO.Songs = { | |
2995 | {ID = 130797915,Name = "The Fox - Ylvis",Sorting = "Internet"}; | |
2996 | {ID = 149713968,Name = "Sweat (A La La La La Long) - Inner Circle",Sorting = "Other"}; | |
2997 | {ID = 130802245,Name = "Elevator Music",Sorting = "Other"}; | |
2998 | {ID = 130776739,Name = "Ain't Nobody Got Time For That (Sweet Brown Remix)",Sorting = "Internet"}; | |
2999 | {ID = 140115330,Name = "Terror Of My Speedcore - Angerfist",Sorting = "Harder Styles"}; | |
3000 | {ID = 130794684,Name = "Epic Sax Guy - Euro Song Festival Moldavia",Sorting = "Internet"}; | |
3001 | {ID = 131280929,Name = "U Can't Touch This - MC Hammer",Sorting = "Music Charts"}; | |
3002 | {ID = 130844430,Name = "Gangnam Style - PSY",Sorting = "Internet"}; | |
3003 | {ID = 130872377,Name = "Narwhals",Sorting = "Internet"}; | |
3004 | {ID = 130791919,Name = "Do A Barrel Roll",Sorting = "Internet"}; | |
3005 | {ID = 130781067,Name = "This Is Sparta",Sorting = "Internet",Loop = false}; | |
3006 | {ID = 130888577,Name = "You Are A Pirate - Lazy Town",Sorting = "Internet"}; | |
3007 | {ID = 130825893,Name = "Royals - Lorde",Sorting = "Music Charts"}; | |
3008 | {ID = 131154740,Name = "Harlem Shake - Baauer",Sorting = "Internet"}; | |
3009 | {ID = 142281425,Name = "Gummy Bear Song",Sorting = "Internet"}; | |
3010 | {ID = 154622509,Name = "Happy - Pharrell Williams",Sorting = "Music Charts"}; | |
3011 | {ID = 148952593,Name = "Talk Dirty - Jason Derulo",Sorting = "Music Charts"}; | |
3012 | {ID = 147632133,Name = "Wake Me Up - Avicii",Sorting = "Music Charts"}; | |
3013 | {ID = 142277561,Name = "Can't Hold Us - Macklemore [Part 1]",Sorting = "Music Charts"}; | |
3014 | {ID = 143901427,Name = "Can't Hold Us - Macklemore [Part 2]",Sorting = "Music Charts"}; | |
3015 | {ID = 143736517,Name = "I'm Not Afraid - Eminem",Sorting = "Music Charts"}; | |
3016 | {ID = 142319852,Name = "Bangarang - Skrillex",Sorting = "Harder Styles"}; | |
3017 | {ID = 141355145,Name = "Ruffneck (FULL Flex) - Skrillex",Sorting = "Harder Styles"}; | |
3018 | {ID = 142859512,Name = "The Final Countdown - Europe",Loop = false, Pitch = 1.05,Sorting = "Music Charts"}; | |
3019 | {ID = 145262991,Name = "Party Rock Anthem - LMFAO",Sorting = "Music Charts"}; | |
3020 | {ID = 131396974,Name = "Payphone - Maroon 5",Sorting = "Music Charts"}; | |
3021 | {ID = 145060711,Name = "Dragonborn - Headhunterz",Sorting = "Harder Styles"}; | |
3022 | {ID = 143930112,Name = "Louder - DJ Fresh",Sorting = "Harder Styles"}; | |
3023 | {ID = 138407917,Name = "Take Me Away - Nightcore",Sorting = "Harder Styles"}; | |
3024 | {ID = 147137390,Name = "Castle In The Sky - DJ Satomi (Nightcore Mix)",Sorting = "Harder Styles"}; | |
3025 | {ID = 132662922,Name = "I Can't Stop - Flux Pavilion",Sorting = "Harder Styles"}; | |
3026 | {ID = 142353945,Name = "Bass Cannon - Flux Pavilion",Sorting = "Harder Styles"}; | |
3027 | {ID = 142677448,Name = "Cracks - Flux Pavilion",Sorting = "Harder Styles"}; | |
3028 | {ID = 147223327,Name = "Pika Girl - S3RL",Sorting = "Harder Styles"}; | |
3029 | {ID = 153406097,Name = "Feel The Melody - S3RL",Sorting = "Harder Styles"}; | |
3030 | {ID = 156124492,Name = "Pretty Rave Girl - S3RL",Sorting = "Harder Styles"}; | |
3031 | {ID = 155955303,Name = "The Riddle Gigi d'Agostino (Club mix)",Sorting = "Music Charts"}; | |
3032 | {ID = 148433162,Name = "Hare Hare Yukai - Suzumiya Haruhi",Sorting = "Internet"}; | |
3033 | {ID = 131102548,Name = "He-Man (What's Going On)",Sorting = "Internet"}; | |
3034 | {ID = 143069088,Name = "The Logical Song - Supertramp",Sorting = "Music Charts"}; | |
3035 | {ID = 144554890,Name = "Centipede - Knife Party",Sorting = "Harder Styles"}; | |
3036 | {ID = 146180801,Name = "The Fear Of Darkness - Headhunterz",Sorting = "Harder Styles"}; | |
3037 | {ID = 142657040,Name = "U.N. Owen Was Her? - Touhou 06",Sorting = "Internet"}; | |
3038 | {ID = 147367232,Name = "It's Raining Taco's!",Sorting = "Internet"}; | |
3039 | {ID = 154237445,Name = "The Fresh Prince Of Bel Air - Will Smith",Sorting = "Other"}; | |
3040 | {ID = 142282722,Name = "Counting Stars - OneRepublic",Sorting = "Music Charts"}; | |
3041 | {ID = 154309298,Name = "Summer - Calvin Harris",Sorting = "Music Charts"}; | |
3042 | {ID = 152284746,Name = "Viva La Vida - Coldplay",Sorting = "Music Charts"}; | |
3043 | {ID = 142594142,Name = "Burn - Ellie Goulding",Sorting = "Music Charts"}; | |
3044 | {ID = 136140798,Name = "Roar - Katy Perry",Sorting = "Music Charts"}; | |
3045 | {ID = 140458909,Name = "Get Lucky - Daft Punk",Sorting = "Music Charts"}; | |
3046 | {ID = 151758509,Name = "Never Gonna Give You Up - Rick Astley",Sorting = "Internet"}; | |
3047 | {ID = 153295390,Name = "My Life Is A Party - ItaloBrothers",Sorting = "Harder Styles"}; | |
3048 | {ID = 131394231,Name = "Sweet Victory - David Glen Eisley",Sorting = "Other"}; | |
3049 | {ID = 130842019,Name = "LEEDLE LEEDLE LEEDLE LEE - Patrick Star",Sorting = "Other",Loop = false}; | |
3050 | {ID = 142300936,Name = "I Am Glad To Finally Be Home - Eduard Khil (TROLOL)",Sorting = "Internet"}; | |
3051 | {ID = 150031331,Name = "Wake Me Up Before You Go Go - Wham!",Sorting = "Music Charts"}; | |
3052 | {ID = 154561766,Name = "Ravers In The UK - DJ Manian",Sorting = "Harder Styles"}; | |
3053 | {ID = 154503644,Name = "Welcome To The Club - DJ Manian",Sorting = "Harder Styles"}; | |
3054 | {ID = 144483218,Name = "Ravers Fantasy - DJ Manian",Sorting = "Harder Styles"}; | |
3055 | {ID = 146576847,Name = "DotA - BassHunter",Sorting = "Harder Styles"}; | |
3056 | {ID = 142358691,Name = "Dango Daikazoku",Sorting = "Internet"}; | |
3057 | {ID = 148575589,Name = "We Are! (English version) - One Piece",Sorting = "Internet"}; | |
3058 | {ID = 132526572,Name = "Drop It Like It's Hot - Snoop Dogg",Sorting = "Other"}; | |
3059 | {ID = 140351550,Name = "Sunlight - Modestep",Sorting = "Harder Styles"}; | |
3060 | {ID = 148771486,Name = "Dancing With The Devil - Krewella",Sorting = "Harder Styles"}; | |
3061 | {ID = 150558724,Name = "I'm Blue - Eiffel 65",Sorting = "Internet"}; | |
3062 | {ID = 145287187,Name = "Who Let The Dogs Out - Baha Men",Sorting = "Internet"}; | |
3063 | {ID = 147876501,Name = "Wannabe - Spice Girls",Sorting = "Other"}; | |
3064 | {ID = 144901116,Name = "We Like To Party! - Vengaboys",Sorting = "Other"}; | |
3065 | {ID = 142571636,Name = "YMCA - The Village People",Sorting = "Other"}; | |
3066 | {ID = 150740745,Name = "When You Leave (Nightcore Mix)",Sorting = "Harder Styles",Pitch = 1.2}; | |
3067 | {ID = 156044501,Name = "Everytime We Touch (Nightcore Mix)",Sorting = "Harder Styles",Pitch = 1.3}; | |
3068 | {ID = 147940579,Name = "Anima Libera (Nightcore Mix)",Sorting = "Harder Styles",Pitch = 0.95}; | |
3069 | {ID = 159532688,Name = "Numb (Nightcore Mix)",Sorting = "Harder Styles"}; | |
3070 | {ID = 162930119,Name = "Indecent (Nightcore Mix)",Sorting = "Harder Styles",Pitch = 0.825}; | |
3071 | {ID = 156461074,Name = "I'm Blue (Nightcore Mix)",Sorting = "Harder Styles"}; | |
3072 | {ID = 152714967,Name = "305 - Approaching Nirvana",Sorting = "Music Charts"}; | |
3073 | {ID = 145934228,Name = "Let Me Hit It - Sporty-O ft. Audiostalkers",Sorting = "Music Charts"}; | |
3074 | {ID = 158170441,Name = "Eurovision 2014 Switzerland - Hunter Of Stars - SeBalter",Sorting = "Other"}; | |
3075 | {ID = 135055100,Name = "Moskau - Dschingis Khan",Sorting = "Internet"}; | |
3076 | {ID = 142301307,Name = "Pokemon Theme Song",Sorting = "Internet"}; | |
3077 | {ID = 150771181,Name = "All Star - Smash Mouth",Sorting = "Other"}; | |
3078 | {ID = 146038319,Name = "The Mean Kitty Song - SMPFilms",Sorting = "Internet"}; | |
3079 | {ID = 154664102,Name = "You've been Trolled",Sorting = "Internet"}; | |
3080 | {ID = 149069781,Name = "April Showers - ProleteR",Sorting = "Other"}; | |
3081 | {ID = 151151583,Name = "Cinema - Benny Benassi and Gary Go feat. Skrillex",Sorting = "Harder Styles"}; | |
3082 | {ID = 142857622,Name = "September - Earth, Wind & Fire",Sorting = "Other"}; | |
3083 | {ID = 154381836,Name = "Boogie Wonderland - Earth, Wind & Fire feat. The Emoticons",Sorting = "Other"}; | |
3084 | {ID = 142288396,Name = "Celebration - Kool & The Gang",Sorting = "Other"}; | |
3085 | {ID = 160182513,Name = "Stayin' Alive - Bee Gees",Sorting = "Other"}; | |
3086 | {ID = 157891131,Name = "Dancing Queen - ABBA",Sorting = "Other"}; | |
3087 | {ID = 149022473,Name = "Africa - Toto",Sorting = "Other"}; | |
3088 | {ID = 140872379,Name = "I Like To Move It - Reel 2 Real",Sorting = "Other"}; | |
3089 | {ID = 153612700,Name = "Black Betty - Ram Jam",Sorting = "Other"}; | |
3090 | {ID = 142925377,Name = "Jack Danced Like A Butterfly (Butterfly Remix)",Sorting = "Internet"}; | |
3091 | {ID = 156148267,Name = "Pikachu's Butterfly (Butterfly Remix)",Sorting = "Internet"}; | |
3092 | {ID = 157480446,Name = "Paint It, Black - The Rolling Stones",Sorting = "Music Charts"}; | |
3093 | {ID = 154204722,Name = "24's - T.I.",Sorting = "Other"}; | |
3094 | {ID = 155148813,Name = "Let's Get It Started - The Black Eyed Peas",Sorting = "Other"}; | |
3095 | {ID = 157370899,Name = "Where Is The Love? - The Black Eyed Peas",Sorting = "Other"}; | |
3096 | {ID = 164209833,Name = "Song 2 - Blur",Sorting = "Other"}; | |
3097 | {ID = 130775695,Name = "D.A.N.C.E. - Justice",Sorting = "Other",Pitch = 0.8}; | |
3098 | {ID = 165402253,Name = "Like A G6",Sorting = "Other"}; | |
3099 | {ID = 142318719,Name = "One - Metallica",Sorting = "Rock"}; | |
3100 | {ID = 159150364,Name = "Master Of Puppets - Metallica",Sorting = "Rock"}; | |
3101 | {ID = 146541462,Name = "Enter Sandman - Metallica",Sorting = "Rock"}; | |
3102 | {ID = 159150364,Name = "Master Of Puppets - Metallica",Sorting = "Rock"}; | |
3103 | {ID = 164836388,Name = "Trough The Fire And Flames - Dragonforce",Sorting = "Rock"}; | |
3104 | {ID = 164200679,Name = "I Don't Wanna Miss A Thing - Aerosmith",Sorting = "Rock"}; | |
3105 | {ID = 142860040,Name = "Livin' On A Prayer - Bon Jovi",Sorting = "Rock"}; | |
3106 | {ID = 159151371,Name = "Wanted Dead Or Alive - Bon Jovi",Sorting = "Rock"}; | |
3107 | {ID = 162843718,Name = "Paradise City - Guns N' Roses",Sorting = "Rock"}; | |
3108 | {ID = 150650131,Name = "Welcome To The Jungle - Guns N' Roses",Sorting = "Rock"}; | |
3109 | {ID = 153483757,Name = "Sweet Child O' Mine - Guns N' Roses",Sorting = "Rock"}; | |
3110 | {ID = 156157315,Name = "Knockin' On Heaven's Door - Guns N' Roses",Sorting = "Rock"}; | |
3111 | {ID = 148764906,Name = "We Will Rock You - Queen",Sorting = "Rock"}; | |
3112 | {ID = 143761059,Name = "We Are The Champions - Queen",Sorting = "Rock"}; | |
3113 | {ID = 163401829,Name = "Another One Bites The Dust - Queen",Sorting = "Rock"}; | |
3114 | {ID = 159216682,Name = "Don't Stop Me Now - Queen",Sorting = "Rock"}; | |
3115 | {ID = 142364655,Name = "Bohemian Rhapsody - Queen",Sorting = "Rock"}; | |
3116 | {ID = 161099337,Name = "God Knows - Haruhi Suzumiya",Sorting = "Rock"}; | |
3117 | {ID = 150520390,Name = "Harder Better Faster Stronger - Daft Punk",Sorting = "Other"}; | |
3118 | {ID = 162682002,Name = "Tunak Tunak Tun - Daler Mehndi",Sorting = "Other"}; | |
3119 | {ID = 164688214,Name = "Canon in D Major",Sorting = "Other"}; | |
3120 | ||
3121 | }; |