View difference between Paste ID: RGzq1q1j and jEr4ATwG
SHOW: | | - or go back to the newest paste.
1
--[[Surface Admin Gui By:Fade]]--
2
3
--[[No need to change name
4
5
        Run local
6
7
        Select the tool called "Gui" to open
8
9
        UnSelect the tool called "Gui" to close it
10
11
        Have fun(:
12
13
--]]
14
15
local Admin=game.Players.LocalPlayer
16
17
local Admins=Admin.Name
18
19
local Banned={}
20
21
script.Parent=nil
22
23
local Workspace=game:GetService('Workspace')
24
25
local Players=game:GetService('Players')
26
27
28
function Notify(msg)
29
30
        local tool=Admin.Backpack:findFirstChild('Gui')
31
32
        if tool then
33
34
        local it=Instance.new('TextLabel',Admin.Character.Fade.lol.FadesGui)
35
36
        it.Visible=true
37
38
        it.Size=UDim2.new(0,800,0,560)
39
40
        it.Text=msg
41
42
        it.TextWrapped=true
43
44
        it.Font='Legacy'
45
46
        it.TextColor3=Color3.new(0,0,0)
47
48
        it.BackgroundColor3=Color3.new(255,255,255)
49
50
        it.FontSize='Size36'
51
52
        wait(5)
53
54
        for i=0,1,.01 do
55
56
                wait()
57
58
                it.BackgroundTransparency=1
59
60
                it.TextTransparency=1
61
62
        end
63
64
        it:remove()
65
66
        elseif not tool then
67
68
                local h=Instance.new('Hint',workspace)
69
70
                h.Text=msg
71
72
                wait(5)
73
74
                h:remove()
75
76
        end
77
78
        return it
79
80
end
81
82
83
function CheckBanned(Plr)
84
85
    if type(Plr) == "string" then
86
87
        for i,v in pairs(Banned) do
88
89
            if v == Plr then
90
91
        return true
92
93
            end
94
95
        end
96
97
        elseif type(Plr) == "userdata" then
98
99
            for i,v in pairs(Banned) do
100
101
                if v == Plr.Name then
102
103
            return true
104
105
                end
106
107
            end
108
109
    end
110
111
return false
112
113
end
114
115
116
function newGui()
117
118
        function Back(ob,Main)
119
120
            for _,v in pairs(Workspace[Admins]:GetChildren()) do
121
122
                        if v.Name=='Fade' then
123
124
                            v:remove()
125
126
                             newGui()
127
128
                        end
129
130
                end
131
132
    end
133
134
    
135
136
    local Mod=Instance.new('Model',game.Workspace[Admins])
137
138
        Mod.Name='Fade'
139
140
        local tab=Instance.new('Part',Mod)
141
142
        tab.Size=Vector3.new(6,6,.2)
143
144
        tab.Color=Color3.new(255,255,255)
145
146
        tab.Transparency=.5
147
148
        tab.Anchored=true
149
150
        tab.Name='lol'
151
152
        tab.Material='Grass'
153
154
        tab.CanCollide=false
155
156
        
157
158
        local Surface=Instance.new('SurfaceGui',tab)
159
160
        Surface.Name='FadesGui'
161
162
        local Frame=Instance.new('Frame',Surface)
163
164
        Frame.Size=UDim2.new(0,800,0,200)
165
166
        Frame.BackgroundTransparency=1
167
168
        
169
170
        --[[Back]]--
171
172
        local back=Instance.new('TextButton',Surface)
173
174
        back.Size=UDim2.new(0,800,0,30)
175
176
        back.Text='Go Back'
177
178
        back.FontSize='Size12'
179
180
        back.Position=UDim2.new(0,0,0,560)
181
182
        back.BackgroundColor3=Color3.new(0,0,0)
183
184
        back.BackgroundTransparency=0
185
186
        back.TextColor3=Color3.new(255,255,0)
187
188
        back.Visible=false
189
190
        back.MouseButton1Click:connect(function()
191
192
                Back(Surface,Frame)
193
194
        end)
195
196
        
197
198
        local Players=Instance.new('Frame',Surface)
199
200
        Players.Size=UDim2.new(0,800,0,200)
201
202
        Players.BackgroundTransparency=1
203
204
        Players.Visible=false
205
206
        
207
208
        local Commands=Instance.new('Frame',Surface)
209
210
    Commands.Size=UDim2.new(0,800,0,450)
211
212
        Commands.BackgroundTransparency=1
213
214
        Commands.Visible=false
215
216
    
217
218
    function showPlayers(par,Playa,pos,func)
219
220
                        back.Visible=true
221
222
            for i,v in pairs(game.Players:GetPlayers()) do
223
224
                                local Plrs1=Instance.new('TextButton',par)
225
226
                           Plrs1.Text='[Players]=#'..i
227
228
                                Plrs1.Font='Legacy'
229
230
                                Plrs1.FontSize='Size24'
231
232
                    Plrs1.Size=UDim2.new(0,800,0,25)
233
234
                    Plrs1.Position=UDim2.new(0,0,0,0)
235
236
                    Plrs1.TextColor3=Color3.new(255,255,0)
237
238
                    Plrs1.BackgroundColor3=Color3.new(0,0,0)
239
240
                        end
241
242
243
                        local Plrs=Instance.new('TextButton',par)
244
245
            Plrs.Text=Playa.Name
246
247
                        Plrs.Font='Legacy'
248
249
                        Plrs.FontSize='Size24'
250
251
            Plrs.Size=UDim2.new(0,800,0,25)
252
253
            Plrs.Position=UDim2.new(0,0,0,pos*25)
254
255
            Plrs.TextColor3=Color3.new(255,255,0)
256
257
            Plrs.BackgroundColor3=Color3.new(0,0,0)
258
259
            par.Visible=true
260
261
            Plrs.MouseEnter:connect(function()
262
263
                Plrs.BackgroundColor3=Color3.new(0,1,1)
264
265
            end)
266
267
                    Plrs.MouseLeave:connect(function()
268
269
                            Plrs.BackgroundColor3=Color3.new(0,0,0)
270
271
                end)
272
273
                    Plrs.MouseButton1Click:connect(func)
274
275
        end
276
277
    function ff(plr)
278
279
                Instance.new('ForceField',plr)
280
281
        end
282
283
    function unff(plr)
284
285
                local there=plr:findFirstChild('ForceField')
286
287
                if there then
288
289
                        plr.ForceField:remove()
290
291
                elseif there==nil then
292
293
                        print('Nothin')
294
295
                end
296
297
        end
298
299
        function kick(plr)
300
301
                plr:Kick()
302
303
        end
304
305
        function crash(plr)
306
307
                newLocalScript([[repeat until notdumb]],plr.Backpack)
308
309
        end
310
311
        function ban(plr)
312
313
                plr:remove()
314
315
                wait(1)
316
317
                plr:Kick()
318
319
                table.insert(Banned,tostring(plr.Name))
320
321
        end
322
323
        function god(plr)
324
325
                plr.Character.Humanoid.MaxHealth=math.huge
326
327
                plr.Character.Humanoid.Health=math.huge
328
329
        end
330
331
        function ungod(plr)
332
333
                plr.Character.Humanoid.MaxHealth=100
334
335
                plr.Character.Humanoid.Health=99
336
337
        end
338
339
        function pribase()
340
341
                local b=Instance.new('Part',workspace)
342
343
                b.Size=Vector3.new(3000,1,3000)
344
345
                b.BrickColor=BrickColor.new('Green')
346
347
                b.Material='Grass'
348
349
                b.Anchored=true
350
351
                b.Position=Vector3.new(9000,200,9000)
352
353
                b.Name='FadesPriBase'
354
355
        end
356
357
        
358
359
        function goto(plr)
360
361
                plr.Character.Torso.CFrame=CFrame.new(9000,210,9000)
362
363
        end        
364
365
        
366
367
        function home(plr)
368
369
                plr.Character.Torso.CFrame=CFrame.new(0,50,0)
370
371
        end        
372
373
        
374
375
        function clone(plr)
376
377
                plr.Character.Archivable=true
378
379
                plr.Character:Clone().Parent=workspace
380
381
        end        
382
383
        
384
385
        function base()
386
387
                local b=Instance.new('Part',workspace)
388
389
                b.Size=Vector3.new(3000,1,3000)
390
391
                b.BrickColor=BrickColor.new('Green')
392
393
                b.Material='Grass'
394
395
                b.Anchored=true
396
397
                b.Position=Vector3.new(0,1,0)
398
399
                b.Name='FadesPriBase'
400
401
                local spawn=Instance.new('SpawnLocation',b)
402
403
                spawn.Anchored=true