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