SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Instructions | |
3 | ------------ | |
4 | 1.) Should be local. | |
5 | 2.) Should be Split. | |
6 | 3.) Any stealing will result in a permadent ban | |
7 | 4.) So yeah, here. | |
8 | --]] | |
9 | ||
10 | --[[STARTUP]]-- | |
11 | wait() | |
12 | script.Name = "X_Public" | |
13 | do | |
14 | if script:findFirstChild("DSource") ~= nil then | |
15 | SourceName = "DSource" | |
16 | elseif script:findFirstChild("Source") ~= nil then | |
17 | SourceName = "Source" | |
18 | elseif script:findFirstChild("source") ~= nil then | |
19 | SourceName = "source" | |
20 | else | |
21 | SourceName = "No_Source" | |
22 | end | |
23 | end | |
24 | if SourceName ~= "No_Source" then | |
25 | print("Source found: "..SourceName) | |
26 | elseif SourceName == "No_Source" then | |
27 | print("Source not found, script did not load all features") | |
28 | end | |
29 | script:ClearAllChildren() | |
30 | game.Lighting:ClearAllChildren() | |
31 | wait() | |
32 | --[[The Basic Stuff]]-- | |
33 | LocalPlayer = game:GetService("Players").LocalPlayer | |
34 | runService = game:service'RunService' | |
35 | LSource = script:Clone() | |
36 | char = nil | |
37 | key = nil | |
38 | Mouse = LocalPlayer:GetMouse() | |
39 | ------[[Meshes]]------ | |
40 | CrystalMesh = "http://www.roblox.com/Asset/?id=9756362" | |
41 | ||
42 | TacoMesh = "http://www.roblox.com/asset/?id=14846869" | |
43 | TacoTexture = "http://www.roblox.com/asset/?id=14846834" | |
44 | ||
45 | SaxMesh = "http://www.roblox.com/asset/?id=44410178" | |
46 | SaxTexture = "http://www.roblox.com/asset/?id=44410320" | |
47 | --[[Rest of the Basic Stuff]]-- | |
48 | ChatColor = "Institutional white" | |
49 | Code = "SA: "..game.PlaceId | |
50 | Key = "/" | |
51 | Scale = Vector3.new(2,2,2) | |
52 | HiddenTablets = true | |
53 | TabModelDebounce = false | |
54 | DismissTabOn = false | |
55 | ChatGui = false | |
56 | found = false | |
57 | NilBoot = false --[[ Keep False or else bad things happen ]]-- | |
58 | appearTime = 3 | |
59 | Rotation = 0 | |
60 | Speed = 0.0001 | |
61 | Tabs = {} | |
62 | Cmds = {} | |
63 | ||
64 | Banlist = {"BuildingAustin", "uareugly13", "shadowflame909", "ZpilarKath", "zubit", "Poppu000", "iKryptosAlt", "BrandonF0ng", "xlocalplayerx", "mightydifferent"} | |
65 | ||
66 | HardBanlist = {"wetprinter", "kylerzong", "DerpyCriminal", "Dodecahedrion", "jblade73", "Goulstem", "Gagyimami", "3r4s3r", "1A6UT", "Acarith", "awsomewish"} | |
67 | ||
68 | Services = { | |
69 | game; | |
70 | game:service'Workspace'; | |
71 | game:service'Players'; | |
72 | game:service'Lighting'; | |
73 | game:service'StarterGui'; | |
74 | game:service'StarterPack'; | |
75 | game:service'Debris'; | |
76 | game:service'Teams'; | |
77 | game:service'SoundService'; | |
78 | game:service'FriendService'; | |
79 | game:service'RunService'; | |
80 | game:service'InsertService'; | |
81 | game:service'Chat'; | |
82 | }; | |
83 | --[[START]]-- | |
84 | if LocalPlayer.Character ~= nil then | |
85 | LocalPlayer.Character.Archivable = true | |
86 | Char = LocalPlayer.Character:Clone() | |
87 | end | |
88 | if NilBoot == true then | |
89 | LocalPlayer.Parent = nil | |
90 | ChatGui = true | |
91 | appear(CFrame.new(0,25,0)) | |
92 | local a = Char:Clone() | |
93 | a.Parent = workspace | |
94 | a.Torso.CFrame = CFrame.new(0,25,0) | |
95 | LocalPlayer.Character = a | |
96 | workspace.CurrentCamera.CameraType = "Custom" | |
97 | workspace.CurrentCamera.CameraSubject = a.Humanoid | |
98 | wait(5) | |
99 | SmoothMovement() | |
100 | end | |
101 | --[[TABMODEL]]-- | |
102 | local TabModel = Instance.new("Model") | |
103 | TabModel.Name = "XenoTabs" | |
104 | if HiddenTablets == true then | |
105 | TabModel.Parent = workspace.CurrentCamera | |
106 | TabModelParent = workspace.CurrentCamera | |
107 | elseif HiddenTablets == false then | |
108 | TabModel.Parent = workspace | |
109 | TabModelParent = workspace | |
110 | end | |
111 | --[[PARENTING]]-- | |
112 | script.Parent = _X_PUBLIC_ | |
113 | wait() | |
114 | --[[FUNCTIONS]]-- | |
115 | function Sax(Text,Color,OnClicked) | |
116 | if TabModel.Parent ~= TabModelParent then return end | |
117 | if TabModel == nil then return end | |
118 | if Color == nil then Color = "New Yeller" end | |
119 | if Text == nil then Text = "" end | |
120 | local Text = tostring(Text) | |
121 | Text = Text:gsub("","\5") | |
122 | local Part = Instance.new("Part", TabModel) | |
123 | Part.BrickColor = BrickColor.new(1) | |
124 | Part.FormFactor = "Custom" | |
125 | Part.CanCollide = false | |
126 | Part.Anchored = true | |
127 | Part.Locked = true | |
128 | Part.Shape = "Ball" | |
129 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
130 | Part.Name = "SAX_TABLET: "..math.random(-99999,99999) | |
131 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
132 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
133 | else | |
134 | Part.CFrame = CFrame.new(0,0,0) | |
135 | end | |
136 | local Mesh = Instance.new("SpecialMesh", Part) | |
137 | Mesh.MeshId = SaxMesh | |
138 | Mesh.TextureId = SaxTexture | |
139 | Mesh.Scale = Scale | |
140 | local PointLight = Instance.new("PointLight", Part) | |
141 | PointLight.Color = BrickColor.new("New Yeller").Color | |
142 | PointLight.Range = 8 | |
143 | local BillboardGui = Instance.new("BillboardGui", Part) | |
144 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
145 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
146 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
147 | TextLabel.Text = Text | |
148 | TextLabel.Size = UDim2.new(1,0,1,0) | |
149 | TextLabel.BackgroundTransparency = 1 | |
150 | TextLabel.TextColor = BrickColor.new(Color) | |
151 | TextLabel.Font = "ArialBold" | |
152 | TextLabel.FontSize = "Size24" | |
153 | TextLabel.TextStrokeTransparency = 0 | |
154 | local ClickDetector = Instance.new("ClickDetector", Part) | |
155 | Tabs[#Tabs+1] = Part | |
156 | ClickDetector.MaxActivationDistance = math.huge | |
157 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
158 | if Player.Name == LocalPlayer.Name then | |
159 | Part.Transparency = 0.5 | |
160 | end | |
161 | end) | |
162 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
163 | if Player.Name == LocalPlayer.Name then | |
164 | Part.Transparency = 0 | |
165 | end | |
166 | end) | |
167 | ClickDetector.MouseClick:connect(function(Player) | |
168 | if Player.Name == LocalPlayer.Name then | |
169 | coroutine.wrap(function() | |
170 | for i = 0,180,10 do | |
171 | TextLabel.Rotation = i | |
172 | wait() | |
173 | end | |
174 | end)() | |
175 | coroutine.wrap(function() | |
176 | for i = 0,1,0.1 do | |
177 | Part.Transparency = i | |
178 | wait() | |
179 | end | |
180 | wait() | |
181 | Part:Destroy() | |
182 | for i,v in pairs(Tabs) do | |
183 | if v.Name == Part.Name then | |
184 | table.remove(Tabs,i) | |
185 | end | |
186 | end | |
187 | if OnClicked ~= nil then | |
188 | OnClicked() | |
189 | end | |
190 | end)() | |
191 | end | |
192 | end) | |
193 | if #Tabs > 0 then DismissTab() end | |
194 | end | |
195 | function Taco(Text,Color,OnClicked) | |
196 | if TabModel.Parent ~= TabModelParent then return end | |
197 | if TabModel == nil then return end | |
198 | if Color == nil then Color = "Deep orange" end | |
199 | if Text == nil then Text = "" end | |
200 | local Text = tostring(Text) | |
201 | Text = Text:gsub("","\5") | |
202 | local Part = Instance.new("Part", TabModel) | |
203 | Part.BrickColor = BrickColor.new(1) | |
204 | Part.FormFactor = "Custom" | |
205 | Part.CanCollide = false | |
206 | Part.Anchored = true | |
207 | Part.Locked = true | |
208 | Part.Shape = "Ball" | |
209 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
210 | Part.Name = "TACO_TABLET: "..math.random(-99999,99999) | |
211 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
212 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
213 | else | |
214 | Part.CFrame = CFrame.new(0,0,0) | |
215 | end | |
216 | local Mesh = Instance.new("SpecialMesh", Part) | |
217 | Mesh.MeshId = TacoMesh | |
218 | Mesh.TextureId = TacoTexture | |
219 | Mesh.Scale = Scale | |
220 | local PointLight = Instance.new("PointLight", Part) | |
221 | PointLight.Color = BrickColor.new("Deep orange").Color | |
222 | PointLight.Range = 8 | |
223 | local BillboardGui = Instance.new("BillboardGui", Part) | |
224 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
225 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
226 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
227 | TextLabel.Text = Text | |
228 | TextLabel.Size = UDim2.new(1,0,1,0) | |
229 | TextLabel.BackgroundTransparency = 1 | |
230 | TextLabel.TextColor = BrickColor.new(Color) | |
231 | TextLabel.Font = "ArialBold" | |
232 | TextLabel.FontSize = "Size24" | |
233 | TextLabel.TextStrokeTransparency = 0 | |
234 | local ClickDetector = Instance.new("ClickDetector", Part) | |
235 | Tabs[#Tabs+1] = Part | |
236 | ClickDetector.MaxActivationDistance = math.huge | |
237 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
238 | if Player.Name == LocalPlayer.Name then | |
239 | Part.Transparency = 0.5 | |
240 | end | |
241 | end) | |
242 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
243 | if Player.Name == LocalPlayer.Name then | |
244 | Part.Transparency = 0 | |
245 | end | |
246 | end) | |
247 | ClickDetector.MouseClick:connect(function(Player) | |
248 | if Player.Name == LocalPlayer.Name then | |
249 | coroutine.wrap(function() | |
250 | for i = 0,180,10 do | |
251 | TextLabel.Rotation = i | |
252 | wait() | |
253 | end | |
254 | end)() | |
255 | coroutine.wrap(function() | |
256 | for i = 0,1,0.1 do | |
257 | Part.Transparency = i | |
258 | wait() | |
259 | end | |
260 | wait() | |
261 | Part:Destroy() | |
262 | for i,v in pairs(Tabs) do | |
263 | if v.Name == Part.Name then | |
264 | table.remove(Tabs,i) | |
265 | end | |
266 | end | |
267 | if OnClicked ~= nil then | |
268 | OnClicked() | |
269 | end | |
270 | end)() | |
271 | end | |
272 | end) | |
273 | if #Tabs > 0 then DismissTab() end | |
274 | end | |
275 | function Output(Text,Color,OnClicked) | |
276 | if TabModel.Parent ~= TabModelParent then return end | |
277 | if TabModel == nil then return end | |
278 | if Color == nil then Color = "Institutional white" end | |
279 | if Text == nil then Text = "" end | |
280 | local Text = tostring(Text) | |
281 | Text = Text:gsub("","\5") | |
282 | local Part = Instance.new("Part", TabModel) | |
283 | Part.BrickColor = BrickColor.new(1) | |
284 | Part.FormFactor = "Custom" | |
285 | Part.CanCollide = false | |
286 | Part.Anchored = true | |
287 | Part.Locked = true | |
288 | Part.Shape = "Ball" | |
289 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
290 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
291 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
292 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
293 | else | |
294 | Part.CFrame = CFrame.new(0,0,0) | |
295 | end | |
296 | local Mesh = Instance.new("BlockMesh", Part) | |
297 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
298 | local PointLight = Instance.new("PointLight", Part) | |
299 | PointLight.Color = BrickColor.new("White").Color | |
300 | PointLight.Range = 8 | |
301 | local BillboardGui = Instance.new("BillboardGui", Part) | |
302 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
303 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
304 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
305 | TextLabel.Text = Text | |
306 | TextLabel.Size = UDim2.new(1,0,1,0) | |
307 | TextLabel.BackgroundTransparency = 1 | |
308 | TextLabel.TextColor = BrickColor.new(Color) | |
309 | TextLabel.Font = "ArialBold" | |
310 | TextLabel.FontSize = "Size24" | |
311 | TextLabel.TextStrokeTransparency = 0 | |
312 | local Edge = Instance.new("SelectionBox", Part) | |
313 | Edge.Adornee = Edge.Parent | |
314 | Edge.Transparency=0.5 | |
315 | Edge.Color = BrickColor.new(1) | |
316 | local ClickDetector = Instance.new("ClickDetector", Part) | |
317 | Tabs[#Tabs+1] = Part | |
318 | ClickDetector.MaxActivationDistance = math.huge | |
319 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
320 | if Player.Name == LocalPlayer.Name then | |
321 | Part.Transparency = 0.5 | |
322 | end | |
323 | end) | |
324 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
325 | if Player.Name == LocalPlayer.Name then | |
326 | Part.Transparency = 0 | |
327 | end | |
328 | end) | |
329 | ClickDetector.MouseClick:connect(function(Player) | |
330 | if Player.Name == LocalPlayer.Name then | |
331 | coroutine.wrap(function() | |
332 | for i = 0,180,10 do | |
333 | TextLabel.Rotation = i | |
334 | wait() | |
335 | end | |
336 | end)() | |
337 | coroutine.wrap(function() | |
338 | for i = 0,1,0.1 do | |
339 | Part.Transparency = i | |
340 | wait() | |
341 | end | |
342 | wait() | |
343 | Part:Destroy() | |
344 | for i,v in pairs(Tabs) do | |
345 | if v.Name == Part.Name then | |
346 | table.remove(Tabs,i) | |
347 | end | |
348 | end | |
349 | if OnClicked ~= nil then | |
350 | OnClicked() | |
351 | end | |
352 | end)() | |
353 | end | |
354 | end) | |
355 | if #Tabs > 0 then DismissTab() end | |
356 | end | |
357 | function DiamondCrystal(Text,Color,OnClicked) | |
358 | if TabModel.Parent ~= TabModelParent then return end | |
359 | if TabModel == nil then return end | |
360 | if Color == nil then Color = "Toothpaste" end | |
361 | if Text == nil then Text = "" end | |
362 | local Text = tostring(Text) | |
363 | Text = Text:gsub("","\5") | |
364 | local Part = Instance.new("Part", TabModel) | |
365 | Part.BrickColor = BrickColor.new("Toothpaste") | |
366 | Part.Reflectance = 1 | |
367 | Part.FormFactor = "Custom" | |
368 | Part.CanCollide = false | |
369 | Part.Anchored = true | |
370 | Part.Locked = true | |
371 | Part.Shape = "Ball" | |
372 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
373 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
374 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
375 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
376 | else | |
377 | Part.CFrame = CFrame.new(0,0,0) | |
378 | end | |
379 | local Mesh = Instance.new("BlockMesh", Part) | |
380 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
381 | local PointLight = Instance.new("PointLight", Part) | |
382 | PointLight.Color = BrickColor.new("Toothpaste").Color | |
383 | PointLight.Range = 8 | |
384 | local BillboardGui = Instance.new("BillboardGui", Part) | |
385 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
386 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
387 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
388 | TextLabel.Text = Text | |
389 | TextLabel.Size = UDim2.new(1,0,1,0) | |
390 | TextLabel.BackgroundTransparency = 1 | |
391 | TextLabel.TextColor = BrickColor.new(Color) | |
392 | TextLabel.Font = "ArialBold" | |
393 | TextLabel.FontSize = "Size24" | |
394 | TextLabel.TextStrokeTransparency = 0 | |
395 | local Edge = Instance.new("SelectionBox", Part) | |
396 | Edge.Adornee = Edge.Parent | |
397 | Edge.Transparency=0.5 | |
398 | Edge.Color = BrickColor.new("Toothpaste") | |
399 | local ClickDetector = Instance.new("ClickDetector", Part) | |
400 | Tabs[#Tabs+1] = Part | |
401 | ClickDetector.MaxActivationDistance = math.huge | |
402 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
403 | if Player.Name == LocalPlayer.Name then | |
404 | Part.Transparency = 0.5 | |
405 | end | |
406 | end) | |
407 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
408 | if Player.Name == LocalPlayer.Name then | |
409 | Part.Transparency = 0 | |
410 | end | |
411 | end) | |
412 | ClickDetector.MouseClick:connect(function(Player) | |
413 | if Player.Name == LocalPlayer.Name then | |
414 | coroutine.wrap(function() | |
415 | for i = 0,180,10 do | |
416 | TextLabel.Rotation = i | |
417 | wait() | |
418 | end | |
419 | end)() | |
420 | coroutine.wrap(function() | |
421 | for i = 0,1,0.1 do | |
422 | Part.Transparency = i | |
423 | wait() | |
424 | end | |
425 | wait() | |
426 | Part:Destroy() | |
427 | for i,v in pairs(Tabs) do | |
428 | if v.Name == Part.Name then | |
429 | table.remove(Tabs,i) | |
430 | end | |
431 | end | |
432 | if OnClicked ~= nil then | |
433 | OnClicked() | |
434 | end | |
435 | end)() | |
436 | end | |
437 | end) | |
438 | if #Tabs > 0 then DismissTab() end | |
439 | end | |
440 | function Dismiss() | |
441 | Tabs = {} | |
442 | TabModel:ClearAllChildren() | |
443 | DismissTabOn = false | |
444 | end | |
445 | function DismissTab() | |
446 | if DismissTabOn == true then return end | |
447 | DismissTabOn = true | |
448 | RCrystal("Dismiss","Really red", function() Dismiss() DismissTabOn = false end) | |
449 | end | |
450 | function Chat(Msg, Clr) | |
451 | for _,v in pairs(Cmds) do | |
452 | if #Msg >= #v["Say"]+#Key then | |
453 | if Msg:lower():sub(1,#v["Say"]+#Key) == v["Say"]:lower()..Key:lower() then | |
454 | return | |
455 | end | |
456 | end | |
457 | end | |
458 | if Msg:sub(1,2) == "/e" then return end | |
459 | if Clr == nil then Clr = "Institutional white" end | |
460 | if Msg == nil then Msg = "" end | |
461 | if Msg:sub(1,1) == ";" then Clr = "Really red" Msg = Msg:sub(2) end | |
462 | if Msg:sub(1,1) == "/" then Clr = "Really blue" Msg = Msg:sub(2) end | |
463 | Msg = Msg:gsub("","\5") | |
464 | if LocalPlayer and LocalPlayer.Character and LocalPlayer.Character.Head then | |
465 | if #LocalPlayer.Character.Head:children() > 15 then return end | |
466 | for _,v in pairs(LocalPlayer.Character.Head:children()) do | |
467 | if v.Name == "BG" then | |
468 | coroutine.wrap(function() | |
469 | for i = v.StudsOffset.y,v.StudsOffset.y+2,0.1 do | |
470 | v.StudsOffset = Vector3.new(0,i,0) | |
471 | wait() | |
472 | end | |
473 | wait(2) | |
474 | if v:findFirstChild("TextLabel") ~= nil then | |
475 | for i = 0,1,0.1 do | |
476 | if v:findFirstChild("TextLabel") == nil then break end | |
477 | v.TextLabel.TextTransparency = i | |
478 | v.TextLabel.TextStrokeTransparency = i | |
479 | wait() | |
480 | end | |
481 | end | |
482 | v:Destroy() | |
483 | end)() | |
484 | end | |
485 | end | |
486 | if ChatGui == false then | |
487 | return | |
488 | elseif ChatGui == true then | |
489 | local BG = Instance.new("BillboardGui", LocalPlayer.Character.Head) | |
490 | BG.Name = "BG" | |
491 | BG.Size = UDim2.new(8,0,7,0) | |
492 | BG.StudsOffset = Vector3.new(0,2,0) | |
493 | BG.SizeOffset = Vector2.new(0,.1) | |
494 | local TL = Instance.new("TextLabel", BG) | |
495 | TL.Text = Msg | |
496 | TL.BackgroundTransparency = 1 | |
497 | TL.Size = UDim2.new(1,0,.8,0) | |
498 | TL.Font = "Legacy" | |
499 | TL.FontSize = "Size24" | |
500 | TL.TextStrokeTransparency = 0 | |
501 | if Clr ~= "Random" then | |
502 | TL.TextColor = BrickColor.new(Clr) | |
503 | elseif Clr == "Random" then | |
504 | TL.TextColor = BrickColor.random() | |
505 | end | |
506 | coroutine.wrap(function() | |
507 | wait(5) | |
508 | if TL ~= nil then | |
509 | for i = 0,1,0.1 do | |
510 | if TL == nil then break end | |
511 | TL.TextTransparency = i | |
512 | TL.TextStrokeTransparency = i | |
513 | wait() | |
514 | end | |
515 | end | |
516 | BG:Destroy() | |
517 | end)() | |
518 | end | |
519 | end | |
520 | end | |
521 | function OCrystal(Text,Color,OnClicked) | |
522 | if TabModel.Parent ~= TabModelParent then return end | |
523 | if TabModel == nil then return end | |
524 | if Color == nil then Color = "Institutional white" end | |
525 | if Text == nil then Text = "" end | |
526 | local Text = tostring(Text) | |
527 | Text = Text:gsub("","\5") | |
528 | local Part = Instance.new("Part", TabModel) | |
529 | Part.BrickColor = BrickColor.new("Deep orange") | |
530 | Part.FormFactor = "Custom" | |
531 | Part.CanCollide = false | |
532 | Part.Anchored = true | |
533 | Part.Locked = true | |
534 | Part.Shape = "Ball" | |
535 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
536 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
537 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
538 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
539 | else | |
540 | Part.CFrame = CFrame.new(0,0,0) | |
541 | end | |
542 | local Mesh = Instance.new("BlockMesh", Part) | |
543 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
544 | local PointLight = Instance.new("PointLight", Part) | |
545 | PointLight.Color = BrickColor.new("Deep orange").Color | |
546 | PointLight.Range = 8 | |
547 | local BillboardGui = Instance.new("BillboardGui", Part) | |
548 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
549 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
550 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
551 | TextLabel.Text = Text | |
552 | TextLabel.Size = UDim2.new(1,0,1,0) | |
553 | TextLabel.BackgroundTransparency = 1 | |
554 | TextLabel.TextColor = BrickColor.new(Color) | |
555 | TextLabel.Font = "ArialBold" | |
556 | TextLabel.FontSize = "Size24" | |
557 | TextLabel.TextStrokeTransparency = 0 | |
558 | local Edge = Instance.new("SelectionBox", Part) | |
559 | Edge.Adornee = Edge.Parent | |
560 | Edge.Transparency=0.5 | |
561 | Edge.Color = BrickColor.new("Deep orange") | |
562 | local ClickDetector = Instance.new("ClickDetector", Part) | |
563 | Tabs[#Tabs+1] = Part | |
564 | ClickDetector.MaxActivationDistance = math.huge | |
565 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
566 | if Player.Name == LocalPlayer.Name then | |
567 | Part.Transparency = 0.5 | |
568 | end | |
569 | end) | |
570 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
571 | if Player.Name == LocalPlayer.Name then | |
572 | Part.Transparency = 0 | |
573 | end | |
574 | end) | |
575 | ClickDetector.MouseClick:connect(function(Player) | |
576 | if Player.Name == LocalPlayer.Name then | |
577 | coroutine.wrap(function() | |
578 | for i = 0,180,10 do | |
579 | TextLabel.Rotation = i | |
580 | wait() | |
581 | end | |
582 | end)() | |
583 | coroutine.wrap(function() | |
584 | for i = 0,1,0.1 do | |
585 | Part.Transparency = i | |
586 | wait() | |
587 | end | |
588 | wait() | |
589 | Part:Destroy() | |
590 | for i,v in pairs(Tabs) do | |
591 | if v.Name == Part.Name then | |
592 | table.remove(Tabs,i) | |
593 | end | |
594 | end | |
595 | if OnClicked ~= nil then | |
596 | OnClicked() | |
597 | end | |
598 | end)() | |
599 | end | |
600 | end) | |
601 | if #Tabs > 0 then DismissTab() end | |
602 | end | |
603 | function BlCrystal(Text,Color,OnClicked) | |
604 | if TabModel.Parent ~= TabModelParent then return end | |
605 | if TabModel == nil then return end | |
606 | if Color == nil then Color = "Institutional white" end | |
607 | if Text == nil then Text = "" end | |
608 | local Text = tostring(Text) | |
609 | Text = Text:gsub("","\5") | |
610 | local Part = Instance.new("Part", TabModel) | |
611 | Part.BrickColor = BrickColor.new(1003) | |
612 | Part.FormFactor = "Custom" | |
613 | Part.CanCollide = false | |
614 | Part.Anchored = true | |
615 | Part.Locked = true | |
616 | Part.Shape = "Ball" | |
617 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
618 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
619 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
620 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
621 | else | |
622 | Part.CFrame = CFrame.new(0,0,0) | |
623 | end | |
624 | local Mesh = Instance.new("BlockMesh", Part) | |
625 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
626 | local PointLight = Instance.new("PointLight", Part) | |
627 | PointLight.Color = BrickColor.new("White").Color | |
628 | PointLight.Range = 8 | |
629 | local BillboardGui = Instance.new("BillboardGui", Part) | |
630 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
631 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
632 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
633 | TextLabel.Text = Text | |
634 | TextLabel.Size = UDim2.new(1,0,1,0) | |
635 | TextLabel.BackgroundTransparency = 1 | |
636 | TextLabel.TextColor = BrickColor.new(Color) | |
637 | TextLabel.Font = "ArialBold" | |
638 | TextLabel.FontSize = "Size24" | |
639 | TextLabel.TextStrokeTransparency = 0 | |
640 | local Edge = Instance.new("SelectionBox", Part) | |
641 | Edge.Transparency=0.5 | |
642 | Edge.Adornee = Edge.Parent | |
643 | Edge.Color = BrickColor.new(1003) | |
644 | local ClickDetector = Instance.new("ClickDetector", Part) | |
645 | Tabs[#Tabs+1] = Part | |
646 | ClickDetector.MaxActivationDistance = math.huge | |
647 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
648 | if Player.Name == LocalPlayer.Name then | |
649 | Part.Transparency = 0.6 | |
650 | end | |
651 | end) | |
652 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
653 | if Player.Name == LocalPlayer.Name then | |
654 | Part.Transparency = 1 | |
655 | end | |
656 | end) | |
657 | ClickDetector.MouseClick:connect(function(Player) | |
658 | if Player.Name == LocalPlayer.Name then | |
659 | coroutine.wrap(function() | |
660 | for i = 0,180,10 do | |
661 | TextLabel.Rotation = i | |
662 | wait() | |
663 | end | |
664 | end)() | |
665 | coroutine.wrap(function() | |
666 | for i = 0,1,0.1 do | |
667 | Part.Transparency = i | |
668 | wait() | |
669 | end | |
670 | wait() | |
671 | Part:Destroy() | |
672 | for i,v in pairs(Tabs) do | |
673 | if v.Name == Part.Name then | |
674 | table.remove(Tabs,i) | |
675 | end | |
676 | end | |
677 | if OnClicked ~= nil then | |
678 | OnClicked() | |
679 | end | |
680 | end)() | |
681 | end | |
682 | end) | |
683 | if #Tabs > 0 then DismissTab() end | |
684 | end | |
685 | function BCrystal(Text,Color,OnClicked) | |
686 | if TabModel.Parent ~= TabModelParent then return end | |
687 | if TabModel == nil then return end | |
688 | if Color == nil then Color = "Institutional white" end | |
689 | if Text == nil then Text = "" end | |
690 | local Text = tostring(Text) | |
691 | Text = Text:gsub("","\5") | |
692 | local Part = Instance.new("Part", TabModel) | |
693 | Part.BrickColor = BrickColor.new(1010) | |
694 | Part.FormFactor = "Custom" | |
695 | Part.CanCollide = false | |
696 | Part.Anchored = true | |
697 | Part.Locked = true | |
698 | Part.Shape = "Ball" | |
699 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
700 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
701 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
702 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
703 | else | |
704 | Part.CFrame = CFrame.new(0,0,0) | |
705 | end | |
706 | local Mesh = Instance.new("BlockMesh", Part) | |
707 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
708 | local PointLight = Instance.new("PointLight", Part) | |
709 | PointLight.Color = BrickColor.new("Deep blue").Color | |
710 | PointLight.Range = 8 | |
711 | local BillboardGui = Instance.new("BillboardGui", Part) | |
712 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
713 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
714 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
715 | TextLabel.Text = Text | |
716 | TextLabel.Size = UDim2.new(1,0,1,0) | |
717 | TextLabel.BackgroundTransparency = 1 | |
718 | TextLabel.TextColor = BrickColor.new(Color) | |
719 | TextLabel.Font = "ArialBold" | |
720 | TextLabel.FontSize = "Size24" | |
721 | TextLabel.TextStrokeTransparency = 0 | |
722 | local Edge = Instance.new("SelectionBox", Part) | |
723 | Edge.Adornee = Edge.Parent | |
724 | Edge.Transparency=0.5 | |
725 | Edge.Color = BrickColor.new("Deep blue") | |
726 | local ClickDetector = Instance.new("ClickDetector", Part) | |
727 | Tabs[#Tabs+1] = Part | |
728 | ClickDetector.MaxActivationDistance = math.huge | |
729 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
730 | if Player.Name == LocalPlayer.Name then | |
731 | Part.Transparency = 0.5 | |
732 | end | |
733 | end) | |
734 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
735 | if Player.Name == LocalPlayer.Name then | |
736 | Part.Transparency = 0 | |
737 | end | |
738 | end) | |
739 | ClickDetector.MouseClick:connect(function(Player) | |
740 | if Player.Name == LocalPlayer.Name then | |
741 | coroutine.wrap(function() | |
742 | for i = 0,180,10 do | |
743 | TextLabel.Rotation = i | |
744 | wait() | |
745 | end | |
746 | end)() | |
747 | coroutine.wrap(function() | |
748 | for i = 0,1,0.1 do | |
749 | Part.Transparency = i | |
750 | wait() | |
751 | end | |
752 | wait() | |
753 | Part:Destroy() | |
754 | for i,v in pairs(Tabs) do | |
755 | if v.Name == Part.Name then | |
756 | table.remove(Tabs,i) | |
757 | end | |
758 | end | |
759 | if OnClicked ~= nil then | |
760 | OnClicked() | |
761 | end | |
762 | end)() | |
763 | end | |
764 | end) | |
765 | if #Tabs > 0 then DismissTab() end | |
766 | end | |
767 | function PCrystal(Text,Color,OnClicked) | |
768 | if TabModel.Parent ~= TabModelParent then return end | |
769 | if TabModel == nil then return end | |
770 | if Color == nil then Color = "Institutional white" end | |
771 | if Text == nil then Text = "" end | |
772 | local Text = tostring(Text) | |
773 | Text = Text:gsub("","\5") | |
774 | local Part = Instance.new("Part", TabModel) | |
775 | Part.BrickColor = BrickColor.new("Bright violet") | |
776 | Part.FormFactor = "Custom" | |
777 | Part.CanCollide = false | |
778 | Part.Anchored = true | |
779 | Part.Locked = true | |
780 | Part.Shape = "Ball" | |
781 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
782 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
783 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
784 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
785 | else | |
786 | Part.CFrame = CFrame.new(0,0,0) | |
787 | end | |
788 | local Mesh = Instance.new("BlockMesh", Part) | |
789 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
790 | local PointLight = Instance.new("PointLight", Part) | |
791 | PointLight.Color = BrickColor.new("Bright violet").Color | |
792 | PointLight.Range = 8 | |
793 | local BillboardGui = Instance.new("BillboardGui", Part) | |
794 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
795 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
796 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
797 | TextLabel.Text = Text | |
798 | TextLabel.Size = UDim2.new(1,0,1,0) | |
799 | TextLabel.BackgroundTransparency = 1 | |
800 | TextLabel.TextColor = BrickColor.new(Color) | |
801 | TextLabel.Font = "ArialBold" | |
802 | TextLabel.FontSize = "Size24" | |
803 | TextLabel.TextStrokeTransparency = 0 | |
804 | local Edge = Instance.new("SelectionBox", Part) | |
805 | Edge.Adornee = Edge.Parent | |
806 | Edge.Transparency=0.5 | |
807 | Edge.Color = BrickColor.new("Bright violet") | |
808 | local ClickDetector = Instance.new("ClickDetector", Part) | |
809 | Tabs[#Tabs+1] = Part | |
810 | ClickDetector.MaxActivationDistance = math.huge | |
811 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
812 | if Player.Name == LocalPlayer.Name then | |
813 | Part.Transparency = 0.5 | |
814 | end | |
815 | end) | |
816 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
817 | if Player.Name == LocalPlayer.Name then | |
818 | Part.Transparency = 0 | |
819 | end | |
820 | end) | |
821 | ClickDetector.MouseClick:connect(function(Player) | |
822 | if Player.Name == LocalPlayer.Name then | |
823 | coroutine.wrap(function() | |
824 | for i = 0,180,10 do | |
825 | TextLabel.Rotation = i | |
826 | wait() | |
827 | end | |
828 | end)() | |
829 | coroutine.wrap(function() | |
830 | for i = 0,1,0.1 do | |
831 | Part.Transparency = i | |
832 | wait() | |
833 | end | |
834 | wait() | |
835 | Part:Destroy() | |
836 | for i,v in pairs(Tabs) do | |
837 | if v.Name == Part.Name then | |
838 | table.remove(Tabs,i) | |
839 | end | |
840 | end | |
841 | if OnClicked ~= nil then | |
842 | OnClicked() | |
843 | end | |
844 | end)() | |
845 | end | |
846 | end) | |
847 | if #Tabs > 0 then DismissTab() end | |
848 | end | |
849 | function GCrystal(Text,Color,OnClicked) | |
850 | if TabModel.Parent ~= TabModelParent then return end | |
851 | if TabModel == nil then return end | |
852 | if Color == nil then Color = "Institutional white" end | |
853 | if Text == nil then Text = "" end | |
854 | local Text = tostring(Text) | |
855 | Text = Text:gsub("","\5") | |
856 | local Part = Instance.new("Part", TabModel) | |
857 | Part.BrickColor = BrickColor.new(1020) | |
858 | Part.FormFactor = "Custom" | |
859 | Part.CanCollide = false | |
860 | Part.Anchored = true | |
861 | Part.Locked = true | |
862 | Part.Shape = "Ball" | |
863 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
864 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
865 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
866 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
867 | else | |
868 | Part.CFrame = CFrame.new(0,0,0) | |
869 | end | |
870 | local Mesh = Instance.new("BlockMesh", Part) | |
871 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
872 | local PointLight = Instance.new("PointLight", Part) | |
873 | PointLight.Color = BrickColor.new("Lime green").Color | |
874 | PointLight.Range = 8 | |
875 | local BillboardGui = Instance.new("BillboardGui", Part) | |
876 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
877 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
878 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
879 | TextLabel.Text = Text | |
880 | TextLabel.Size = UDim2.new(1,0,1,0) | |
881 | TextLabel.BackgroundTransparency = 1 | |
882 | TextLabel.TextColor = BrickColor.new(Color) | |
883 | TextLabel.Font = "ArialBold" | |
884 | TextLabel.FontSize = "Size24" | |
885 | TextLabel.TextStrokeTransparency = 0 | |
886 | local Edge = Instance.new("SelectionBox", Part) | |
887 | Edge.Adornee = Edge.Parent | |
888 | Edge.Transparency=0.5 | |
889 | Edge.Color = BrickColor.new("Lime green") | |
890 | local ClickDetector = Instance.new("ClickDetector", Part) | |
891 | Tabs[#Tabs+1] = Part | |
892 | ClickDetector.MaxActivationDistance = math.huge | |
893 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
894 | if Player.Name == LocalPlayer.Name then | |
895 | Part.Transparency = 0.5 | |
896 | end | |
897 | end) | |
898 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
899 | if Player.Name == LocalPlayer.Name then | |
900 | Part.Transparency = 0 | |
901 | end | |
902 | end) | |
903 | ClickDetector.MouseClick:connect(function(Player) | |
904 | if Player.Name == LocalPlayer.Name then | |
905 | coroutine.wrap(function() | |
906 | for i = 0,180,10 do | |
907 | TextLabel.Rotation = i | |
908 | wait() | |
909 | end | |
910 | end)() | |
911 | coroutine.wrap(function() | |
912 | for i = 0,1,0.1 do | |
913 | Part.Transparency = i | |
914 | wait() | |
915 | end | |
916 | wait() | |
917 | Part:Destroy() | |
918 | for i,v in pairs(Tabs) do | |
919 | if v.Name == Part.Name then | |
920 | table.remove(Tabs,i) | |
921 | end | |
922 | end | |
923 | if OnClicked ~= nil then | |
924 | OnClicked() | |
925 | end | |
926 | end)() | |
927 | end | |
928 | end) | |
929 | if #Tabs > 0 then DismissTab() end | |
930 | end | |
931 | function YCrystal(Text,Color,OnClicked) | |
932 | if TabModel.Parent ~= TabModelParent then return end | |
933 | if TabModel == nil then return end | |
934 | if Color == nil then Color = "Institutional white" end | |
935 | if Text == nil then Text = "" end | |
936 | local Text = tostring(Text) | |
937 | Text = Text:gsub("","\5") | |
938 | local Part = Instance.new("Part", TabModel) | |
939 | Part.BrickColor = BrickColor.new("New Yeller") | |
940 | Part.FormFactor = "Custom" | |
941 | Part.CanCollide = false | |
942 | Part.Anchored = true | |
943 | Part.Locked = true | |
944 | Part.Shape = "Ball" | |
945 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
946 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
947 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
948 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
949 | else | |
950 | Part.CFrame = CFrame.new(0,0,0) | |
951 | end | |
952 | local Mesh = Instance.new("BlockMesh", Part) | |
953 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
954 | local PointLight = Instance.new("PointLight", Part) | |
955 | PointLight.Color = BrickColor.new("New Yeller").Color | |
956 | PointLight.Range = 8 | |
957 | local BillboardGui = Instance.new("BillboardGui", Part) | |
958 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
959 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
960 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
961 | TextLabel.Text = Text | |
962 | TextLabel.Size = UDim2.new(1,0,1,0) | |
963 | TextLabel.BackgroundTransparency = 1 | |
964 | TextLabel.TextColor = BrickColor.new(Color) | |
965 | TextLabel.Font = "ArialBold" | |
966 | TextLabel.FontSize = "Size24" | |
967 | TextLabel.TextStrokeTransparency = 0 | |
968 | local Edge = Instance.new("SelectionBox", Part) | |
969 | Edge.Adornee = Edge.Parent | |
970 | Edge.Transparency=0.5 | |
971 | Edge.Color = BrickColor.new("New Yeller") | |
972 | local ClickDetector = Instance.new("ClickDetector", Part) | |
973 | Tabs[#Tabs+1] = Part | |
974 | ClickDetector.MaxActivationDistance = math.huge | |
975 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
976 | if Player.Name == LocalPlayer.Name then | |
977 | Part.Transparency = 0.5 | |
978 | end | |
979 | end) | |
980 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
981 | if Player.Name == LocalPlayer.Name then | |
982 | Part.Transparency = 0 | |
983 | end | |
984 | end) | |
985 | ClickDetector.MouseClick:connect(function(Player) | |
986 | if Player.Name == LocalPlayer.Name then | |
987 | coroutine.wrap(function() | |
988 | for i = 0,180,10 do | |
989 | TextLabel.Rotation = i | |
990 | wait() | |
991 | end | |
992 | end)() | |
993 | coroutine.wrap(function() | |
994 | for i = 0,1,0.1 do | |
995 | Part.Transparency = i | |
996 | wait() | |
997 | end | |
998 | wait() | |
999 | Part:Destroy() | |
1000 | for i,v in pairs(Tabs) do | |
1001 | if v.Name == Part.Name then | |
1002 | table.remove(Tabs,i) | |
1003 | end | |
1004 | end | |
1005 | if OnClicked ~= nil then | |
1006 | OnClicked() | |
1007 | end | |
1008 | end)() | |
1009 | end | |
1010 | end) | |
1011 | if #Tabs > 0 then DismissTab() end | |
1012 | end | |
1013 | function RCrystal(Text,Color,OnClicked) | |
1014 | if TabModel.Parent ~= TabModelParent then return end | |
1015 | if TabModel == nil then return end | |
1016 | if Color == nil then Color = "Institutional white" end | |
1017 | if Text == nil then Text = "" end | |
1018 | local Text = tostring(Text) | |
1019 | Text = Text:gsub("","\5") | |
1020 | local Part = Instance.new("Part", TabModel) | |
1021 | Part.BrickColor = BrickColor.new(1004) | |
1022 | Part.FormFactor = "Custom" | |
1023 | Part.CanCollide = false | |
1024 | Part.Anchored = true | |
1025 | Part.Locked = true | |
1026 | Part.Shape = "Ball" | |
1027 | Part.Size = Vector3.new(2.5,2.5,2.5) | |
1028 | Part.Name = "TABLET: "..math.random(-99999,99999) | |
1029 | if LocalPlayer ~= nil and LocalPlayer.Character ~= nil and LocalPlayer.Character.Torso ~= nil then | |
1030 | Part.CFrame = LocalPlayer.Character.Torso.CFrame | |
1031 | else | |
1032 | Part.CFrame = CFrame.new(0,0,0) | |
1033 | end | |
1034 | local Mesh = Instance.new("BlockMesh", Part) | |
1035 | Mesh.Scale=Vector3.new(2,2.5,0.12) | |
1036 | local PointLight = Instance.new("PointLight", Part) | |
1037 | PointLight.Color = BrickColor.new("Really red").Color | |
1038 | PointLight.Range = 8 | |
1039 | local BillboardGui = Instance.new("BillboardGui", Part) | |
1040 | BillboardGui.Size = UDim2.new(8,0,7,0) | |
1041 | BillboardGui.StudsOffset = Vector3.new(0,2,0) | |
1042 | local TextLabel = Instance.new("TextLabel", BillboardGui) | |
1043 | TextLabel.Text = Text | |
1044 | TextLabel.Size = UDim2.new(1,0,1,0) | |
1045 | TextLabel.BackgroundTransparency = 1 | |
1046 | TextLabel.TextColor = BrickColor.new(Color) | |
1047 | TextLabel.Font = "ArialBold" | |
1048 | TextLabel.FontSize = "Size24" | |
1049 | TextLabel.TextStrokeTransparency = 0 | |
1050 | local Edge = Instance.new("SelectionBox", Part) | |
1051 | Edge.Adornee = Edge.Parent | |
1052 | Edge.Transparency=0.5 | |
1053 | Edge.Color = BrickColor.new(1004) | |
1054 | local ClickDetector = Instance.new("ClickDetector", Part) | |
1055 | Tabs[#Tabs+1] = Part | |
1056 | ClickDetector.MaxActivationDistance = math.huge | |
1057 | ClickDetector.MouseHoverEnter:connect(function(Player) | |
1058 | if Player.Name == LocalPlayer.Name then | |
1059 | Part.Transparency = 0.5 | |
1060 | end | |
1061 | end) | |
1062 | ClickDetector.MouseHoverLeave:connect(function(Player) | |
1063 | if Player.Name == LocalPlayer.Name then | |
1064 | Part.Transparency = 0 | |
1065 | end | |
1066 | end) | |
1067 | ClickDetector.MouseClick:connect(function(Player) | |
1068 | if Player.Name == LocalPlayer.Name then | |
1069 | coroutine.wrap(function() | |
1070 | for i = 0,180,10 do | |
1071 | TextLabel.Rotation = i | |
1072 | wait() | |
1073 | end | |
1074 | end)() | |
1075 | coroutine.wrap(function() | |
1076 | for i = 0,1,0.1 do | |
1077 | Part.Transparency = i | |
1078 | wait() | |
1079 | end | |
1080 | wait() | |
1081 | Part:Destroy() | |
1082 | for i,v in pairs(Tabs) do | |
1083 | if v.Name == Part.Name then | |
1084 | table.remove(Tabs,i) | |
1085 | end | |
1086 | end | |
1087 | if OnClicked ~= nil then | |
1088 | OnClicked() | |
1089 | end | |
1090 | end)() | |
1091 | end | |
1092 | end) | |
1093 | if #Tabs > 0 then DismissTab() end | |
1094 | end | |
1095 | ||
1096 | function GetPlayers(msg) | |
1097 | local Plrs = {} | |
1098 | if msg == "me" then | |
1099 | table.insert(Plrs, LocalPlayer) | |
1100 | elseif msg == "all" then | |
1101 | Plrs = game:GetService("Players"):GetChildren() --GetPlayers()? | |
1102 | elseif msg == "noobs" then | |
1103 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1104 | if plr.AccountAge < 364 then | |
1105 | table.insert(Plrs, plr) | |
1106 | end | |
1107 | end | |
1108 | elseif msg == "veterans" then | |
1109 | for _,plr in pairs(game:GetService("Players"):GetChildren()) do | |
1110 | if plr.AccountAge > 364 then | |
1111 | table.insert(Plrs, plr) | |
1112 | end | |
1113 | end | |
1114 | elseif msg == "others" then | |
1115 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1116 | if v ~= LocalPlayer then | |
1117 | table.insert(Plrs, v) | |
1118 | end | |
1119 | end | |
1120 | else | |
1121 | for i,v in pairs(game:GetService("Players"):GetChildren()) do | |
1122 | if v.Name:lower():sub(1,#msg) == msg:lower() then | |
1123 | table.insert(Plrs, v) | |
1124 | end | |
1125 | end | |
1126 | end | |
1127 | return Plrs | |
1128 | end | |
1129 | function Update(CF) | |
1130 | if TabModel.Parent ~= TabModelParent then return end | |
1131 | if TabModel == nil then return end | |
1132 | Rotation = Rotation + Speed | |
1133 | if TabModel.Parent ~= TabModelParent then return end | |
1134 | if TabModel == nil then return end | |
1135 | for i,v in pairs(Tabs) do | |
1136 | if TabModel.Parent ~= TabModelParent then break end | |
1137 | if TabModel == nil then break end | |
1138 | if v.Parent ~= nil then | |
1139 | if TabModel.Parent ~= TabModelParent then break end | |
1140 | if TabModel == nil then break end | |
1141 | if #Tabs < 201 then | |
1142 | if TabModel.Parent ~= TabModelParent then break end | |
1143 | if TabModel == nil then break end | |
1144 | local CP = v.Position:lerp(CF.p,0.15) | |
1145 | v.CFrame = CFrame.new(CP.X,CP.Y,CP.Z) *CFrame.Angles(0,math.rad(((360/#Tabs)*i)+Rotation),0) | |
1146 | *CFrame.new(0,0,#Tabs*0.15 +0.5) | |
1147 | else | |
1148 | if TabModel.Parent ~= TabModelParent then break end | |
1149 | if TabModel == nil then break end | |
1150 | v:Destroy() | |
1151 | end | |
1152 | if TabModel.Parent ~= TabModelParent then break end | |
1153 | if TabModel == nil then break end | |
1154 | end | |
1155 | end | |
1156 | end | |
1157 | function AddCmd(Name, Say, Desc, Func) | |
1158 | Cmds[#Cmds+1] = {["Name"] = Name, ["Say"] = Say, ["Desc"] = Desc, ["Func"] = Func} | |
1159 | end | |
1160 | function ShowCmds() | |
1161 | Dismiss() | |
1162 | for _,v in pairs(Cmds) do | |
1163 | Output(v["Name"],nil, | |
1164 | function() | |
1165 | Dismiss() | |
1166 | Output("Name: "..v["Name"]) | |
1167 | Output("Usage: "..v["Say"]) | |
1168 | Output("Description: "..v["Desc"]) | |
1169 | Output("Back","Cyan",function() ShowCmds() end) | |
1170 | end | |
1171 | ) | |
1172 | end | |
1173 | end | |
1174 | function NewS(SourceValue, Parent) | |
1175 | if NewScript then | |
1176 | local scr = NewScript:Clone() | |
1177 | if scr:FindFirstChild(SourceName) then | |
1178 | if scr:FindFirstChild(SourceName) then | |
1179 | scr:FindFirstChild(SourceName).Value = SourceValue | |
1180 | scr.Parent = Parent | |
1181 | wait() | |
1182 | scr.Disabled = false | |
1183 | return scr | |
1184 | end | |
1185 | end | |
1186 | else | |
1187 | RCrystal("No source","Really red") | |
1188 | RCrystal("To regen Source, create a random script then run it.","Really red") | |
1189 | end | |
1190 | end | |
1191 | function NewLS(SourceValue, Parent) | |
1192 | if SourceName == "No_Source" then return end | |
1193 | if game.PlaceId == 54194680 then | |
1194 | NLS(SourceValue, Parent) | |
1195 | else | |
1196 | local NS = LSource:Clone() | |
1197 | NS.Name = "NewLocal" | |
1198 | local Source = NS:findFirstChild(SourceName) | |
1199 | if Source == nil then | |
1200 | Instance.new('StringValue',NS).Name = SourceName | |
1201 | end | |
1202 | Source = NS:findFirstChild(SourceName) | |
1203 | Source.Value = SourceValue | |
1204 | NS.Parent = Parent | |
1205 | NS.Disabled = false | |
1206 | return NS | |
1207 | end | |
1208 | end | |
1209 | function ShowBL() | |
1210 | Dismiss() | |
1211 | for _,v in pairs(Banlist) do | |
1212 | Output(v,nil, function() | |
1213 | Dismiss() | |
1214 | Output(v) | |
1215 | RCrystal("Un-Ban","Really red", function() | |
1216 | table.remove(Banlist, _) | |
1217 | ShowBL() | |
1218 | end) | |
1219 | Output("Back","Cyan", function() | |
1220 | ShowBL() | |
1221 | end) | |
1222 | end) | |
1223 | end | |
1224 | end | |
1225 | function ShowHBL() | |
1226 | Dismiss() | |
1227 | for _,v in pairs(HardBanlist) do | |
1228 | Output(v,nil, function() | |
1229 | Dismiss() | |
1230 | Output(v) | |
1231 | RCrystal("Un-Ban","Really red", function() | |
1232 | table.remove(HardBanlist, _) | |
1233 | ShowHBL() | |
1234 | end) | |
1235 | Output("Back","Cyan", function() | |
1236 | ShowHBL() | |
1237 | end) | |
1238 | end) | |
1239 | end | |
1240 | end | |
1241 | function Connect(who) | |
1242 | if who and who.Backpack then | |
1243 | NewLS(ConnectSource, who.Backpack) | |
1244 | Output("Connected: "..who.Name) | |
1245 | end | |
1246 | end | |
1247 | function Shutdown() | |
1248 | NewS([[while true do | |
1249 | game:GetService("Players"):ClearAllChildren() | |
1250 | end | |
1251 | ]], workspace) | |
1252 | Dismiss() | |
1253 | end | |
1254 | function Explore(part) | |
1255 | Dismiss() | |
1256 | if part == nil then | |
1257 | for _,v in pairs(Services) do | |
1258 | Output(v.Name,nil,function() Explore(v) end) | |
1259 | end | |
1260 | else | |
1261 | for _,v in pairs(part:children()) do | |
1262 | Output(v.Name,nil,function() Explore(v) end) | |
1263 | end | |
1264 | wait() | |
1265 | Output("Currently exploring: "..part.Name,"Cyan") | |
1266 | Output("Class name: "..part.ClassName,"Cyan") | |
1267 | Output("Back","Cyan",function() Explore(part.Parent) end) | |
1268 | Output("Open Menu","Cyan",function() Menu() end) | |
1269 | Output("Refresh","Cyan",function() Explore(part) end) | |
1270 | DiamondCrystal("Clone","Toothpaste",function() ClonedItem = part:clone() Explore(part.Parent) end) | |
1271 | RCrystal("Destroy","Really red",function() part:Destroy() Explore(game.Workspace) end) | |
1272 | RCrystal("Clear Children","Really red",function() part:ClearAllChildren() Explore(part.Parent) end) | |
1273 | PCrystal("Make Reflectant","Bright violet",function() part.Reflectance = 1 Explore(part.Parent) end) | |
1274 | PCrystal("Make NonReflectant","Bright violet",function() part.Reflectance = 0 Explore(part.Parent) end) | |
1275 | GCrystal("Make Ghostly","Lime green",function() part.CanCollide = false Explore(part.Parent) end) | |
1276 | GCrystal("Make Solid","Lime green",function() part.CanCollide = true Explore(part.Parent) end) | |
1277 | BCrystal("Anchor","Deep blue",function() part.Anchored = true Explore(part.Parent) end) | |
1278 | BCrystal("UnAnchor","Deep blue",function() part.Anchored = false Explore(part.Parent) end) | |
1279 | BlCrystal("Make Invisible","Really black",function() part.Transparency = 1 Explore(part.Parent) end) | |
1280 | BlCrystal("Make Visible","Really black",function() part.Transparency = 0 Explore(part.Parent) end) | |
1281 | OCrystal("Make Locked","Deep orange",function() part.Locked = true Explore(part.Parent) end) | |
1282 | OCrystal("Make Unlocked","Deep orange",function() part.Locked = false Explore(part.Parent) end) | |
1283 | end | |
1284 | end | |
1285 | function appear(pos) | |
1286 | local parts = {} | |
1287 | local frames = appearTime / (1 / 30) | |
1288 | local t = 1 | |
1289 | if pos == nil then pos = CFrame.new(0, 15, 0) end | |
1290 | for i=1,500 do | |
1291 | local p = Instance.new("Part", game.Workspace) | |
1292 | p.Anchored = true | |
1293 | p.CanCollide = false | |
1294 | p.formFactor = 3 | |
1295 | p.Size = Vector3.new(1, 1, 1) | |
1296 | p.TopSurface = 0 | |
1297 | p.BottomSurface = 0 | |
1298 | p.BrickColor = BrickColor.random() | |
1299 | local x, y, z = math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100 | |
1300 | p.CFrame = pos * CFrame.new(x * frames, y * frames, z * frames) | |
1301 | local mesh = Instance.new("SpecialMesh", p) | |
1302 | mesh.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
1303 | mesh.Scale = Vector3.new(0.5, 0.5, 0.5) | |
1304 | table.insert(parts, {p, CFrame.new(-x, -y, -z) * CFrame.Angles(x, y, z)}) | |
1305 | end | |
1306 | for i=1,frames do | |
1307 | local _, duration = runService.Stepped:wait() | |
1308 | for i,v in pairs(parts) do | |
1309 | if v[1].Parent then | |
1310 | v[1].CFrame = v[1].CFrame * v[2] | |
1311 | v[1].Transparency = t | |
1312 | end | |
1313 | end | |
1314 | t = t - (appearTime / frames) | |
1315 | end | |
1316 | for i,v in pairs(parts) do | |
1317 | if v[1].Parent then | |
1318 | v[1]:remove() | |
1319 | end | |
1320 | end | |
1321 | end | |
1322 | function ListPlayers() | |
1323 | a,b=pcall(function() | |
1324 | Dismiss() | |
1325 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
1326 | if v:IsA("Player") then | |
1327 | Output(v.Name, "Institutional white", function() | |
1328 | Dismiss() | |
1329 | Output("Name: "..v.Name, 'Cyan') | |
1330 | Output("AccountAge: "..v.AccountAge, 'Cyan') | |
1331 | Output("UserId: "..v.userId, 'Cyan') | |
1332 | BCrystal("Mute", "Deep blue", function() | |
1333 | pcall(function() NewLS([[game:GetService("StarterGui"):SetCoreGuiEnabled(3, false)]], v:waitForChild('Backpack')) ListPlayers() end) | |
1334 | BCrystal("Muted "..v.Name.."", "Deep blue") | |
1335 | end) | |
1336 | BCrystal("UnMute", "Deep blue", function() | |
1337 | pcall(function() NewLS([[game:GetService("StarterGui"):SetCoreGuiEnabled(3, true)]], v:waitForChild('Backpack')) ListPlayers() end) | |
1338 | BCrystal("Unmuted "..v.Name.."", "Deep blue") | |
1339 | end) | |
1340 | BCrystal("NoGui", "Cyan", function() | |
1341 | pcall(function() NewLS([[game:GetService("StarterGui"):SetCoreGuiEnabled(4, false)]], v:waitForChild('Backpack')) ListPlayers() end) | |
1342 | BCrystal("NoGui'd "..v.Name.."", "Cyan") | |
1343 | end) | |
1344 | BCrystal("Restore Guis", "Cyan", function() | |
1345 | pcall(function() NewLS([[game:GetService("StarterGui"):SetCoreGuiEnabled(4, true)]], v:waitForChild('Backpack')) ListPlayers() end) | |
1346 | BCrystal("Restored "..v.Name.."'s Guis", "Cyan") | |
1347 | end) | |
1348 | Output("Back", "Cyan", function() | |
1349 | ListPlayers() | |
1350 | end) | |
1351 | end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&username="..v.Name) | |
1352 | end | |
1353 | end | |
1354 | end) if not a then RCrystal(b, "Really red") end | |
1355 | end | |
1356 | function AreYouSure() | |
1357 | Dismiss() | |
1358 | RCrystal("Are you SURE you want to shutdown?", "Really red") | |
1359 | BCrystal("Yes","Deep blue",function() Shutdown() end) | |
1360 | GCrystal("No","Lime green",function() Menu() end) | |
1361 | ||
1362 | end | |
1363 | function Menu() | |
1364 | Dismiss() | |
1365 | Output("Commands","Cyan",function() ShowCmds() end) | |
1366 | GCrystal("Explorer","Lime green",function() Explore() end) | |
1367 | YCrystal("Players","New Yeller",function() ListPlayers() end) | |
1368 | BCrystal("Shutdown","Deep blue",function() AreYouSure() end) | |
1369 | BlCrystal("MusicList","Black",function() MusicList() end) | |
1370 | end | |
1371 | function MusicList() | |
1372 | Dismiss() | |
1373 | Sax("Epic Sax Guy", "Deep orange",function() EpicSaxMusic() Menu() end) | |
1374 | Taco("Its Raining Tacos","White",function() TacoMusic() Menu() end) | |
1375 | OCrystal("Guitar", "Deep orange",function() GuitarMusic() Menu() end) | |
1376 | GCrystal("Starfish", "Lime green",function() StarfishMusic() Menu() end) | |
1377 | BlCrystal("Sage", "Black",function() SageMusic() Menu() end) | |
1378 | RCrystal("Spitfire", "Really red",function() SpitfireMusic() Menu() end) | |
1379 | YCrystal("Because I'm happy", "New Yeller",function() HappyMusic() Menu() end) | |
1380 | DiamondCrystal("Remove All Music", "White",function() RemoveMusic() MusicList() end) | |
1381 | end | |
1382 | function RemoveMusic() | |
1383 | NewS([[ | |
1384 | for _,v in pairs(workspace:children()) do | |
1385 | if v:IsA("Sound") then v:Destroy() end end | |
1386 | ]], workspace) | |
1387 | end | |
1388 | function TacoMusic() | |
1389 | NewS([[z = Instance.new("Sound") | |
1390 | z.Parent = game.Workspace | |
1391 | z.SoundId = "http://www.roblox.com/asset/?ID=142376088" | |
1392 | z.Looped = true | |
1393 | z.Volume = 1 | |
1394 | wait(1) | |
1395 | z:Play() | |
1396 | z.Name = "TacoMusic" | |
1397 | ]], workspace) | |
1398 | end | |
1399 | function HappyMusic() | |
1400 | NewS([[z = Instance.new("Sound") | |
1401 | z.Parent = game.Workspace | |
1402 | z.SoundId = "http://www.roblox.com/asset/?id=142435409" | |
1403 | z.Looped = true | |
1404 | z.Volume = 1 | |
1405 | wait(1) | |
1406 | z:Play() | |
1407 | z.Name = "HappyMusic" | |
1408 | ]], workspace) | |
1409 | end | |
1410 | function GuitarMusic() | |
1411 | NewS([[z = Instance.new("Sound") | |
1412 | z.Parent = game.Workspace | |
1413 | z.SoundId = "http://www.roblox.com/asset/?id=5986151" | |
1414 | z.Looped = true | |
1415 | z.Volume = 1 | |
1416 | wait(1) | |
1417 | z:Play() | |
1418 | z.Name = "GuitarMusic" | |
1419 | ]], workspace) | |
1420 | end | |
1421 | function EpicSaxMusic() | |
1422 | NewS([[z = Instance.new("Sound") | |
1423 | z.Parent = game.Workspace | |
1424 | z.SoundId = "http://www.roblox.com/asset/?id=130794684" | |
1425 | z.Looped = true | |
1426 | z.Volume = 1 | |
1427 | wait(1) | |
1428 | z:Play() | |
1429 | z.Name = "EpicSaxMusic" | |
1430 | ]], workspace) | |
1431 | end | |
1432 | function SpitfireMusic() | |
1433 | NewS([[z = Instance.new("Sound") | |
1434 | z.Parent = game.Workspace | |
1435 | z.SoundId = "http://www.roblox.com/asset/?id=129490596" | |
1436 | z.Looped = true | |
1437 | z.Volume = 1 | |
1438 | wait(1) | |
1439 | z:Play() | |
1440 | z.Name = "SpitfireMusic" | |
1441 | ]], workspace) | |
1442 | end | |
1443 | function StarfishMusic() | |
1444 | NewS([[z = Instance.new("Sound") | |
1445 | z.Parent = game.Workspace | |
1446 | z.SoundId = "http://www.roblox.com/asset/?id=131293487" | |
1447 | z.Looped = true | |
1448 | z.Volume = 1 | |
1449 | wait(1) | |
1450 | z:Play() | |
1451 | z.Name = "StarfishMusic" | |
1452 | ]], workspace) | |
1453 | end | |
1454 | function SageMusic() | |
1455 | NewS([[z = Instance.new("Sound") | |
1456 | z.Parent = game.Workspace | |
1457 | z.SoundId = "http://www.roblox.com/asset/?id=137643111" | |
1458 | z.Looped = true | |
1459 | z.Volume = 1 | |
1460 | wait(1) | |
1461 | z:Play() | |
1462 | z.Name = "SageMusic" | |
1463 | ]], workspace) | |
1464 | end | |
1465 | --[[COMMANDS]]-- | |
1466 | AddCmd("Ping","ping","Ping something", | |
1467 | function(nothing, msg) | |
1468 | Output(tostring(msg)) | |
1469 | end | |
1470 | ) | |
1471 | AddCmd("Commands","cmds","Show all commands", | |
1472 | function() | |
1473 | ShowCmds() | |
1474 | end | |
1475 | ) | |
1476 | AddCmd("Base","base","Creates a base", | |
1477 | function(plrs) | |
1478 | pcall(function() | |
1479 | local base = Instance.new("Part", workspace) | |
1480 | base.Size = Vector3.new(1000, 1, 1000) | |
1481 | base.Anchored = true | |
1482 | base.Locked = true | |
1483 | base.CFrame = CFrame.new(0, 0.6, 0) | |
1484 | base.BrickColor = BrickColor.new("Earth green") | |
1485 | base.Name = "Baseplate" | |
1486 | end) | |
1487 | end | |
1488 | ) | |
1489 | AddCmd("Dismiss","dt","Dismiss tabs", | |
1490 | function() | |
1491 | Dismiss() | |
1492 | end | |
1493 | ) | |
1494 | AddCmd("Toggle tabs visibility","hide","Make the tabs visible/invisible", | |
1495 | function(nothing, msg) | |
1496 | if msg == "on" then | |
1497 | HiddenTablets = true | |
1498 | TabModel.Parent = workspace.CurrentCamera | |
1499 | TabModelParent = workspace.CurrentCamera | |
1500 | RCrystal("Tabs are hidden","Really red") | |
1501 | elseif msg == "off" then | |
1502 | HiddenTablets = false | |
1503 | TabModel.Parent = workspace | |
1504 | TabModelParent = workspace | |
1505 | GCrystal("Tabs are visible","Lime green") | |
1506 | else | |
1507 | RCrystal("Use on/off to toggle tab visibility","Really red") | |
1508 | end | |
1509 | end | |
1510 | ) | |
1511 | AddCmd("Execute","exe","Execute", | |
1512 | function(nothing, msg) | |
1513 | a,b = ypcall(function() | |
1514 | loadstring(msg)() | |
1515 | end) | |
1516 | if not a then RCrystal(b,"Really red") end | |
1517 | end | |
1518 | ) | |
1519 | AddCmd("Kick","kick","Kick player", | |
1520 | function(Plrs) | |
1521 | for _, plr in pairs(Plrs) do | |
1522 | if plr then | |
1523 | NewS("game:service'Players':findFirstChild('"..plr.Name.."'):Kick()", workspace) | |
1524 | end | |
1525 | end | |
1526 | end | |
1527 | ) | |
1528 | AddCmd("Banlist","bans","Show banned players", | |
1529 | function() | |
1530 | ShowBL() | |
1531 | end | |
1532 | ) | |
1533 | AddCmd("Hard Banlist","hbans","Show hard banned players", | |
1534 | function() | |
1535 | ShowHBL() | |
1536 | end | |
1537 | ) | |
1538 | AddCmd("Nighttime","night","Becomes Nighttime", | |
1539 | function() | |
1540 | game:service'Lighting'.TimeOfDay = 0 | |
1541 | game:service'Lighting'.OutdoorAmbient = Color3.new(0.1, 0.1, 0.15) | |
1542 | game:service'Lighting'.Brightness = 1 | |
1543 | game:service'Lighting'.Ambient = Color3.new() | |
1544 | game:service'Lighting'.GlobalShadows = true | |
1545 | game:service'Lighting'.GeographicLatitude = 41.733 | |
1546 | game:service'Lighting'.FogEnd = 100000 | |
1547 | game:service'Lighting'.FogColor = Color3.new() | |
1548 | game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255) | |
1549 | end | |
1550 | ) | |
1551 | AddCmd("Crash","crash","Crashes a player", | |
1552 | function(Plrs) | |
1553 | for _, plr in pairs(Plrs) do | |
1554 | if plr and plr.Backpack then | |
1555 | NewLS("repeat until TelamonRhapesShedletsky", plr.Backpack) | |
1556 | end | |
1557 | end | |
1558 | end | |
1559 | ) | |
1560 | AddCmd("Mute","mute","Block player's chat", | |
1561 | function(Plrs) | |
1562 | for _, plr in pairs(Plrs) do | |
1563 | if plr and plr.Backpack then | |
1564 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, false)", plr.Backpack) | |
1565 | end | |
1566 | end | |
1567 | end | |
1568 | ) | |
1569 | AddCmd("Un-Mute","unmute","Un-Block player's chat", | |
1570 | function(Plrs) | |
1571 | for _, plr in pairs(Plrs) do | |
1572 | if plr and plr.Backpack then | |
1573 | NewLS("game:service'StarterGui':SetCoreGuiEnabled(3, true)", plr.Backpack) | |
1574 | end | |
1575 | end | |
1576 | end | |
1577 | ) | |
1578 | AddCmd("Clean","clean","Clean workspace", | |
1579 | function() | |
1580 | for _,v in pairs(workspace:children()) do | |
1581 | if v.Name ~= "Terrain" then | |
1582 | v:Destroy() | |
1583 | end | |
1584 | end | |
1585 | NewS("for _,v in pairs(game:service'Players':children()) do if v:IsA('Player') then v:LoadCharacter() end end", workspace) | |
1586 | local base = Instance.new("Part", workspace) | |
1587 | base.Anchored = true | |
1588 | base.Size = Vector3.new(1000,1.2,1000) | |
1589 | base.BrickColor = BrickColor.new("Dark green") | |
1590 | base.Material = "Grass" | |
1591 | base.Name = "Baseplate" | |
1592 | end | |
1593 | ) | |
1594 | AddCmd("Remove the admin","remv","g'day m8", | |
1595 | function() | |
1596 | for i = 0,50,1 do | |
1597 | pcall(function() | |
1598 | for j,k in pairs(getfenv(i)) do | |
1599 | getfenv(i)[j] = nil | |
1600 | end | |
1601 | end) | |
1602 | end | |
1603 | end | |
1604 | ) | |
1605 | AddCmd("Daytime","day","Becomes Daytime", | |
1606 | function() | |
1607 | game:service'Lighting'.TimeOfDay = 14 | |
1608 | game:service'Lighting'.OutdoorAmbient = Color3.new(128/255, 128/255, 128/255) | |
1609 | game:service'Lighting'.Brightness = 1 | |
1610 | game:service'Lighting'.Ambient = Color3.new() | |
1611 | game:service'Lighting'.GlobalShadows = true | |
1612 | game:service'Lighting'.GeographicLatitude = 41.733 | |
1613 | game:service'Lighting'.FogEnd = 100000 | |
1614 | game:service'Lighting'.FogColor = Color3.new(192/255, 192/255, 192/255) | |
1615 | game:service'Lighting'.ShadowColor = Color3.new(179/255, 179/255, 184/255) | |
1616 | end | |
1617 | ) | |
1618 | AddCmd("Kill","kill","Kill player", | |
1619 | function(Plrs) | |
1620 | for _, plr in pairs(Plrs) do | |
1621 | if plr and plr.Character then | |
1622 | plr.Character:breakJoints'' | |
1623 | end | |
1624 | end | |
1625 | end | |
1626 | ) | |
1627 | AddCmd("Nuke","nuke","Brings out da big bang.", | |
1628 | function(plrs) | |
1629 | for _, plr in pairs(plrs) do | |
1630 | if plr then | |
1631 | if plr.Character then | |
1632 | if plr.Character.Torso then | |
1633 | for pos2 = -10, 10 do | |
1634 | for pos = -10, 10 do | |
1635 | local expl = Instance.new("Explosion", workspace) | |
1636 | expl.BlastRadius = 20 | |
1637 | expl.BlastPressure = 2000 | |
1638 | expl.Position = plr.Character.Torso.Position + Vector3.new(pos*3, 0, pos2*3) | |
1639 | end | |
1640 | wait() | |
1641 | end | |
1642 | end | |
1643 | end | |
1644 | end | |
1645 | end | |
1646 | end | |
1647 | ) | |
1648 | AddCmd("Ban","ban","Bans a player", | |
1649 | function(Plrs) | |
1650 | for _, plr in pairs(Plrs) do | |
1651 | if plr and plr.Backpack then | |
1652 | Banlist[#Banlist +1] = plr.Name | |
1653 | NewS("game:service'Players':findFirstChild('"..plr.Name.."'):Kick()", workspace) | |
1654 | end | |
1655 | end | |
1656 | end | |
1657 | ) | |
1658 | AddCmd("Rejoin","rj","Rejoins a player", | |
1659 | function(Plrs) | |
1660 | for _,plr in pairs(Plrs) do | |
1661 | if plr and plr.Character then | |
1662 | if SourceName == "source" then | |
1663 | RCrystal("This is Alakazards scriptbuilder. TPService is disabled here! Can't TP!","Really red") | |
1664 | end | |
1665 | if SourceName ~= "source" then | |
1666 | NewLS([[game:GetService('TeleportService'):Teleport(game.PlaceId)]],plr.Character) | |
1667 | end | |
1668 | end | |
1669 | end | |
1670 | end | |
1671 | ) | |
1672 | AddCmd("Ban","ban","Bans a player", | |
1673 | function(Plrs) | |
1674 | for _, plr in pairs(Plrs) do | |
1675 | if plr and plr.Backpack then | |
1676 | Banlist[#Banlist+1] = plr.Name | |
1677 | end | |
1678 | end | |
1679 | end | |
1680 | ) | |
1681 | AddCmd("Chat","chat","Turns chat on/off", | |
1682 | function(nothing, msg) | |
1683 | if msg == "on" then | |
1684 | ChatGui = true | |
1685 | elseif msg == "off" then | |
1686 | ChatGui = false | |
1687 | end | |
1688 | end | |
1689 | ) | |
1690 | AddCmd("God","god","Gods a player", | |
1691 | function(plrs) | |
1692 | for _, plr in pairs(plrs) do | |
1693 | if plr then | |
1694 | if plr.Character then | |
1695 | if plr.Character:findFirstChild("Humanoid") then | |
1696 | plr.Character:findFirstChild("Humanoid").MaxHealth = math.huge | |
1697 | end | |
1698 | end | |
1699 | end | |
1700 | end | |
1701 | end | |
1702 | ) | |
1703 | AddCmd("Message","m","Show a message", | |
1704 | function(nothing, msg) | |
1705 | if found then | |
1706 | NewS([[ | |
1707 | a = Instance.new("Message", workspace) | |
1708 | msg = "]]..msg..[[" | |
1709 | msg = msg:gsub("","\5") | |
1710 | game:service'Debris':AddItem(a, 5) | |
1711 | while wait() do | |
1712 | for i = 30,0,-1 do | |
1713 | a.Text = ">"..string.rep(" ",i)..msg..string.rep(" ",i).."<" | |
1714 | wait() | |
1715 | end | |
1716 | for i = 0,30,1 do | |
1717 | a.Text = ">"..string.rep(" ",i)..msg..string.rep(" ",i).."<" | |
1718 | wait() | |
1719 | end | |
1720 | end | |
1721 | ]], workspace) | |
1722 | end | |
1723 | end | |
1724 | ) | |
1725 | AddCmd("Char","char","Be a character", | |
1726 | function() | |
1727 | if LocalPlayer.Parent == game.Players then return end | |
1728 | if LocalPlayer.Character~= nil then | |
1729 | LocalPlayer.Character:Destroy() | |
1730 | end | |
1731 | char = nil | |
1732 | appear(CFrame.new(0,25,0)) | |
1733 | local a = Char:Clone() | |
1734 | a.Parent = workspace | |
1735 | a.Torso.CFrame = CFrame.new(0,25,0) | |
1736 | LocalPlayer.Character = a | |
1737 | workspace.CurrentCamera.CameraType = "Custom" | |
1738 | workspace.CurrentCamera.CameraSubject = a.Humanoid | |
1739 | end | |
1740 | ) | |
1741 | AddCmd("PointLight","pl","Gives a player a PointLight", | |
1742 | function(plrs) | |
1743 | for _, plr in pairs(plrs) do | |
1744 | if plr and plr.Character then | |
1745 | for _, bp in pairs(plr.Character:children()) do | |
1746 | if bp:IsA("BasePart") then | |
1747 | Instance.new("PointLight", bp) | |
1748 | end | |
1749 | end | |
1750 | end | |
1751 | end | |
1752 | end | |
1753 | ) | |
1754 | AddCmd("Go nil","gn","Go to nil player mode", | |
1755 | function() | |
1756 | LocalPlayer.Parent = nil | |
1757 | appear(CFrame.new(0,15,0)) | |
1758 | local a = Char:Clone() | |
1759 | a.Torso.CFrame = CFrame.new(0,15,0) | |
1760 | a.Parent = workspace | |
1761 | LocalPlayer.Character = a | |
1762 | workspace.CurrentCamera.CameraType = "Custom" | |
1763 | workspace.CurrentCamera.CameraSubject = a.Humanoid | |
1764 | end | |
1765 | ) | |
1766 | AddCmd("Fix camera","fcam","Fix your camera", | |
1767 | function() | |
1768 | workspace.CurrentCamera.CameraType = "Custom" | |
1769 | workspace.CurrentCamera.CameraSubject = LocalPlayer.Character.Humanoid | |
1770 | end | |
1771 | ) | |
1772 | AddCmd("'Hard' ban","hban","Hard ban a player", | |
1773 | function(Plrs) | |
1774 | for _, plr in pairs(Plrs) do | |
1775 | if plr then | |
1776 | HardBanlist[#HardBanlist+1] = plr.Name | |
1777 | NewS("game:service'Players':findFirstChild('"..plr.Name.."'):Kick()", workspace) | |
1778 | for i = 0,10,1 do | |
1779 | end | |
1780 | end | |
1781 | end | |
1782 | end | |
1783 | ) | |
1784 | AddCmd("Explore","explorer","Explore the game", | |
1785 | function() | |
1786 | Explore() | |
1787 | end | |
1788 | ) | |
1789 | AddCmd("Ungod","ungod","a player", | |
1790 | function(plrs) | |
1791 | for _, plr in pairs(plrs) do | |
1792 | if plr then | |
1793 | if plr.Character then | |
1794 | if plr.Character:findFirstChild("Humanoid") then | |
1795 | plr.Character:findFirstChild("Humanoid").MaxHealth = 100 | |
1796 | end | |
1797 | end | |
1798 | end | |
1799 | end | |
1800 | end | |
1801 | ) | |
1802 | AddCmd("Lag","lag","Lags", | |
1803 | function(Plrs) | |
1804 | for _, plr in pairs(Plrs) do | |
1805 | if plr and plr.Backpack then | |
1806 | for i = 0,7,1 do | |
1807 | NewLS(BSoDSource, plr.Backpack) | |
1808 | end | |
1809 | end | |
1810 | end | |
1811 | end | |
1812 | ) | |
1813 | AddCmd("Respawn","respawn","Respawns a player", | |
1814 | function(plrs) | |
1815 | for _, plr in pairs(plrs) do | |
1816 | NewS("game.Players['"..plr.Name.."']:LoadCharacter()", workspace) | |
1817 | end | |
1818 | end | |
1819 | ) | |
1820 | AddCmd("ForceField","ff","Gives someone a FF.", | |
1821 | function(plrs) | |
1822 | for _, plr in pairs(plrs) do | |
1823 | if plr and plr.Character then | |
1824 | Instance.new("ForceField", plr.Character) | |
1825 | end | |
1826 | end | |
1827 | end | |
1828 | ) | |
1829 | AddCmd("Remove ForceField","unff","Removes a ForceField.", | |
1830 | function(plrs) | |
1831 | for _,plr in pairs(plrs) do | |
1832 | if plr and plr.Character then | |
1833 | for _, ff in pairs(plr.Character:children()) do | |
1834 | if ff and ff:IsA("ForceField") then | |
1835 | ff:Destroy() | |
1836 | end | |
1837 | end | |
1838 | end | |
1839 | end | |
1840 | end | |
1841 | ) | |
1842 | AddCmd("Special Credits","scredits","Shows the Special Credits", | |
1843 | function(nothing, msg) | |
1844 | Dismiss() | |
1845 | - | BCrystal("Penguin0616, the creator.") |
1845 | + | BCrystal("ClockworkHorror, the creator.") |
1846 | end | |
1847 | ) | |
1848 | AddCmd("Shutdown","shutdown","Shuts down the server", | |
1849 | function() | |
1850 | NewS([[while true do | |
1851 | game:GetService("Players"):ClearAllChildren() | |
1852 | end | |
1853 | ]], workspace) | |
1854 | end | |
1855 | ) | |
1856 | AddCmd("AFK","afk","Shows that you are AFK.", | |
1857 | function(nothing, msg) | |
1858 | Dismiss() | |
1859 | BCrystal("AFK","Deep blue") | |
1860 | PCrystal("AFK","Bright violet") | |
1861 | BlCrystal("AFK","Really black") | |
1862 | YCrystal("AFK","New Yeller") | |
1863 | GCrystal("AFK","Lime green") | |
1864 | RCrystal("AFK","Really red") | |
1865 | end | |
1866 | ) | |
1867 | AddCmd("Remove Pointlight","rpl","Removes a pointlight from a player.", | |
1868 | function(plrs) | |
1869 | for _, plr in pairs(plrs) do | |
1870 | if plr and plr.Character then | |
1871 | for _, bp in pairs(plr.Character:children()) do | |
1872 | if bp:IsA("BasePart") then | |
1873 | for _, Point in pairs(bp:children()) do | |
1874 | if Point:IsA("PointLight") then | |
1875 | Point:Destroy() | |
1876 | end | |
1877 | end | |
1878 | end | |
1879 | end | |
1880 | end | |
1881 | end | |
1882 | end | |
1883 | ) | |
1884 | AddCmd("Freeze","freeze","Freezes a player", | |
1885 | function(plrs) | |
1886 | for _, plr in pairs(plrs) do | |
1887 | if plr and plr.Character then | |
1888 | for _, bp in pairs(plr.Character:children()) do | |
1889 | if bp:IsA("BasePart") then | |
1890 | bp.Anchored = true | |
1891 | end | |
1892 | end | |
1893 | end | |
1894 | end | |
1895 | end | |
1896 | ) | |
1897 | AddCmd("Thaw","thaw","Thaws a player", | |
1898 | function(plrs) | |
1899 | for _, plr in pairs(plrs) do | |
1900 | if plr and plr.Character then | |
1901 | for _, bp in pairs(plr.Character:children()) do | |
1902 | if bp:IsA("BasePart") then | |
1903 | bp.Anchored = false | |
1904 | end | |
1905 | end | |
1906 | end | |
1907 | end | |
1908 | end | |
1909 | ) | |
1910 | AddCmd("Beast","beast","Evolves a player to Beast", | |
1911 | function(plrs) | |
1912 | for i,v in pairs(plrs) do | |
1913 | if v.Character:FindFirstChild("Shirt") then | |
1914 | v.Character.Shirt:remove() | |
1915 | end | |
1916 | if v.Character:FindFirstChild("Pants") then | |
1917 | v.Character.Pants:remove() | |
1918 | end | |
1919 | if v.Character.Head:FindFirstChild("face") then | |
1920 | v.Character.Head.face:remove() | |
1921 | end | |
1922 | if v.Character:FindFirstChild("Body Colors") then | |
1923 | v.Character:FindFirstChild("Body Colors"):remove() | |
1924 | end | |
1925 | for j,b in pairs(v.Character:children()) do | |
1926 | if b:IsA("BasePart") then | |
1927 | local sb = Instance.new("SelectionBox", b) | |
1928 | sb.Color = BrickColor.new(1004) | |
1929 | sb.Adornee = sb.Parent | |
1930 | wait(0.25) | |
1931 | b.BrickColor = BrickColor.new(1003) | |
1932 | end | |
1933 | end | |
1934 | end | |
1935 | end | |
1936 | ) | |
1937 | AddCmd("Menu","menu","Shows the Interface", | |
1938 | function() | |
1939 | Dismiss() | |
1940 | Menu() | |
1941 | end | |
1942 | ) | |
1943 | AddCmd("Jail","jail","Jails a player", | |
1944 | function(plrs, msg) | |
1945 | for _,v in pairs(plrs) do | |
1946 | p = v.Character:findFirstChild("Torso") | |
1947 | if p ~= nil then | |
1948 | ||
1949 | b = Instance.new("Model") | |
1950 | b.Parent = v.Character | |
1951 | b.Name = "Jail" | |
1952 | c = Instance.new("Part") | |
1953 | c.Parent = b | |
1954 | c.TopSurface = "Smooth" | |
1955 | c.BottomSurface = "Smooth" | |
1956 | c.Locked = true | |
1957 | c.BrickColor = BrickColor.new(1003) | |
1958 | c.formFactor = "Symmetric" | |
1959 | c.Size = Vector3.new(18, 2, 2) | |
1960 | c.Anchored = true | |
1961 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, -8, -8)) | |
1962 | c = Instance.new("Part") | |
1963 | c.Parent = b | |
1964 | c.TopSurface = "Smooth" | |
1965 | c.BottomSurface = "Smooth" | |
1966 | c.Locked = true | |
1967 | c.BrickColor = BrickColor.new(1003) | |
1968 | c.formFactor = "Symmetric" | |
1969 | c.Size = Vector3.new(18, 2, 2) | |
1970 | c.Anchored = true | |
1971 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, -8, 8)) | |
1972 | c.CanCollide = true | |
1973 | c = Instance.new("Part") | |
1974 | c.Parent = b | |
1975 | c.TopSurface = "Smooth" | |
1976 | c.BottomSurface = "Smooth" | |
1977 | c.Locked = true | |
1978 | c.BrickColor = BrickColor.new(1003) | |
1979 | c.formFactor = "Symmetric" | |
1980 | c.Size = Vector3.new(18, 2, 2) | |
1981 | c.Anchored = true | |
1982 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, 8, -8)) | |
1983 | c = Instance.new("Part") | |
1984 | c.Parent = b | |
1985 | c.TopSurface = "Smooth" | |
1986 | c.BottomSurface = "Smooth" | |
1987 | c.Locked = true | |
1988 | c.BrickColor = BrickColor.new(1003) | |
1989 | c.formFactor = "Symmetric" | |
1990 | c.Size = Vector3.new(18, 2, 2) | |
1991 | c.Anchored = true | |
1992 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, 8, 8)) | |
1993 | c.CanCollide = true | |
1994 | c = Instance.new("Part") | |
1995 | c.Parent = b | |
1996 | c.TopSurface = "Smooth" | |
1997 | c.BottomSurface = "Smooth" | |
1998 | c.Locked = true | |
1999 | c.BrickColor = BrickColor.new(1003) | |
2000 | c.formFactor = "Symmetric" | |
2001 | c.Size = Vector3.new(2, 2, 18) | |
2002 | c.Anchored = true | |
2003 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(-8, -8, 0)) | |
2004 | c.CanCollide = true | |
2005 | c = Instance.new("Part") | |
2006 | c.Parent = b | |
2007 | c.TopSurface = "Smooth" | |
2008 | c.BottomSurface = "Smooth" | |
2009 | c.Locked = true | |
2010 | c.BrickColor = BrickColor.new(1003) | |
2011 | c.formFactor = "Symmetric" | |
2012 | c.Size = Vector3.new(2, 2, 18) | |
2013 | c.Anchored = true | |
2014 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(8, -8, 0)) | |
2015 | c = Instance.new("Part") | |
2016 | c.CanCollide = true | |
2017 | c.Parent = b | |
2018 | c.TopSurface = "Smooth" | |
2019 | c.BottomSurface = "Smooth" | |
2020 | c.Locked = true | |
2021 | c.BrickColor = BrickColor.new(1003) | |
2022 | c.formFactor = "Symmetric" | |
2023 | c.Size = Vector3.new(2, 2, 18) | |
2024 | c.Anchored = true | |
2025 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(-8, 8, 0)) | |
2026 | c.CanCollide = true | |
2027 | c = Instance.new("Part") | |
2028 | c.Parent = b | |
2029 | c.TopSurface = "Smooth" | |
2030 | c.BottomSurface = "Smooth" | |
2031 | c.Locked = true | |
2032 | c.BrickColor = BrickColor.new(1003) | |
2033 | c.formFactor = "Symmetric" | |
2034 | c.Size = Vector3.new(2, 2, 18) | |
2035 | c.Anchored = true | |
2036 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(8, 8, 0)) | |
2037 | c.CanCollide = true | |
2038 | c = Instance.new("Part") | |
2039 | c.Parent = b | |
2040 | c.TopSurface = "Smooth" | |
2041 | c.BottomSurface = "Smooth" | |
2042 | c.Locked = true | |
2043 | c.BrickColor = BrickColor.new(1003) | |
2044 | c.formFactor = "Symmetric" | |
2045 | c.Size = Vector3.new(2, 18, 2) | |
2046 | c.Anchored = true | |
2047 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(-8, 0, -8)) | |
2048 | c.CanCollide = true | |
2049 | c = Instance.new("Part") | |
2050 | c.Parent = b | |
2051 | c.TopSurface = "Smooth" | |
2052 | c.BottomSurface = "Smooth" | |
2053 | c.Locked = true | |
2054 | c.BrickColor = BrickColor.new(1003) | |
2055 | c.formFactor = "Symmetric" | |
2056 | c.Size = Vector3.new(2, 18, 2) | |
2057 | c.Anchored = true | |
2058 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(-8, 0, 8)) | |
2059 | c.CanCollide = true | |
2060 | c = Instance.new("Part") | |
2061 | c.Parent = b | |
2062 | c.TopSurface = "Smooth" | |
2063 | c.BottomSurface = "Smooth" | |
2064 | c.Locked = true | |
2065 | c.BrickColor = BrickColor.new(1003) | |
2066 | c.formFactor = "Symmetric" | |
2067 | c.Size = Vector3.new(2, 18, 2) | |
2068 | c.Anchored = true | |
2069 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(8, 0, 8)) | |
2070 | c.CanCollide = true | |
2071 | c = Instance.new("Part") | |
2072 | c.Parent = b | |
2073 | c.TopSurface = "Smooth" | |
2074 | c.BottomSurface = "Smooth" | |
2075 | c.Locked = true | |
2076 | c.BrickColor = BrickColor.new(1003) | |
2077 | c.formFactor = "Symmetric" | |
2078 | c.Size = Vector3.new(2, 18, 2) | |
2079 | c.Anchored = true | |
2080 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(8, 0, -8)) | |
2081 | c.CanCollide = true | |
2082 | ||
2083 | ||
2084 | c = Instance.new("Part") | |
2085 | c.Parent = b | |
2086 | c.TopSurface = "Smooth" | |
2087 | c.BottomSurface = "Smooth" | |
2088 | c.Locked = true | |
2089 | c.BrickColor = BrickColor.new(23) | |
2090 | c.Transparency = 0.5 | |
2091 | c.Reflectance = 0.1 | |
2092 | c.formFactor = "Symmetric" | |
2093 | c.Size = Vector3.new(1, 16, 16) | |
2094 | c.Anchored = true | |
2095 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(8, 0, 0)) | |
2096 | c.CanCollide = true | |
2097 | c = Instance.new("Part") | |
2098 | c.Parent = b | |
2099 | c.TopSurface = "Smooth" | |
2100 | c.BottomSurface = "Smooth" | |
2101 | c.Locked = true | |
2102 | c.BrickColor = BrickColor.new(23) | |
2103 | c.Transparency = 0.5 | |
2104 | c.Reflectance = 0.1 | |
2105 | c.formFactor = "Symmetric" | |
2106 | c.Size = Vector3.new(1, 16, 16) | |
2107 | c.Anchored = true | |
2108 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(-8, 0, 0)) | |
2109 | c.CanCollide = true | |
2110 | c = Instance.new("Part") | |
2111 | c.Parent = b | |
2112 | c.TopSurface = "Smooth" | |
2113 | c.BottomSurface = "Smooth" | |
2114 | c.Locked = true | |
2115 | c.BrickColor = BrickColor.new(23) | |
2116 | c.Transparency = 0.5 | |
2117 | c.Reflectance = 0.1 | |
2118 | c.formFactor = "Symmetric" | |
2119 | c.Size = Vector3.new(16, 16, 1) | |
2120 | c.Anchored = true | |
2121 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, 0, 8)) | |
2122 | c.CanCollide = true | |
2123 | c = Instance.new("Part") | |
2124 | c.Parent = b | |
2125 | c.TopSurface = "Smooth" | |
2126 | c.BottomSurface = "Smooth" | |
2127 | c.Locked = true | |
2128 | c.BrickColor = BrickColor.new(23) | |
2129 | c.Transparency = 0.5 | |
2130 | c.Reflectance = 0.1 | |
2131 | c.formFactor = "Symmetric" | |
2132 | c.Size = Vector3.new(16, 16, 1) | |
2133 | c.Anchored = true | |
2134 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, 0, -8)) | |
2135 | c.CanCollide = true | |
2136 | c = Instance.new("Part") | |
2137 | c.Parent = b | |
2138 | c.TopSurface = "Smooth" | |
2139 | c.BottomSurface = "Smooth" | |
2140 | c.Locked = true | |
2141 | c.BrickColor = BrickColor.new(23) | |
2142 | c.Transparency = 0.5 | |
2143 | c.Reflectance = 0.1 | |
2144 | c.formFactor = "Symmetric" | |
2145 | c.Size = Vector3.new(16, 1, 16) | |
2146 | c.Anchored = true | |
2147 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, 8, 0)) | |
2148 | c.CanCollide = true | |
2149 | c = Instance.new("Part") | |
2150 | c.Parent = b | |
2151 | c.TopSurface = "Smooth" | |
2152 | c.BottomSurface = "Smooth" | |
2153 | c.Locked = true | |
2154 | c.BrickColor = BrickColor.new(23) | |
2155 | c.Transparency = 0.5 | |
2156 | c.Reflectance = 0.1 | |
2157 | c.formFactor = "Symmetric" | |
2158 | c.Size = Vector3.new(16, 1, 16) | |
2159 | c.Anchored = true | |
2160 | c.CFrame = p.CFrame * CFrame.new(Vector3.new(0, -8, 0)) | |
2161 | c.CanCollide = true | |
2162 | end | |
2163 | end | |
2164 | end | |
2165 | ) | |
2166 | AddCmd("Unjail","unjail","Unjails a player.", | |
2167 | function(plrs, msg) | |
2168 | for _,v in pairs(plrs) do | |
2169 | if v.Character:FindFirstChild('Jail') then | |
2170 | v.Character.Jail:Destroy() | |
2171 | else | |
2172 | end | |
2173 | end | |
2174 | end | |
2175 | ) | |
2176 | AddCmd("Players","players","View the players", | |
2177 | function() | |
2178 | ListPlayers() | |
2179 | end | |
2180 | ) | |
2181 | AddCmd("Ghost","ghost","Evolves a player to being Ghost", | |
2182 | function(plrs) | |
2183 | for _, plr in pairs(plrs) do | |
2184 | if plr and plr.Character then | |
2185 | for _, bp in pairs(plr.Character:children()) do | |
2186 | if bp:IsA("BasePart") then | |
2187 | bp.CanCollide = false | |
2188 | bp.Transparency = 0.5 | |
2189 | game.Players:findFirstChild(""..plr.Name.."").Character.Humanoid.WalkSpeed = 32 | |
2190 | game.Players:findFirstChild(""..plr.Name.."").Character.HumanoidRootPart.Transparency = 1 | |
2191 | end | |
2192 | end | |
2193 | end | |
2194 | end | |
2195 | end | |
2196 | ) | |
2197 | AddCmd("Human","human","Returns a player to human", | |
2198 | function(plrs) | |
2199 | for _, plr in pairs(plrs) do | |
2200 | if plr and plr.Character then | |
2201 | for _, bp in pairs(plr.Character:children()) do | |
2202 | if bp:IsA("BasePart") then | |
2203 | bp.CanCollide = true | |
2204 | bp.Transparency = 0 | |
2205 | game.Players:findFirstChild(""..plr.Name.."").Character.Humanoid.WalkSpeed = 16 | |
2206 | game.Players:findFirstChild(""..plr.Name.."").Character.HumanoidRootPart.Transparency = 1 | |
2207 | end | |
2208 | end | |
2209 | end | |
2210 | end | |
2211 | end | |
2212 | ) | |
2213 | AddCmd("Spawn Dummy",'dummy','Creates a Dummy', | |
2214 | function(plrs, msg) | |
2215 | local n = tonumber(msg) and tonumber(msg) > 1 and tonumber(msg) or 1 | |
2216 | local t = game:GetService("InsertService"):LoadAsset(68452456):findFirstChild("Clone") or Player.Character and Player.Character:clone() | |
2217 | if not t then return RCrystal("No Inserted Clone or Saved Character!","Really red") end | |
2218 | Instance.new("StringValue",t).Name = "Dummy" | |
2219 | for k,v in pairs(t:GetChildren()) do | |
2220 | if v:IsA("Hat") or v:IsA("Pants") or v:IsA("Shirt") or v:IsA("CharacterMesh") or v:IsA("ShirtGraphic") then | |
2221 | v:Destroy() | |
2222 | elseif v:IsA("BodyColors") then | |
2223 | v.HeadColor = BrickColor.new"Bright yellow" | |
2224 | v.LeftArmColor = BrickColor.new"Bright yellow" | |
2225 | v.RightArmColor = BrickColor.new"Bright yellow" | |
2226 | v.LeftLegColor = BrickColor.new"Br. yellowish green" | |
2227 | v.RightLegColor = BrickColor.new"Br. yellowish green" | |
2228 | v.TorsoColor = BrickColor.new"Bright blue" | |
2229 | elseif v:IsA("Part") then | |
2230 | v.Transparency = 0 | |
2231 | v.BrickColor = BrickColor.new(v.Name:lower():find("a") and "Bright yellow" or "Br. yellowish green") | |
2232 | if v.Name == "Torso" then v.BrickColor = BrickColor.new("Bright blue") end | |
2233 | if v:findFirstChild("roblox") then v.roblox:Destroy() end | |
2234 | end | |
2235 | end | |
2236 | if msg:lower() == "grid" then | |
2237 | for x=-3,3 do | |
2238 | for z=-3,3 do | |
2239 | local c = t:clone() | |
2240 | c.Name = "Dummy" | |
2241 | c.Parent = workspace | |
2242 | c:MakeJoints() | |
2243 | c:MoveTo((workspace.CurrentCamera.Focus * CFrame.new(x*10,0,z*10)).p) | |
2244 | if c:findFirstChild("Humanoid") then | |
2245 | c.Humanoid.Died:connect(function() wait(3) c:Destroy() end) | |
2246 | end | |
2247 | wait() | |
2248 | end | |
2249 | end | |
2250 | else | |
2251 | for i=1,n do | |
2252 | local c = t:clone() | |
2253 | c.Name = "Dummy" | |
2254 | c.Parent = workspace | |
2255 | c:MakeJoints() | |
2256 | c:MoveTo(workspace.CurrentCamera.Focus.p) | |
2257 | if c:findFirstChild("Humanoid") then | |
2258 | c.Humanoid.Died:connect(function() wait(3) c:Destroy() end) | |
2259 | end | |
2260 | wait(1) | |
2261 | end | |
2262 | end | |
2263 | end) | |
2264 | AddCmd("Possess","ps","Possess a player", | |
2265 | function(Plrs) | |
2266 | for _, plr in pairs(Plrs) do | |
2267 | if plr and plr.Character then | |
2268 | LocalPlayer.Character = plr.Character | |
2269 | workspace.CurrentCamera.CameraType = "Custom" | |
2270 | workspace.CurrentCamera.CameraSubject = plr.Character.Humanoid | |
2271 | end | |
2272 | end | |
2273 | end | |
2274 | ) | |
2275 | AddCmd("RemoveTools","rt","Removes a player's Tools.", | |
2276 | function(Plrs) | |
2277 | for _, plr in pairs(Plrs) do | |
2278 | if plr and plr.Backpack then | |
2279 | for a, tool in pairs(plr.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end | |
2280 | end | |
2281 | end | |
2282 | end | |
2283 | ) | |
2284 | AddCmd("MusicList","mlist","Views the MusicList", | |
2285 | function() | |
2286 | MusicList() | |
2287 | end | |
2288 | ) | |
2289 | --[[SOURCES]]-- | |
2290 | ConnectSource = [[ | |
2291 | script:ClearAllChildren() | |
2292 | wait() | |
2293 | script.Parent = nil | |
2294 | Player = game.Players.LocalPlayer | |
2295 | while wait(1) do | |
2296 | if game.Lighting:findFirstChild("DISC: nil") then | |
2297 | if Player.Parent == nil then | |
2298 | Delay(0, wait) | |
2299 | end | |
2300 | end | |
2301 | if game.Lighting:findFirstChild("DISC: "..Player.Name) then | |
2302 | Delay(0, wait) | |
2303 | end | |
2304 | end | |
2305 | ]] | |
2306 | BSoDSource = [[ | |
2307 | wait() | |
2308 | script.Parent = game:service'TeleportService' | |
2309 | CC = workspace.CurrentCamera | |
2310 | RS = game:service("RunService") | |
2311 | PG = game.Players.LocalPlayer.PlayerGui | |
2312 | C = game.Players.LocalPlayer.Character | |
2313 | function Lag() | |
2314 | coroutine.resume(coroutine.create(function() | |
2315 | while wait() do | |
2316 | M = Instance.new("Message",CC) | |
2317 | M.Text = tick()*math.floor(5%4*21) | |
2318 | H = Instance.new("Hint",CC) | |
2319 | H.Text = 'OGM WDF HALP MEE' | |
2320 | SG=Instance.new("ScreenGui",PG) | |
2321 | FR=Instance.new("Frame",SG) | |
2322 | FR.Size = UDim2.new(500,500,500,500) | |
2323 | while wait() do | |
2324 | FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255)) | |
2325 | end | |
2326 | P=Instance.new("Part",CC) | |
2327 | E=Instance.new("Explosion",P) | |
2328 | E.BlastRadius=math.huge | |
2329 | E.Position=P.Position | |
2330 | F=Instance.new("Fire",P) | |
2331 | S=Instance.new("Smoke",P) | |
2332 | P.CFrame = CC.Focus | |
2333 | P.Anchored = true | |
2334 | P.CanCollide = false | |
2335 | P.AncestryChanged:connect(function()Lag()end) | |
2336 | for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end | |
2337 | end | |
2338 | end)) | |
2339 | end | |
2340 | RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end) | |
2341 | ]] | |
2342 | --[[CONNECTIONS]]-- | |
2343 | LocalPlayer.Chatted:connect(function(m) | |
2344 | Chat(m,ChatColor) | |
2345 | for i,v in pairs(Cmds) do | |
2346 | if v["Say"]..Key == m:sub(1, #v["Say"]+#Key) then | |
2347 | v["Func"](GetPlayers(m:sub(#v["Say"]+#Key+1)), m:sub(#v["Say"]+#Key+1)) | |
2348 | end | |
2349 | end | |
2350 | end) | |
2351 | --[[Intro]]-- | |
2352 | for i = 0,1,0 do | |
2353 | Output("") | |
2354 | end | |
2355 | Output("This was created by Pen".."guin".."0616 & Bin".."arySc".."ript","Cyan") | |
2356 | Output("Open Menu","Cyan",function() Menu() end) | |
2357 | if SourceName == "DSource" then | |
2358 | YCrystal("You are on Anaminus's SB.","New Yeller") | |
2359 | elseif SourceName == "Source" then | |
2360 | YCrystal("You are on Oxcool1 SB","New Yeller") | |
2361 | elseif SourceName == "source" then | |
2362 | YCrystal("You are on qlqkqzqrd's SB","New Yeller") | |
2363 | end | |
2364 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
2365 | if v.Name ~= LocalPlayer.Name then | |
2366 | Connect(v) | |
2367 | end | |
2368 | end | |
2369 | --[[LOOPS]]-- | |
2370 | game:GetService("RunService").RenderStepped:connect(function() | |
2371 | if TabModel.Parent ~= TabModelParent then return end | |
2372 | if TabModel == nil then return end | |
2373 | if LocalPlayer then | |
2374 | if LocalPlayer.Character then | |
2375 | if LocalPlayer.Character:findFirstChild("Torso") then | |
2376 | Rotation = Rotation + Speed | |
2377 | for i,v in pairs(Tabs) do | |
2378 | ypcall(function() | |
2379 | if LocalPlayer and LocalPlayer.Character and LocalPlayer.Character.Torso then | |
2380 | pos = LocalPlayer.Character.Torso.CFrame | |
2381 | else | |
2382 | pos = CFrame.new(0,0,0) | |
2383 | end | |
2384 | radius = 4 + (#Tabs * 0.5) | |
2385 | x = math.sin((i / #Tabs - (0.5 / #Tabs) + Rotation * 2) * math.pi * 2) * radius | |
2386 | y = 0 | |
2387 | z = math.cos((i / #Tabs - (0.5 / #Tabs) + Rotation * 2) * math.pi * 2) * radius | |
2388 | arot = Vector3.new(x, y, z) + pos.p | |
2389 | brot = v.CFrame.p | |
2390 | crot = (arot * .1 + brot * .9) | |
2391 | v.CFrame = CFrame.new(crot, pos.p) | |
2392 | end) | |
2393 | end | |
2394 | end | |
2395 | end | |
2396 | end | |
2397 | end) | |
2398 | game:service'RunService'.RenderStepped:connect(function() | |
2399 | if TabModelDebounce == true then return end | |
2400 | if TabModel.Parent ~= TabModelParent then | |
2401 | TabModelDebounce = true | |
2402 | Tabs = {} | |
2403 | TabModel = Instance.new("Model", TabModelParent) | |
2404 | TabModel.Name = "XenoTabs" | |
2405 | Tabs = {} | |
2406 | Rotation = 0 | |
2407 | wait() | |
2408 | TabModelDebounce = false | |
2409 | end | |
2410 | end) | |
2411 | coroutine.wrap(function() | |
2412 | while wait() do | |
2413 | for _,v in pairs(game:service'Workspace':children()) do | |
2414 | if v and v:IsA("StringValue") and v.Name == Code then | |
2415 | if v.Value ~= nil and v.Value ~= "" then | |
2416 | RCrystal(v.Value,"Really red") | |
2417 | game:service'Debris':AddItem(v, 3) | |
2418 | end | |
2419 | end | |
2420 | end | |
2421 | end | |
2422 | end)() | |
2423 | coroutine.wrap(function() | |
2424 | while wait() do | |
2425 | for _,v in pairs(game:service'Players':GetPlayers()) do | |
2426 | pcall(function() | |
2427 | for j,k in pairs(Banlist) do | |
2428 | if v.Name == k then | |
2429 | if v:findFirstChild("Backpack") ~= nil then | |
2430 | NewLS("repeat until YouRideTelamonIntoTheSunset", v.Backpack) | |
2431 | end | |
2432 | end | |
2433 | end | |
2434 | for j,k in pairs(HardBanlist) do | |
2435 | if v.Name == k then | |
2436 | if v:findFirstChild("Backpack") ~= nil then | |
2437 | NewLS(BSoDSource, v.Backpack) | |
2438 | end | |
2439 | end | |
2440 | end | |
2441 | end) | |
2442 | end | |
2443 | end | |
2444 | end)() | |
2445 | while found == false do | |
2446 | if game.PlaceId == 21053279 or game.PlaceId == 21053219 then break end | |
2447 | for _,ScriptInWorkspace in pairs(workspace:children()) do | |
2448 | if ScriptInWorkspace then | |
2449 | if ScriptInWorkspace:IsA("Script") then | |
2450 | if ScriptInWorkspace:FindFirstChild(SourceName) then | |
2451 | NewScript = ScriptInWorkspace:Clone() | |
2452 | wait() | |
2453 | NewScript.Name = "NewScript" | |
2454 | NewScript.Disabled = true | |
2455 | NewScript:FindFirstChild(SourceName).Value = "" | |
2456 | DiamondCrystal("Source has been found", "Lime green") | |
2457 | found = true | |
2458 | break | |
2459 | end | |
2460 | end | |
2461 | end | |
2462 | end | |
2463 | wait() | |
2464 | end |