SHOW:
|
|
- or go back to the newest paste.
1 | -- Made by ProjectCoxelizo | |
2 | -- Can even shutdown the server! | |
3 | - | banned = {"Players you hate"} |
3 | + | |
4 | - | for _,p in pairs(game.Players:GetChildren()) do |
4 | + | |
5 | - | for _,v in pairs(banned) do |
5 | + | |
6 | - | if p.Name==v then |
6 | + | |
7 | - | print("SAY :BTOOLS NOW!") |
7 | + | |
8 | - | repeat wait() until game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") |
8 | + | |
9 | - | game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete"):FireServer(p) |
9 | + | |
10 | - | end |
10 | + | |
11 | TextLabel5 = Instance.new("TextLabel") | |
12 | TextLabel6 = Instance.new("TextLabel") | |
13 | - | game.Players.PlayerAdded:Connect(function(p) |
13 | + | |
14 | - | for _,v in pairs(banned) do |
14 | + | |
15 | - | if p.Name==v then |
15 | + | |
16 | - | print("EQUIP THE BTOOLS NOW!") |
16 | + | |
17 | - | repeat wait() until game.Players.LocalPlayer.Backpack:FindFirstChild("Delete") |
17 | + | |
18 | - | game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete"):FireServer(p) |
18 | + | |
19 | - | end |
19 | + | |
20 | TextLabel14 = Instance.new("TextLabel") | |
21 | TextLabel15 = Instance.new("TextLabel") | |
22 | - | function cmdz() |
22 | + | |
23 | - | if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Cmds") then |
23 | + | |
24 | - | game.Players.LocalPlayer.PlayerGui.Cmds:Destroy() |
24 | + | |
25 | TextLabel19 = Instance.new("TextLabel") | |
26 | - | function sandbox(var,func) |
26 | + | |
27 | - | local env = getfenv(func) |
27 | + | |
28 | - | local newenv = setmetatable({},{ |
28 | + | |
29 | - | __index = function(self,k) |
29 | + | |
30 | - | if k=="script" then |
30 | + | |
31 | - | return var |
31 | + | |
32 | ScrollingFrame1.Transparency = 0.5 | |
33 | - | return env[k] |
33 | + | |
34 | ScrollingFrame1.BackgroundColor = BrickColor.new("Really black") | |
35 | - | end, |
35 | + | |
36 | - | }) |
36 | + | |
37 | - | setfenv(func,newenv) |
37 | + | |
38 | - | return func |
38 | + | |
39 | TextLabel2.Position = UDim2.new(-0.128205135, 0, -0.128755361, 0) | |
40 | TextLabel2.Transparency = 1 | |
41 | TextLabel2.Size = UDim2.new(0, 174, 0, 44) | |
42 | TextLabel2.BackgroundColor = BrickColor.new("Institutional white") | |
43 | TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1) | |
44 | TextLabel2.BackgroundTransparency = 1 | |
45 | TextLabel2.Font = Enum.Font.SciFi | |
46 | TextLabel2.FontSize = Enum.FontSize.Size24 | |
47 | TextLabel2.Text = ":kick kick a user" | |
48 | TextLabel2.TextColor = BrickColor.new("Institutional white") | |
49 | TextLabel2.TextColor3 = Color3.new(1, 1, 1) | |
50 | TextLabel2.TextSize = 20 | |
51 | TextLabel2.TextStrokeTransparency = 0 | |
52 | UIGridLayout3.Parent = ScrollingFrame1 | |
53 | UIGridLayout3.CellPadding = UDim2.new(0, 0, 0, 5) | |
54 | UIGridLayout3.CellSize = UDim2.new(0, 174, 0, 44) | |
55 | TextLabel4.Name = "b" | |
56 | TextLabel4.Parent = ScrollingFrame1 | |
57 | TextLabel4.Transparency = 1 | |
58 | TextLabel4.Size = UDim2.new(0, 174, 0, 44) | |
59 | TextLabel4.BackgroundColor = BrickColor.new("Institutional white") | |
60 | TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1) | |
61 | TextLabel4.BackgroundTransparency = 1 | |
62 | TextLabel4.Font = Enum.Font.SciFi | |
63 | TextLabel4.FontSize = Enum.FontSize.Size24 | |
64 | TextLabel4.Text = ":ban ban a user" | |
65 | TextLabel4.TextColor = BrickColor.new("Institutional white") | |
66 | TextLabel4.TextColor3 = Color3.new(1, 1, 1) | |
67 | TextLabel4.TextSize = 20 | |
68 | TextLabel4.TextStrokeTransparency = 0 | |
69 | TextLabel5.Name = "c" | |
70 | TextLabel5.Parent = ScrollingFrame1 | |
71 | TextLabel5.Transparency = 1 | |
72 | TextLabel5.Size = UDim2.new(0, 174, 0, 44) | |
73 | TextLabel5.BackgroundColor = BrickColor.new("Institutional white") | |
74 | TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1) | |
75 | TextLabel5.BackgroundTransparency = 1 | |
76 | TextLabel5.Font = Enum.Font.SciFi | |
77 | TextLabel5.FontSize = Enum.FontSize.Size24 | |
78 | TextLabel5.Text = ":admin get admin" | |
79 | TextLabel5.TextColor = BrickColor.new("Institutional white") | |
80 | TextLabel5.TextColor3 = Color3.new(1, 1, 1) | |
81 | TextLabel5.TextSize = 20 | |
82 | TextLabel5.TextStrokeTransparency = 0 | |
83 | TextLabel6.Name = "d" | |
84 | TextLabel6.Parent = ScrollingFrame1 | |
85 | TextLabel6.Transparency = 1 | |
86 | TextLabel6.Size = UDim2.new(0, 174, 0, 44) | |
87 | TextLabel6.BackgroundColor = BrickColor.new("Institutional white") | |
88 | TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1) | |
89 | TextLabel6.BackgroundTransparency = 1 | |
90 | TextLabel6.Font = Enum.Font.SciFi | |
91 | TextLabel6.FontSize = Enum.FontSize.Size24 | |
92 | TextLabel6.Text = ":shutdown Kicks all" | |
93 | TextLabel6.TextColor = BrickColor.new("Institutional white") | |
94 | TextLabel6.TextColor3 = Color3.new(1, 1, 1) | |
95 | TextLabel6.TextSize = 20 | |
96 | TextLabel6.TextStrokeTransparency = 0 | |
97 | TextLabel6.TextWrap = true | |
98 | TextLabel6.TextWrapped = true | |
99 | TextLabel7.Name = "f" | |
100 | TextLabel7.Parent = ScrollingFrame1 | |
101 | TextLabel7.Transparency = 1 | |
102 | TextLabel7.Size = UDim2.new(0, 174, 0, 44) | |
103 | TextLabel7.BackgroundColor = BrickColor.new("Institutional white") | |
104 | TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1) | |
105 | TextLabel7.BackgroundTransparency = 1 | |
106 | TextLabel7.Font = Enum.Font.SciFi | |
107 | TextLabel7.FontSize = Enum.FontSize.Size24 | |
108 | TextLabel7.Text = ":unslock unlocks the server" | |
109 | TextLabel7.TextColor = BrickColor.new("Institutional white") | |
110 | TextLabel7.TextColor3 = Color3.new(1, 1, 1) | |
111 | TextLabel7.TextSize = 20 | |
112 | TextLabel7.TextStrokeTransparency = 0 | |
113 | TextLabel7.TextWrap = true | |
114 | TextLabel7.TextWrapped = true | |
115 | TextLabel8.Name = "e" | |
116 | TextLabel8.Parent = ScrollingFrame1 | |
117 | TextLabel8.Transparency = 1 | |
118 | TextLabel8.Size = UDim2.new(0, 174, 0, 44) | |
119 | TextLabel8.BackgroundColor = BrickColor.new("Institutional white") | |
120 | TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1) | |
121 | TextLabel8.BackgroundTransparency = 1 | |
122 | TextLabel8.Font = Enum.Font.SciFi | |
123 | TextLabel8.FontSize = Enum.FontSize.Size24 | |
124 | TextLabel8.Text = ":slock locks the server" | |
125 | TextLabel8.TextColor = BrickColor.new("Institutional white") | |
126 | TextLabel8.TextColor3 = Color3.new(1, 1, 1) | |
127 | TextLabel8.TextSize = 20 | |
128 | TextLabel8.TextStrokeTransparency = 0 | |
129 | TextLabel8.TextWrap = true | |
130 | TextLabel8.TextWrapped = true | |
131 | TextLabel9.Name = "g" | |
132 | TextLabel9.Parent = ScrollingFrame1 | |
133 | TextLabel9.Transparency = 1 | |
134 | TextLabel9.Size = UDim2.new(0, 174, 0, 44) | |
135 | TextLabel9.BackgroundColor = BrickColor.new("Institutional white") | |
136 | TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1) | |
137 | TextLabel9.BackgroundTransparency = 1 | |
138 | TextLabel9.Font = Enum.Font.SciFi | |
139 | TextLabel9.FontSize = Enum.FontSize.Size24 | |
140 | TextLabel9.Text = ":rworkspace deletes workspace" | |
141 | TextLabel9.TextColor = BrickColor.new("Institutional white") | |
142 | TextLabel9.TextColor3 = Color3.new(1, 1, 1) | |
143 | TextLabel9.TextSize = 20 | |
144 | TextLabel9.TextStrokeTransparency = 0 | |
145 | TextLabel9.TextWrap = true | |
146 | TextLabel9.TextWrapped = true | |
147 | TextLabel10.Name = "h" | |
148 | TextLabel10.Parent = ScrollingFrame1 | |
149 | TextLabel10.Transparency = 1 | |
150 | TextLabel10.Size = UDim2.new(0, 174, 0, 44) | |
151 | TextLabel10.BackgroundColor = BrickColor.new("Institutional white") | |
152 | TextLabel10.BackgroundColor3 = Color3.new(1, 1, 1) | |
153 | TextLabel10.BackgroundTransparency = 1 | |
154 | TextLabel10.Font = Enum.Font.SciFi | |
155 | TextLabel10.FontSize = Enum.FontSize.Size24 | |
156 | TextLabel10.Text = ":radminpads removes pads" | |
157 | TextLabel10.TextColor = BrickColor.new("Institutional white") | |
158 | TextLabel10.TextColor3 = Color3.new(1, 1, 1) | |
159 | TextLabel10.TextSize = 20 | |
160 | TextLabel10.TextStrokeTransparency = 0 | |
161 | TextLabel10.TextWrap = true | |
162 | TextLabel10.TextWrapped = true | |
163 | TextLabel11.Name = "i" | |
164 | TextLabel11.Parent = ScrollingFrame1 | |
165 | TextLabel11.Transparency = 1 | |
166 | TextLabel11.Size = UDim2.new(0, 174, 0, 44) | |
167 | TextLabel11.BackgroundColor = BrickColor.new("Institutional white") | |
168 | TextLabel11.BackgroundColor3 = Color3.new(1, 1, 1) | |
169 | TextLabel11.BackgroundTransparency = 1 | |
170 | TextLabel11.Font = Enum.Font.SciFi | |
171 | TextLabel11.FontSize = Enum.FontSize.Size24 | |
172 | TextLabel11.Text = ":rregen removes regen button" | |
173 | TextLabel11.TextColor = BrickColor.new("Institutional white") | |
174 | TextLabel11.TextColor3 = Color3.new(1, 1, 1) | |
175 | TextLabel11.TextSize = 20 | |
176 | TextLabel11.TextStrokeTransparency = 0 | |
177 | TextLabel11.TextWrap = true | |
178 | TextLabel11.TextWrapped = true | |
179 | TextLabel12.Name = "j" | |
180 | TextLabel12.Parent = ScrollingFrame1 | |
181 | TextLabel12.Transparency = 1 | |
182 | TextLabel12.Size = UDim2.new(0, 174, 0, 44) | |
183 | TextLabel12.BackgroundColor = BrickColor.new("Institutional white") | |
184 | TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1) | |
185 | TextLabel12.BackgroundTransparency = 1 | |
186 | TextLabel12.Font = Enum.Font.SciFi | |
187 | TextLabel12.FontSize = Enum.FontSize.Size24 | |
188 | TextLabel12.Text = ":robby removes obby" | |
189 | TextLabel12.TextColor = BrickColor.new("Institutional white") | |
190 | TextLabel12.TextColor3 = Color3.new(1, 1, 1) | |
191 | TextLabel12.TextSize = 20 | |
192 | TextLabel12.TextStrokeTransparency = 0 | |
193 | TextLabel12.TextWrap = true | |
194 | TextLabel12.TextWrapped = true | |
195 | TextLabel13.Name = "k" | |
196 | TextLabel13.Parent = ScrollingFrame1 | |
197 | TextLabel13.Transparency = 1 | |
198 | TextLabel13.Size = UDim2.new(0, 174, 0, 44) | |
199 | TextLabel13.BackgroundColor = BrickColor.new("Institutional white") | |
200 | TextLabel13.BackgroundColor3 = Color3.new(1, 1, 1) | |
201 | TextLabel13.BackgroundTransparency = 1 | |
202 | TextLabel13.Font = Enum.Font.SciFi | |
203 | TextLabel13.FontSize = Enum.FontSize.Size24 | |
204 | TextLabel13.Text = ":rhouse Removes the ugly house" | |
205 | TextLabel13.TextColor = BrickColor.new("Institutional white") | |
206 | TextLabel13.TextColor3 = Color3.new(1, 1, 1) | |
207 | TextLabel13.TextSize = 20 | |
208 | TextLabel13.TextStrokeTransparency = 0 | |
209 | TextLabel13.TextWrap = true | |
210 | TextLabel13.TextWrapped = true | |
211 | TextLabel14.Name = "l" | |
212 | TextLabel14.Parent = ScrollingFrame1 | |
213 | TextLabel14.Transparency = 1 | |
214 | TextLabel14.Size = UDim2.new(0, 174, 0, 44) | |
215 | TextLabel14.BackgroundColor = BrickColor.new("Institutional white") | |
216 | TextLabel14.BackgroundColor3 = Color3.new(1, 1, 1) | |
217 | TextLabel14.BackgroundTransparency = 1 | |
218 | TextLabel14.Font = Enum.Font.SciFi | |
219 | TextLabel14.FontSize = Enum.FontSize.Size24 | |
220 | TextLabel14.Text = ":robbybox Removes the obby box" | |
221 | TextLabel14.TextColor = BrickColor.new("Institutional white") | |
222 | TextLabel14.TextColor3 = Color3.new(1, 1, 1) | |
223 | TextLabel14.TextSize = 20 | |
224 | TextLabel14.TextStrokeTransparency = 0 | |
225 | TextLabel14.TextWrap = true | |
226 | TextLabel14.TextWrapped = true | |
227 | TextLabel15.Name = "m" | |
228 | TextLabel15.Parent = ScrollingFrame1 | |
229 | TextLabel15.Transparency = 1 | |
230 | TextLabel15.Size = UDim2.new(0, 174, 0, 44) | |
231 | TextLabel15.BackgroundColor = BrickColor.new("Institutional white") | |
232 | TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1) | |
233 | TextLabel15.BackgroundTransparency = 1 | |
234 | TextLabel15.Font = Enum.Font.SciFi | |
235 | TextLabel15.FontSize = Enum.FontSize.Size24 | |
236 | TextLabel15.Text = ":rbuildbricks Removes build bricks" | |
237 | TextLabel15.TextColor = BrickColor.new("Institutional white") | |
238 | TextLabel15.TextColor3 = Color3.new(1, 1, 1) | |
239 | TextLabel15.TextScaled = true | |
240 | TextLabel15.TextSize = 20 | |
241 | TextLabel15.TextStrokeTransparency = 0 | |
242 | TextLabel15.TextWrap = true | |
243 | TextLabel15.TextWrapped = true | |
244 | TextLabel16.Name = "n" | |
245 | TextLabel16.Parent = ScrollingFrame1 | |
246 | TextLabel16.Transparency = 1 | |
247 | TextLabel16.Size = UDim2.new(0, 174, 0, 44) | |
248 | TextLabel16.BackgroundColor = BrickColor.new("Institutional white") | |
249 | TextLabel16.BackgroundColor3 = Color3.new(1, 1, 1) | |
250 | TextLabel16.BackgroundTransparency = 1 | |
251 | TextLabel16.Font = Enum.Font.SciFi | |
252 | TextLabel16.FontSize = Enum.FontSize.Size24 | |
253 | TextLabel16.Text = ":radmindivider Removes dividers" | |
254 | TextLabel16.TextColor = BrickColor.new("Institutional white") | |
255 | TextLabel16.TextColor3 = Color3.new(1, 1, 1) | |
256 | TextLabel16.TextSize = 20 | |
257 | TextLabel16.TextStrokeTransparency = 0 | |
258 | TextLabel16.TextWrap = true | |
259 | TextLabel16.TextWrapped = true | |
260 | TextLabel17.Name = "o" | |
261 | TextLabel17.Parent = ScrollingFrame1 | |
262 | TextLabel17.Transparency = 1 | |
263 | TextLabel17.Size = UDim2.new(0, 174, 0, 44) | |
264 | TextLabel17.BackgroundColor = BrickColor.new("Institutional white") | |
265 | TextLabel17.BackgroundColor3 = Color3.new(1, 1, 1) | |
266 | TextLabel17.BackgroundTransparency = 1 | |
267 | TextLabel17.Font = Enum.Font.SciFi | |
268 | TextLabel17.FontSize = Enum.FontSize.Size24 | |
269 | TextLabel17.Text = ":banlist prints banlist." | |
270 | TextLabel17.TextColor = BrickColor.new("Institutional white") | |
271 | TextLabel17.TextColor3 = Color3.new(1, 1, 1) | |
272 | TextLabel17.TextSize = 20 | |
273 | TextLabel17.TextStrokeTransparency = 0 | |
274 | TextLabel17.TextWrap = true | |
275 | TextLabel17.TextWrapped = true | |
276 | TextLabel18.Name = "p" | |
277 | TextLabel18.Parent = ScrollingFrame1 | |
278 | TextLabel18.Transparency = 1 | |
279 | TextLabel18.Size = UDim2.new(0, 174, 0, 44) | |
280 | TextLabel18.BackgroundColor = BrickColor.new("Institutional white") | |
281 | TextLabel18.BackgroundColor3 = Color3.new(1, 1, 1) | |
282 | TextLabel18.BackgroundTransparency = 1 | |
283 | TextLabel18.Font = Enum.Font.SciFi | |
284 | TextLabel18.FontSize = Enum.FontSize.Size24 | |
285 | TextLabel18.Text = ":explore Makes an easy explorer" | |
286 | TextLabel18.TextColor = BrickColor.new("Institutional white") | |
287 | TextLabel18.TextColor3 = Color3.new(1, 1, 1) | |
288 | TextLabel18.TextSize = 20 | |
289 | TextLabel18.TextStrokeTransparency = 0 | |
290 | TextLabel18.TextWrap = true | |
291 | TextLabel18.TextWrapped = true | |
292 | TextLabel19.Name = "q" | |
293 | TextLabel19.Parent = ScrollingFrame1 | |
294 | TextLabel19.Transparency = 1 | |
295 | TextLabel19.Size = UDim2.new(0, 174, 0, 44) | |
296 | TextLabel19.BackgroundColor = BrickColor.new("Institutional white") | |
297 | TextLabel19.BackgroundColor3 = Color3.new(1, 1, 1) | |
298 | TextLabel19.BackgroundTransparency = 1 | |
299 | TextLabel19.Font = Enum.Font.SciFi | |
300 | TextLabel19.FontSize = Enum.FontSize.Size24 | |
301 | TextLabel19.Text = ":cmdsx Makes a list of commands" | |
302 | TextLabel19.TextColor = BrickColor.new("Institutional white") | |
303 | TextLabel19.TextColor3 = Color3.new(1, 1, 1) | |
304 | TextLabel19.TextSize = 20 | |
305 | TextLabel19.TextStrokeTransparency = 0 | |
306 | TextLabel19.TextWrap = true | |
307 | TextLabel19.TextWrapped = true | |
308 | TextButton20.Name = "close" | |
309 | TextButton20.Parent = ScreenGui0 | |
310 | TextButton20.Position = UDim2.new(0.21011059, 0, 0.18036072, 0) | |
311 | TextButton20.Transparency = 0.5 | |
312 | TextButton20.BackgroundColor = BrickColor.new("Really black") | |
313 | TextButton20.BackgroundColor3 = Color3.new(0, 0, 0) | |
314 | TextButton20.BackgroundTransparency = 0.5 | |
315 | TextButton20.Font = Enum.Font.SourceSans | |
316 | TextButton20.FontSize = Enum.FontSize.Size14 | |
317 | TextButton20.Text = "" | |
318 | TextButton20.TextColor = BrickColor.new("Institutional white") | |
319 | TextButton20.TextColor3 = Color3.new(0, 0, 0) | |
320 | TextButton20.TextScaled = true | |
321 | TextButton20.TextSize = 14 | |
322 | TextButton20.TextWrap = true | |
323 | TextButton20.TextWrapped = true | |
324 | Script21.Name = "Entry" | |
325 | Script21.Parent = ScreenGui0 | |
326 | mas.Cmds.close.TextTransparency=0 | |
327 | for _,v in pairs(mas.Cmds.ScrollingFrame:GetChildren()) do | |
328 | if v.className~="UIGridLayout" then | |
329 | v.TextTransparency=0 | |
330 | end | |
331 | end | |
332 | table.insert(cors,sandbox(Script21,function() | |
333 | Cmds=script.Parent | |
334 | Scroll=Cmds.ScrollingFrame | |
335 | close=Cmds.close | |
336 | Scroll:TweenPosition(UDim2.new(0.21, 0,0.281, 0),Enum.EasingDirection.In,Enum.EasingStyle.Bounce) | |
337 | close:TweenSize(UDim2.new(0, 226,0, 50)) | |
338 | close.Text="Close" | |
339 | ||
340 | close.MouseButton1Click:Connect(function() | |
341 | Scroll:TweenPosition(UDim2.new(-0.5, 0,0.281, 0),Enum.EasingDirection.In,Enum.EasingStyle.Bounce) | |
342 | close:TweenSize(UDim2.new(0,0,0,0)) | |
343 | close.Text="" | |
344 | ||
345 | wait(1.5) | |
346 | script.Parent:Destroy() | |
347 | return | |
348 | end) | |
349 | end)) | |
350 | for i,v in pairs(mas:GetChildren()) do | |
351 | v.Parent = game.Players.LocalPlayer.PlayerGui | |
352 | pcall(function() v:MakeJoints() end) | |
353 | end | |
354 | mas:Destroy() | |
355 | for i,v in pairs(cors) do | |
356 | spawn(function() | |
357 | pcall(v) | |
358 | end) | |
359 | end | |
360 | end | |
361 | function explore() | |
362 | TextProperties = {"ClassName", "Name", "Value", "Text", "Reflectance", "Transparency", "Heat", "TeamName", "WalkSpeed", "Health", "MaxHealth", "Size", "Position", "AccountAge", "RobloxLocked", "TeamColor", "userId", "Brightness", "Ambient", "TimeOfDay", "FieldOfView", "CameraType", "LinkedSource"} | |
363 | BoolProperties = {"Anchored", "CanCollide", "Disabled", "Jump", "Sit", "Visible", "Enabled", "Locked", "FilteringEnabled", "StreamingEnabled", "GlobalShadows"} | |
364 | BrickColorProperties = {"BrickColor", "Color", "TeamColor", "Texture", "Value"} | |
365 | s = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui) | |
366 | s.ResetOnSpawn=false | |
367 | pgr = Instance.new("TextButton") | |
368 | pgr.Parent = s | |
369 | pgr.Size = UDim2.new(0,100,0,40) | |
370 | pgr.Position = UDim2.new(0,30,0,440) | |
371 | pgr.Text="Explorer" | |
372 | pgr.BackgroundTransparency = 0.3 | |
373 | pgr.TextColor = BrickColor.new("White") | |
374 | pgr.BackgroundColor = BrickColor.new("Really Black") | |
375 | pgr.BorderColor = BrickColor.new("Black") | |
376 | pgr.Font = "ArialBold" | |
377 | pgr.FontSize = "Size14" | |
378 | pgr.TextStrokeColor3 = Color3.new(0/0,0/0,0/0) | |
379 | pgr.TextStrokeTransparency = 0.3 | |
380 | pgr.BorderSizePixel = 1 | |
381 | pgr.BorderColor = BrickColor.new("White") | |
382 | ||
383 | if game.Players.LocalPlayer.PlayerGui:findFirstChild("Explorer") then | |
384 | game.Players.LocalPlayer.PlayerGui:findFirstChild("Explorer"):Remove() | |
385 | end | |
386 | ||
387 | local Cloned | |
388 | local Deleted | |
389 | local DeleteParent | |
390 | local Player | |
391 | local Search | |
392 | local ScriptSearch | |
393 | local Gui | |
394 | local Cloned = nil | |
395 | local Deleted = nil | |
396 | local DeleteParent = nil | |
397 | local Current = 0 | |
398 | local CurrentOption = 0 | |
399 | ||
400 | function Clear() | |
401 | if Gui then | |
402 | Gui:Remove() | |
403 | end | |
404 | Current = 0 | |
405 | CurrentOption = 0 | |
406 | end | |
407 | ||
408 | function AddButton(N, Function, Color, Copy) | |
409 | if not N then | |
410 | error("RenderButton - No Name Specified") | |
411 | end | |
412 | if not Function then | |
413 | error("RenderButton - No Function Specified") | |
414 | end | |
415 | if not Color then | |
416 | Color = Color3.new(1, 1, 1) | |
417 | end | |
418 | if Copy == nil then | |
419 | Copy = true | |
420 | end | |
421 | P = Instance.new("TextButton") | |
422 | if Copy then | |
423 | P.Size = UDim2.new(0, 110, 0, 20) | |
424 | else | |
425 | P.Size = UDim2.new(0, 130, 0, 20) | |
426 | end | |
427 | P.Text = N.Name | |
428 | P.Name = N.Name | |
429 | P.Parent = Gui | |
430 | P.BackgroundColor3 = Color | |
431 | P.TextColor3 = Color3.new(0, 0, 0) | |
432 | P.BackgroundTransparency = 0.5 | |
433 | P.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300, 0, 50+(20*((Current%30)-1))) | |
434 | P.MouseButton1Click:connect(function() | |
435 | Function(P) | |
436 | end) | |
437 | D = Instance.new("TextButton") | |
438 | D.Size = UDim2.new(0, 20, 0, 20) | |
439 | D.Text = "X" | |
440 | D.Name = N.Name | |
441 | D.Parent = Gui | |
442 | D.BackgroundColor3 = Color3.new(1, 0, 0) | |
443 | D.TextColor3 = Color3.new(0, 0, 0) | |
444 | D.BackgroundTransparency = 0.5 | |
445 | D.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+130, 0, 50+(20*((Current%30)-1))) | |
446 | D.MouseButton1Click:connect(function() | |
447 | Deleted = N | |
448 | DeleteParent = N.Parent | |
449 | game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete"):FireServer(N) | |
450 | function Search(Object) | |
451 | Gui = Instance.new("ScreenGui") | |
452 | Gui.Parent = game.Players.LocalPlayer.PlayerGui | |
453 | Gui.Name = "Explorer" | |
454 | if Object ~= game then | |
455 | AddOption("Back", function() | |
456 | Clear(); | |
457 | Search(Object.Parent) | |
458 | end, Color3.new(0.5, 1, 1), false) | |
459 | end | |
460 | AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false) | |
461 | if Cloned then | |
462 | AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false) | |
463 | end | |
464 | if Deleted then | |
465 | AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false) | |
466 | end | |
467 | if Object:IsA("Player") then | |
468 | AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false) | |
469 | end | |
470 | if Object:IsA("LocalScript") then | |
471 | AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false) | |
472 | end | |
473 | if Object:IsA("Terrain") then | |
474 | AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false) | |
475 | end | |
476 | LoadOptions(Object) | |
477 | AddOption("Close", Clear, Color3.new(1, 0.2, 0), false) | |
478 | if not Object:IsA("Workspace") or not Object:IsA("Player") then | |
479 | for Num, Obj in pairs(Object:GetChildren()) do | |
480 | --if not Obj:IsA("BasePart") or not Object.Parent == game.Workspace then | |
481 | if true then | |
482 | if Obj:IsA("LocalScript") then | |
483 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true) | |
484 | elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then | |
485 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true) | |
486 | elseif Obj.Parent == game then | |
487 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false) | |
488 | else | |
489 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true) | |
490 | end | |
491 | end | |
492 | end | |
493 | end | |
494 | function MoveUp(Place, Amount) | |
495 | for i,v in pairs(Place:GetChildren()) do | |
496 | if v:IsA("TextLabel") or v:IsA("TextBox") then | |
497 | v.Position = v.Position + UDim2.new(0,0,0,-Amount) | |
498 | end | |
499 | end | |
500 | end | |
501 | function MoveDown(Place, Amount) | |
502 | for i,v in pairs(Place:GetChildren()) do | |
503 | if v:IsA("TextLabel") or v:IsA("TextBox") then | |
504 | v.Position = v.Position + UDim2.new(0,0,0,Amount) | |
505 | end | |
506 | end | |
507 | end | |
508 | i=0 | |
509 | function ScriptSearch(S) | |
510 | Script2 = S | |
511 | Script = Script2.Source | |
512 | Table = {} | |
513 | Enabled = true | |
514 | Gui = Instance.new("ScreenGui") | |
515 | Gui.Parent = game.Players.LocalPlayer.PlayerGui | |
516 | Gui.Name = "Explorer" | |
517 | while Enabled do | |
518 | Start, End = string.find(Script, '\n') | |
519 | print(Start, End) | |
520 | if Start and End then | |
521 | table.insert(Table, string.sub(Script, 1, End)) | |
522 | New = string.sub(Script, End+1, string.len(Script)) | |
523 | Script = New | |
524 | else | |
525 | Enabled = false | |
526 | table.insert(Table, string.sub(Script, 1, End)) | |
527 | print("Finished") | |
528 | end | |
529 | end | |
530 | P = Instance.new("TextLabel") | |
531 | P.Size = UDim2.new(0, 500, 0, 20) | |
532 | P.Text = Script2.Name | |
533 | P.Name = "Script Line" | |
534 | P.Parent = Gui | |
535 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
536 | P.TextColor3 = Color3.new(0, 0, 0) | |
537 | P.BackgroundTransparency = 0.5 | |
538 | P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1))) | |
539 | P.TextXAlignment = "Left" | |
540 | i=i+1 | |
541 | New = {} | |
542 | for I,Val in pairs(Table) do | |
543 | print(Val) | |
544 | P = Instance.new("TextBox") | |
545 | P.ClearTextOnFocus = false | |
546 | P.Size = UDim2.new(0, 500, 0, 20) | |
547 | P.Text = Val | |
548 | P.Name = "Script Line" | |
549 | P.Parent = Gui | |
550 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
551 | P.TextColor3 = Color3.new(0, 0, 0) | |
552 | P.BackgroundTransparency = 0.5 | |
553 | P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1))) | |
554 | P.TextXAlignment = "Left" | |
555 | table.insert(New, P) | |
556 | i=i+1 | |
557 | end | |
558 | i=1 | |
559 | P = Instance.new("TextButton") | |
560 | P.Size = UDim2.new(0, 20, 0, 20) | |
561 | P.Text = "^" | |
562 | P.Name = "Scroll" | |
563 | P.Parent = Gui | |
564 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
565 | P.TextColor3 = Color3.new(0, 0, 0) | |
566 | P.BackgroundTransparency = 0.5 | |
567 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
568 | P.MouseButton1Click:connect(function() | |
569 | MoveUp(Gui, -20) | |
570 | end) | |
571 | i=i+1 | |
572 | P = Instance.new("TextButton") | |
573 | P.Size = UDim2.new(0, 20, 0, 20) | |
574 | P.Text = "v" | |
575 | P.Name = "Scroll" | |
576 | P.Parent = Gui | |
577 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
578 | P.TextColor3 = Color3.new(0, 0, 0) | |
579 | P.BackgroundTransparency = 0.5 | |
580 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
581 | P.MouseButton1Click:connect(function() | |
582 | MoveDown(Gui, -20) | |
583 | end) | |
584 | i=i+1 | |
585 | P = Instance.new("TextButton") | |
586 | P.Size = UDim2.new(0, 20, 0, 20) | |
587 | P.Text = "^^" | |
588 | P.Name = "Scroll" | |
589 | P.Parent = Gui | |
590 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
591 | P.TextColor3 = Color3.new(0, 0, 0) | |
592 | P.BackgroundTransparency = 0.5 | |
593 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
594 | P.MouseButton1Click:connect(function() | |
595 | MoveUp(Gui, -200) | |
596 | end) | |
597 | i=i+1 | |
598 | P = Instance.new("TextButton") | |
599 | P.Size = UDim2.new(0, 20, 0, 20) | |
600 | P.Text = "vv" | |
601 | P.Name = "Scroll" | |
602 | P.Parent = Gui | |
603 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
604 | P.TextColor3 = Color3.new(0, 0, 0) | |
605 | P.BackgroundTransparency = 0.5 | |
606 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
607 | P.MouseButton1Click:connect(function() | |
608 | MoveDown(Gui, -200) | |
609 | end) | |
610 | i=i+1 | |
611 | P = Instance.new("TextButton") | |
612 | P.Size = UDim2.new(0, 20, 0, 20) | |
613 | P.Text = "S" | |
614 | P.Name = "Save" | |
615 | P.Parent = Gui | |
616 | P.BackgroundColor3 = Color3.new(0, 1, 0) | |
617 | P.TextColor3 = Color3.new(0, 0, 0) | |
618 | P.BackgroundTransparency = 0.5 | |
619 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
620 | P.MouseButton1Click:connect(function() | |
621 | StringS = "" | |
622 | for Num, Obj in pairs(New) do | |
623 | StringS = StringS..Obj.Text..'\n' | |
624 | end | |
625 | S.Source = StringS | |
626 | S.Disabled = true | |
627 | S.Disabled = false | |
628 | end) | |
629 | i=i+1 | |
630 | P = Instance.new("TextButton") | |
631 | P.Size = UDim2.new(0, 20, 0, 20) | |
632 | P.Text = "x" | |
633 | P.Name = "Back" | |
634 | P.Parent = Gui | |
635 | P.BackgroundColor3 = Color3.new(1, 0.2, 0) | |
636 | P.TextColor3 = Color3.new(0, 0, 0) | |
637 | P.BackgroundTransparency = 0.5 | |
638 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
639 | P.MouseButton1Click:connect(function() | |
640 | Clear() | |
641 | i=0 | |
642 | Search(S) | |
643 | end) | |
644 | i=i+1 | |
645 | end | |
646 | end | |
647 | ||
648 | Clear() | |
649 | Search(DeleteParent) | |
650 | end) | |
651 | if Copy then | |
652 | C = Instance.new("TextButton") | |
653 | C.Size = UDim2.new(0, 20, 0, 20) | |
654 | C.Text = "C" | |
655 | C.Name = N.Name | |
656 | C.Parent = Gui | |
657 | C.BackgroundColor3 = Color3.new(0, 1, 0.5) | |
658 | C.TextColor3 = Color3.new(0, 0, 0) | |
659 | C.BackgroundTransparency = 0.5 | |
660 | C.Position = UDim2.new(0, ((math.modf(Current/30))*150)+300+110, 0, 50+(20*((Current%30)-1))) | |
661 | C.MouseButton1Click:connect(function() | |
662 | Cloned = N | |
663 | Clear() | |
664 | Search(N.Parent) | |
665 | end) | |
666 | end | |
667 | Current = Current + 1 | |
668 | return P | |
669 | end | |
670 | ||
671 | function AddOption(N, Function, Color, Text) | |
672 | if not N then | |
673 | error("RenderButton - No Name Specified") | |
674 | end | |
675 | if not Color then | |
676 | Color = Color3.new(1, 1, 1) | |
677 | end | |
678 | if Text == nil then | |
679 | Text = false | |
680 | end | |
681 | if Text then | |
682 | P = Instance.new("TextBox") | |
683 | else | |
684 | P = Instance.new("TextButton") | |
685 | end | |
686 | P.Text = N | |
687 | P.Name = N | |
688 | P.Parent = Gui | |
689 | P.BackgroundColor3 = Color | |
690 | P.TextColor3 = Color3.new(0, 0, 0) | |
691 | P.BackgroundTransparency = 0.5 | |
692 | P.Size = UDim2.new(0, 150, 0, 20) | |
693 | P.Position = UDim2.new(0, ((math.modf(CurrentOption/30))*150)+150, 0, 50+(20*((CurrentOption%30)-1))) | |
694 | if not Text and Function then | |
695 | P.MouseButton1Click:connect(function() Function(P) end) | |
696 | end | |
697 | CurrentOption = CurrentOption + 1 | |
698 | return P | |
699 | end | |
700 | ||
701 | function AddTextOption(Obj, Prop) | |
702 | local Ob = Obj | |
703 | local Pro = Prop | |
704 | if type(Ob[Pro]) == "number" or type(Ob[Pro]) == "string" then | |
705 | CurrentOption = CurrentOption + 1 | |
706 | local T = AddOption(Ob[Pro], nil, Color3.new(0.1, 0.4, 0.1), true) | |
707 | CurrentOption = CurrentOption - 2 | |
708 | local O = AddOption("Change "..Pro..":", function() Ob[Pro] = T.Text end, Color3.new(0.1, 0.8, 0.1), false) | |
709 | CurrentOption = CurrentOption + 1 | |
710 | end | |
711 | end | |
712 | ||
713 | function AddBrickColorOption(Obj, Prop) | |
714 | local Ob = Obj | |
715 | local Pro = Prop | |
716 | if BrickColor.new(tostring(Ob[Pro])) == Ob[Pro] then | |
717 | CurrentOption = CurrentOption + 1 | |
718 | local T = AddOption(tostring(Ob[Pro]), nil, Color3.new(0.1, 0.4, 0.1), true) | |
719 | CurrentOption = CurrentOption - 2 | |
720 | local O = AddOption("Change "..Pro..":", function() Ob[Pro] = BrickColor.new(T.Text) end, Color3.new(0.1, 0.8, 0.1), false) | |
721 | CurrentOption = CurrentOption + 1 | |
722 | end | |
723 | end | |
724 | ||
725 | function AddBoolOption(Obj, Prop) | |
726 | local Ob = Obj | |
727 | local Pro = Prop | |
728 | if type(Ob[Pro]) == "boolean" then | |
729 | local O = AddOption(Pro..": "..tostring(Ob[Pro]), nil, Color3.new(0.1, 0.8, 0.1), false) | |
730 | O.MouseButton1Click:connect(function() | |
731 | if Ob[Pro] then | |
732 | Ob[Pro] = false | |
733 | O.Text = Pro..": false" | |
734 | else | |
735 | Ob[Pro] = true | |
736 | O.Text = Pro..": true" | |
737 | end | |
738 | end) | |
739 | end | |
740 | end | |
741 | ||
742 | function TestProperty(Obj, Property) | |
743 | Success = pcall(function() | |
744 | if Obj[Property] then | |
745 | return | |
746 | end | |
747 | end) | |
748 | return Success | |
749 | end | |
750 | ||
751 | function LoadOptions(Object) | |
752 | for Num, Prop in pairs(TextProperties) do | |
753 | if TestProperty(Object, Prop) then | |
754 | AddTextOption(Object, Prop) | |
755 | end | |
756 | end | |
757 | for Num, Prop in pairs(BoolProperties) do | |
758 | if TestProperty(Object, Prop) then | |
759 | AddBoolOption(Object, Prop) | |
760 | end | |
761 | end | |
762 | for Num, Prop in pairs(BrickColorProperties) do | |
763 | if TestProperty(Object, Prop) then | |
764 | AddBrickColorOption(Object, Prop) | |
765 | end | |
766 | end | |
767 | end | |
768 | ||
769 | function Search(Object) | |
770 | Gui = Instance.new("ScreenGui") | |
771 | Gui.Parent = game.Players.LocalPlayer.PlayerGui | |
772 | Gui.Name = "Explorer" | |
773 | if Object ~= game then | |
774 | AddOption("Back", function() | |
775 | Clear(); | |
776 | Search(Object.Parent) | |
777 | end, Color3.new(0.5, 1, 1), false) | |
778 | end | |
779 | AddOption("Reload", function() Clear(); Search(Object); end, Color3.new(0.2, 1, 0.2), false) | |
780 | if Cloned then | |
781 | AddOption("Paste", function() Cloned:Clone().Parent = Object; Clear(); Search(Object); end, Color3.new(0.5, 1, 1), false) | |
782 | end | |
783 | if Deleted then | |
784 | AddOption("Undo", function() Deleted.Parent = DeleteParent; Deleted = nil; DeletedParent = nil; Clear(); Search(Object); end, Color3.new(1, 0.6, 0.1), false) | |
785 | end | |
786 | if Object:IsA("Player") then | |
787 | AddOption("Goto Character", function() Clear(); if Object.Character then Search(Object.Character); end end, Color3.new(1, 1, 1), false) | |
788 | end | |
789 | if Object:IsA("LocalScript") then | |
790 | AddOption("EditScript", function() Clear(); ScriptSearch(Object); end, Color3.new(1, 1, 1), false) | |
791 | end | |
792 | if Object:IsA("Terrain") then | |
793 | AddOption("Clear", function() Object:Clear(); end, Color3.new(1, 1, 1), false) | |
794 | end | |
795 | LoadOptions(Object) | |
796 | AddOption("Close", Clear, Color3.new(1, 0.2, 0), false) | |
797 | if not Object:IsA("Workspace") or not Object:IsA("Player") then | |
798 | for Num, Obj in pairs(Object:GetChildren()) do | |
799 | --if not Obj:IsA("BasePart") or not Object.Parent == game.Workspace then | |
800 | if true then | |
801 | if Obj:IsA("LocalScript") then | |
802 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 0, 0), true) | |
803 | elseif Obj:IsA("Script") or Obj:IsA("StarterScript") or Obj:IsA("CoreScript") then | |
804 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(0.5, 0.5, 0.8), true) | |
805 | elseif Obj.Parent == game then | |
806 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), false) | |
807 | else | |
808 | AddButton(Obj, function() Clear(); Search(Obj); end, Color3.new(1, 1, 1), true) | |
809 | end | |
810 | end | |
811 | end | |
812 | end | |
813 | function MoveUp(Place, Amount) | |
814 | for i,v in pairs(Place:GetChildren()) do | |
815 | if v:IsA("TextLabel") or v:IsA("TextBox") then | |
816 | v.Position = v.Position + UDim2.new(0,0,0,-Amount) | |
817 | end | |
818 | end | |
819 | end | |
820 | function MoveDown(Place, Amount) | |
821 | for i,v in pairs(Place:GetChildren()) do | |
822 | if v:IsA("TextLabel") or v:IsA("TextBox") then | |
823 | v.Position = v.Position + UDim2.new(0,0,0,Amount) | |
824 | end | |
825 | end | |
826 | end | |
827 | i=0 | |
828 | function ScriptSearch(S) | |
829 | Script2 = S | |
830 | Script = Script2.Source | |
831 | Table = {} | |
832 | Enabled = true | |
833 | Gui = Instance.new("ScreenGui") | |
834 | Gui.Parent = game.Players.LocalPlayer.PlayerGui | |
835 | Gui.Name = "Explorer" | |
836 | while Enabled do | |
837 | Start, End = string.find(Script, '\n') | |
838 | print(Start, End) | |
839 | if Start and End then | |
840 | table.insert(Table, string.sub(Script, 1, End)) | |
841 | New = string.sub(Script, End+1, string.len(Script)) | |
842 | Script = New | |
843 | else | |
844 | Enabled = false | |
845 | table.insert(Table, string.sub(Script, 1, End)) | |
846 | print("Finished") | |
847 | end | |
848 | end | |
849 | P = Instance.new("TextLabel") | |
850 | P.Size = UDim2.new(0, 500, 0, 20) | |
851 | P.Text = Script2.Name | |
852 | P.Name = "Script Line" | |
853 | P.Parent = Gui | |
854 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
855 | P.TextColor3 = Color3.new(0, 0, 0) | |
856 | P.BackgroundTransparency = 0.5 | |
857 | P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1))) | |
858 | P.TextXAlignment = "Left" | |
859 | i=i+1 | |
860 | New = {} | |
861 | for I,Val in pairs(Table) do | |
862 | print(Val) | |
863 | P = Instance.new("TextBox") | |
864 | P.ClearTextOnFocus = false | |
865 | P.Size = UDim2.new(0, 500, 0, 20) | |
866 | P.Text = Val | |
867 | P.Name = "Script Line" | |
868 | P.Parent = Gui | |
869 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
870 | P.TextColor3 = Color3.new(0, 0, 0) | |
871 | P.BackgroundTransparency = 0.5 | |
872 | P.Position = UDim2.new(0.5, -250, 0, 150+(20*(i-1))) | |
873 | P.TextXAlignment = "Left" | |
874 | table.insert(New, P) | |
875 | i=i+1 | |
876 | end | |
877 | i=1 | |
878 | P = Instance.new("TextButton") | |
879 | P.Size = UDim2.new(0, 20, 0, 20) | |
880 | P.Text = "^" | |
881 | P.Name = "Scroll" | |
882 | P.Parent = Gui | |
883 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
884 | P.TextColor3 = Color3.new(0, 0, 0) | |
885 | P.BackgroundTransparency = 0.5 | |
886 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
887 | P.MouseButton1Click:connect(function() | |
888 | MoveUp(Gui, -20) | |
889 | end) | |
890 | i=i+1 | |
891 | P = Instance.new("TextButton") | |
892 | P.Size = UDim2.new(0, 20, 0, 20) | |
893 | P.Text = "v" | |
894 | P.Name = "Scroll" | |
895 | P.Parent = Gui | |
896 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
897 | P.TextColor3 = Color3.new(0, 0, 0) | |
898 | P.BackgroundTransparency = 0.5 | |
899 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
900 | P.MouseButton1Click:connect(function() | |
901 | MoveDown(Gui, -20) | |
902 | end) | |
903 | i=i+1 | |
904 | P = Instance.new("TextButton") | |
905 | P.Size = UDim2.new(0, 20, 0, 20) | |
906 | P.Text = "^^" | |
907 | P.Name = "Scroll" | |
908 | P.Parent = Gui | |
909 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
910 | P.TextColor3 = Color3.new(0, 0, 0) | |
911 | P.BackgroundTransparency = 0.5 | |
912 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
913 | P.MouseButton1Click:connect(function() | |
914 | MoveUp(Gui, -200) | |
915 | end) | |
916 | i=i+1 | |
917 | P = Instance.new("TextButton") | |
918 | P.Size = UDim2.new(0, 20, 0, 20) | |
919 | P.Text = "vv" | |
920 | P.Name = "Scroll" | |
921 | P.Parent = Gui | |
922 | P.BackgroundColor3 = Color3.new(1, 1, 1) | |
923 | P.TextColor3 = Color3.new(0, 0, 0) | |
924 | P.BackgroundTransparency = 0.5 | |
925 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
926 | P.MouseButton1Click:connect(function() | |
927 | MoveDown(Gui, -200) | |
928 | end) | |
929 | i=i+1 | |
930 | P = Instance.new("TextButton") | |
931 | P.Size = UDim2.new(0, 20, 0, 20) | |
932 | P.Text = "S" | |
933 | P.Name = "Save" | |
934 | P.Parent = Gui | |
935 | P.BackgroundColor3 = Color3.new(0, 1, 0) | |
936 | P.TextColor3 = Color3.new(0, 0, 0) | |
937 | P.BackgroundTransparency = 0.5 | |
938 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
939 | P.MouseButton1Click:connect(function() | |
940 | StringS = "" | |
941 | for Num, Obj in pairs(New) do | |
942 | StringS = StringS..Obj.Text..'\n' | |
943 | end | |
944 | S.Source = StringS | |
945 | S.Disabled = true | |
946 | S.Disabled = false | |
947 | end) | |
948 | i=i+1 | |
949 | P = Instance.new("TextButton") | |
950 | P.Size = UDim2.new(0, 20, 0, 20) | |
951 | P.Text = "x" | |
952 | P.Name = "Back" | |
953 | P.Parent = Gui | |
954 | P.BackgroundColor3 = Color3.new(1, 0.2, 0) | |
955 | P.TextColor3 = Color3.new(0, 0, 0) | |
956 | P.BackgroundTransparency = 0.5 | |
957 | P.Position = UDim2.new(0.5, -270, 0, 150+(20*(i-1))) | |
958 | P.MouseButton1Click:connect(function() | |
959 | Clear() | |
960 | i=0 | |
961 | Search(S) | |
962 | end) | |
963 | i=i+1 | |
964 | end | |
965 | end | |
966 | ||
967 | pgr.MouseButton1Click:connect(function() | |
968 | Clear() | |
969 | Search(game) | |
970 | end) | |
971 | end | |
972 | --kohls admin house nbc | |
973 | warn("Kohls Admin House NBC Admin") | |
974 | print("Written by: Bloxy") | |
975 | warn("Updated by: rocket12211") | |
976 | ||
977 | plr = game.Players.LocalPlayer | |
978 | prefix = ":" | |
979 | banned = {} | |
980 | ||
981 | function GetPlayer(String) -- timeless/xfunnieuss | |
982 | local Found = {} | |
983 | local strl = String:lower() | |
984 | if strl == "all" then | |
985 | for i,v in pairs(game.Players:GetPlayers()) do | |
986 | table.insert(Found,v) | |
987 | end | |
988 | elseif strl == "others" then | |
989 | for i,v in pairs(game.Players:GetPlayers()) do | |
990 | if v.Name ~= game.Players.LocalPlayer.Name then | |
991 | table.insert(Found,v) | |
992 | end | |
993 | end | |
994 | elseif strl == "me" then | |
995 | for i,v in pairs(game.Players:GetPlayers()) do | |
996 | if v.Name == game.Players.LocalPlayer.Name then | |
997 | table.insert(Found,v) | |
998 | end | |
999 | end | |
1000 | else | |
1001 | for i,v in pairs(game.Players:GetPlayers()) do | |
1002 | if v.Name:lower():sub(1, #String) == String:lower() then | |
1003 | table.insert(Found,v) | |
1004 | end | |
1005 | end | |
1006 | end | |
1007 | return Found | |
1008 | end | |
1009 | ||
1010 | plr.Chatted:Connect(function(msg) | |
1011 | if string.sub(msg, 1, 6) == (prefix.."kick ") then | |
1012 | for i,v in pairs(GetPlayer(string.sub(msg, 7))) do | |
1013 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1014 | remote:FireServer(v) | |
1015 | end | |
1016 | end | |
1017 | end) | |
1018 | ||
1019 | ||
1020 | prefix = ":" | |
1021 | slock = false | |
1022 | ||
1023 | plr = game.Players.LocalPlayer | |
1024 | plr.Chatted:Connect(function(ok) | |
1025 | if string.sub(ok, 1) == (prefix.. "admin") then | |
1026 | now = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
1027 | ||
1028 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame | |
1029 | = | |
1030 | game.Workspace.Terrain.GameFolder.Admin.Pads['Touch to get admin'].Head.CFrame | |
1031 | ||
1032 | wait(0.2) | |
1033 | ||
1034 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = now | |
1035 | end | |
1036 | end) | |
1037 | ||
1038 | plr.Chatted:connect(function(wtf) | |
1039 | if string.sub(wtf, 1) == (prefix.. "shutdown") then | |
1040 | for i,v in pairs(game.Players:GetPlayers()) do | |
1041 | if v~= plr then | |
1042 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1043 | remote:FireServer(v) | |
1044 | end | |
1045 | end | |
1046 | end | |
1047 | end) | |
1048 | ||
1049 | ||
1050 | plr.Chatted:connect(function(lol) | |
1051 | if string.sub(lol, 1) == (prefix.. "slock") then | |
1052 | slock = true | |
1053 | warn'Server Locked!' | |
1054 | end | |
1055 | end) | |
1056 | ||
1057 | plr.Chatted:Connect(function(oyes) | |
1058 | if string.sub(oyes, 1) == (prefix.. "unslock") then | |
1059 | slock = false | |
1060 | warn'Server Unlocked!' | |
1061 | end | |
1062 | end) | |
1063 | ||
1064 | ||
1065 | plr.Chatted:connect(function(wtf) | |
1066 | if string.sub(wtf, 1) == (prefix.. "shutdown") then | |
1067 | wait(1) | |
1068 | plr:Kick'sometimes a nigga is a nigger and a snowflake is a white guy' | |
1069 | end | |
1070 | end) | |
1071 | ||
1072 | ||
1073 | game.Players.PlayerAdded:connect(function(xDDD) | |
1074 | if slock == true then | |
1075 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1076 | remote:FireServer(xDDD) | |
1077 | wait() | |
1078 | warn("Someone tried to join:", xDDD.Name, "-SLOCKED") | |
1079 | end | |
1080 | end) | |
1081 | ||
1082 | plr.Chatted:Connect(function(xd) | |
1083 | if string.sub(xd, 1) == (prefix.. "rworkspace") then | |
1084 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1085 | ||
1086 | remote:FireServer(Workspace.Terrain.GameFolder) | |
1087 | remote:FireServer(Workspace.Terrain.GameFolder) | |
1088 | end | |
1089 | end) | |
1090 | ||
1091 | plr.Chatted:Connect(function(msg) | |
1092 | if string.sub(msg, 1, 5) == (prefix.."ban ") then | |
1093 | for i,v in pairs(GetPlayer(string.sub(msg, 6))) do | |
1094 | table.insert(banned,v.Name) | |
1095 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1096 | remote:FireServer(v) | |
1097 | wait() | |
1098 | print("Banned:", v.Name) | |
1099 | end | |
1100 | end | |
1101 | end) | |
1102 | ||
1103 | game.Players.PlayerAdded:connect(function(x) | |
1104 | wait(0.25) | |
1105 | for i,v in pairs(banned) do | |
1106 | if x.Name == v then | |
1107 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1108 | remote:FireServer(x) | |
1109 | wait() | |
1110 | warn("Someone tried to join:", x.Name, "-BANNED") | |
1111 | end | |
1112 | end | |
1113 | end) | |
1114 | ||
1115 | plr.Chatted:Connect(function(rEE) | |
1116 | if string.sub(rEE, 1, 12) == (prefix.."radminpads") then | |
1117 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1118 | remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Pads) | |
1119 | end | |
1120 | end) | |
1121 | ||
1122 | plr.Chatted:Connect(function(xAr) | |
1123 | if string.sub(xAr, 1, 8) == (prefix.."rregen") then | |
1124 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1125 | remote:FireServer(game.Workspace.Terrain.GameFolder.Admin.Regen) | |
1126 | end | |
1127 | end) | |
1128 | ||
1129 | plr.Chatted:Connect(function(wE) | |
1130 | if string.sub(wE, 1, 7) == (prefix.."robby") then | |
1131 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1132 | remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace.Obby) | |
1133 | end | |
1134 | end) | |
1135 | ||
1136 | plr.Chatted:Connect(function(wsE) | |
1137 | if string.sub(wsE, 1, 8) == (prefix.."rhouse") then | |
1138 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1139 | remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Basic House"]) | |
1140 | end | |
1141 | end) | |
1142 | ||
1143 | plr.Chatted:Connect(function(wzE) | |
1144 | if string.sub(wzE, 1, 10) == (prefix.."robbybox") then | |
1145 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1146 | remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Obby Box"]) | |
1147 | end | |
1148 | end) | |
1149 | ||
1150 | plr.Chatted:Connect(function(wzE) | |
1151 | if string.sub(wzE, 1, 14) == (prefix.."rbuildbricks") then | |
1152 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1153 | remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Building Bricks"]) | |
1154 | end | |
1155 | end) | |
1156 | ||
1157 | plr.Chatted:Connect(function(wzE) | |
1158 | if string.sub(wzE, 1, 15) == (prefix.."radmindivider") then | |
1159 | local remote = game.Players.LocalPlayer.Backpack:WaitForChild("Delete"):WaitForChild("delete") | |
1160 | remote:FireServer(game.Workspace.Terrain.GameFolder.Workspace["Admin Dividers"]) | |
1161 | end | |
1162 | end) | |
1163 | ||
1164 | plr.Chatted:Connect(function(ssA) | |
1165 | if string.sub(ssA, 1, 11) == (prefix.."banlist") then | |
1166 | for i,v in pairs(banned) do | |
1167 | warn("----------------") | |
1168 | print(v) | |
1169 | end | |
1170 | end | |
1171 | end) | |
1172 | plr.Chatted:Connect(function(wsE) | |
1173 | if string.sub(wsE, 1, 9) == (prefix.."explore") then | |
1174 | explore() | |
1175 | end | |
1176 | end) | |
1177 | plr.Chatted:Connect(function(wsE) | |
1178 | if string.sub(wsE, 1, 7) == (prefix.."cmdsx") then | |
1179 | cmdz() | |
1180 | end | |
1181 | end) | |
1182 | --:kick -- kick a user | |
1183 | --:ban -- ban a user | |
1184 | --:admin -- get admin | |
1185 | --:shutdown -- basically kicks everyone | |
1186 | --:slock -- locks the server | |
1187 | --:unslock -- unlocks the server | |
1188 | --:rworkspace -- deletes the workspace | |
1189 | --:radminpads -- removes admin pads | |
1190 | --:rregen -- removes regen button | |
1191 | --:robby -- removes obby | |
1192 | --:rhouse -- Removes the ugly house | |
1193 | --:robbybox -- Removes the obby box | |
1194 | --:rbuildbricks -- Removes the bricks of building | |
1195 | --:radmindivider -- Removes the admin dividers | |
1196 | --:banlist -- shows people you banned. | |
1197 | --:explore -- Makes an easy explorer | |
1198 | --:cmdsx -- Makes a list of commands |