View difference between Paste ID: 5kvh4N4s and p7RC7dcc
SHOW: | | - or go back to the newest paste.
1
-- This script has convert to FE by who i don't know?
2
3
-----------------------------------------------------
4
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
5
local Player,game,owner = owner,game
6
local RealPlayer = Player
7
do
8
    print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
9
    local rp = RealPlayer
10
    script.Parent = rp.Character
11
   
12
    --RemoteEvent for communicating
13
    local Event = Instance.new("RemoteEvent")
14
    Event.Name = "UserInput_Event"
15
 
16
    --Fake event to make stuff like Mouse.KeyDown work
17
    local function fakeEvent()
18
        local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
19
        t.connect = t.Connect
20
        return t
21
    end
22
 
23
    --Creating fake input objects with fake variables
24
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
25
    local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
26
    local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
27
        CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
28
    end}
29
    --Merged 2 functions into one by checking amount of arguments
30
    CAS.UnbindAction = CAS.BindAction
31
 
32
    --This function will trigger the events that have been :Connect()'ed
33
    local function te(self,ev,...)
34
        local t = m[ev]
35
        if t and t._fakeEvent then
36
            for _,f in pairs(t.Functions) do
37
                f(...)
38
            end
39
        end
40
    end
41
    m.TrigEvent = te
42
    UIS.TrigEvent = te
43
 
44
    Event.OnServerEvent:Connect(function(plr,io)
45
        if plr~=rp then return end
46
        m.Target = io.Target
47
        m.Hit = io.Hit
48
        if not io.isMouse then
49
            local b = io.UserInputState == Enum.UserInputState.Begin
50
            if io.UserInputType == Enum.UserInputType.MouseButton1 then
51
                return m:TrigEvent(b and "Button1Down" or "Button1Up")
52
            end
53
            for _,t in pairs(CAS.Actions) do
54
                for _,k in pairs(t.Keys) do
55
                    if k==io.KeyCode then
56
                        t.Function(t.Name,io.UserInputState,io)
57
                    end
58
                end
59
            end
60
            m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
61
            UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
62
        end
63
    end)
64
    Event.Parent = NLS([==[
65
    local Player = game:GetService("Players").LocalPlayer
66
    local Event = script:WaitForChild("UserInput_Event")
67
 
68
    local Mouse = Player:GetMouse()
69
    local UIS = game:GetService("UserInputService")
70
    local input = function(io,a)
71
        if a then return end
72
        --Since InputObject is a client-side instance, we create and pass table instead
73
        Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
74
    end
75
    UIS.InputBegan:Connect(input)
76
    UIS.InputEnded:Connect(input)
77
 
78
    local h,t
79
    --Give the server mouse data 30 times every second, but only if the values changed
80
    --If player is not moving their mouse, client won't fire events
81
    while wait(1/30) do
82
        if h~=Mouse.Hit or t~=Mouse.Target then
83
            h,t=Mouse.Hit,Mouse.Target
84
            Event:FireServer({isMouse=true,Target=t,Hit=h})
85
        end
86
    end]==],Player.Character)
87
 
88
    ----Sandboxed game object that allows the usage of client-side methods and services
89
    --Real game object
90
    local _rg = game
91
 
92
    --Metatable for fake service
93
    local fsmt = {
94
        __index = function(self,k)
95
            local s = rawget(self,"_RealService")
96
            if s then return s[k] end
97
        end,
98
        __newindex = function(self,k,v)
99
            local s = rawget(self,"_RealService")
100
            if s then s[k]=v end
101
        end,
102
        __call = function(self,...)
103
            local s = rawget(self,"_RealService")
104
            if s then return s(...) end
105
        end
106
    }
107
    local function FakeService(t,RealService)
108
        t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
109
        return setmetatable(t,fsmt)
110
    end
111
 
112
    --Fake game object
113
    local g = {
114
        GetService = function(self,s)
115
            return self[s]
116
        end,
117
        Players = FakeService({
118
            LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
119
        },"Players"),
120
        UserInputService = FakeService(UIS,"UserInputService"),
121
        ContextActionService = FakeService(CAS,"ContextActionService"),
122
    }
123
    rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
124
    g.service = g.GetService
125
   
126
    g.RunService = FakeService({
127
        RenderStepped = _rg:GetService("RunService").Heartbeat,
128
        BindToRenderStep = function(self,name,_,fun)
129
 
130
        end,
131
        UnbindFromRenderStep = function(self,name)
132
            self._btrs[name]:Disconnect()
133
        end,
134
    },"RunService")
135
 
136
    setmetatable(g,{
137
        __index=function(self,s)
138
            return _rg:GetService(s) or typeof(_rg[s])=="function"
139
            and function(_,...)return _rg[s](_rg,...)end or _rg[s]
140
        end,
141
        __newindex = fsmt.__newindex,
142
        __call = fsmt.__call
143
    })
144
    --Changing owner to fake player object to support owner:GetMouse()
145
    game,owner = g,g.Players.LocalPlayer
146
end
147
-- Epic Script Leaked By Scratchy!
148
-- Subscribe for more EPIC scripts! https://www.youtube.com/channel/UC-fFrczkFJuwHJguR6SXx5Q?sub_confirmation=1
149
150
151
_G.Rc7Notification = function(a,b,c)
152
game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://776252057", c)
153
end
154
local topkek = {}
155
topkek.patch = '1.0.5a'
156
topkek.data = {}
157
topkek.commandbase = {}
158
topkek.navigation = {}
159
topkek.banmgr = {}
160
topkek.lplr = game:GetService('Players').LocalPlayer
161
162
topkek.tools = {}
163
topkek.tools.gui = {}
164
topkek.tools.util = {}
165
topkek.tools.animator = {}
166
167
topkek.windows = {}
168
topkek.windows.lplr = {}
169
topkek.windows.server = {}
170
topkek.windows.players = {}
171
topkek.windows.destruction = {}
172
topkek.windows.scripts = {}
173
topkek.windows.misc = {}
174
175
topkek.misc = {}
176
177
local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
178
	NewGuiPart1.Name = "4.0"
179
	-------
180
	local NewGuiPart2 = Instance.new("Frame")
181
	NewGuiPart2.Active = true
182
	NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
183
	NewGuiPart2.BorderSizePixel = 0
184
	NewGuiPart2.Name = "Main"
185
	NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
186
	NewGuiPart2.Selectable = true
187
	NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
188
	NewGuiPart2.Visible = false
189
	NewGuiPart2.ClipsDescendants = true
190
	NewGuiPart2.Draggable = true
191
	NewGuiPart2.Parent = NewGuiPart1
192
	-------
193
	local NewGuiPart3 = Instance.new("Frame")
194
	NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
195
	NewGuiPart3.BorderSizePixel = 0
196
	NewGuiPart3.Name = "Topbar"
197
	NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
198
	NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
199
	NewGuiPart3.Parent = NewGuiPart2
200
	-------
201
	local NewGuiPart4 = Instance.new("TextLabel")
202
	NewGuiPart4.BackgroundTransparency = 1
203
	NewGuiPart4.Name = "PlayerName"
204
	NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
205
	NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
206
	NewGuiPart4.Visible = false
207
	NewGuiPart4.ZIndex = 4
208
	NewGuiPart4.Font = Enum.Font.Arcade
209
	NewGuiPart4.FontSize = Enum.FontSize.Size18
210
	NewGuiPart4.Text = "Player1"
211
	NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
212
	NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
213
	NewGuiPart4.Parent = NewGuiPart3
214
	-------
215
	local NewGuiPart5 = Instance.new("Frame")
216
	NewGuiPart5.BackgroundTransparency = 1
217
	NewGuiPart5.Name = "Controllers"
218
	NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
219
	NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
220
	NewGuiPart5.Parent = NewGuiPart3
221
	-------
222
	local NewGuiPart6 = Instance.new("TextButton")
223
	NewGuiPart6.Active = true
224
	NewGuiPart6.AutoButtonColor = false
225
	NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
226
	NewGuiPart6.BorderSizePixel = 0
227
	NewGuiPart6.Name = "Exit"
228
	NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
229
	NewGuiPart6.Selectable = true
230
	NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
231
	NewGuiPart6.Style = Enum.ButtonStyle.Custom
232
	NewGuiPart6.FontSize = Enum.FontSize.Size14
233
	NewGuiPart6.Text = ""
234
	NewGuiPart6.Parent = NewGuiPart5
235
	-------
236
	local NewGuiPart7 = Instance.new("TextButton")
237
	NewGuiPart7.Active = true
238
	NewGuiPart7.AutoButtonColor = false
239
	NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
240
	NewGuiPart7.BorderSizePixel = 0
241
	NewGuiPart7.Name = "Hide"
242
	NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
243
	NewGuiPart7.Selectable = true
244
	NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
245
	NewGuiPart7.Style = Enum.ButtonStyle.Custom
246
	NewGuiPart7.FontSize = Enum.FontSize.Size14
247
	NewGuiPart7.Text = ""
248
	NewGuiPart7.Parent = NewGuiPart5
249
	-------
250
	local NewGuiPart8 = Instance.new("TextLabel")
251
	NewGuiPart8.BackgroundTransparency = 1
252
	NewGuiPart8.Name = "IsFE"
253
	NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
254
	NewGuiPart8.FontSize = Enum.FontSize.Size18
255
	NewGuiPart8.Text = "Not FE"
256
	NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
257
	NewGuiPart8.TextStrokeTransparency = 0.69999998807907
258
	NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
259
	NewGuiPart8.Parent = NewGuiPart5
260
	-------
261
	local NewGuiPart9 = Instance.new("TextLabel")
262
	NewGuiPart9.BackgroundTransparency = 1
263
	NewGuiPart9.Name = "Stella"
264
	NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
265
	NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
266
	NewGuiPart9.ZIndex = 2
267
	NewGuiPart9.Font = Enum.Font.Arcade
268
	NewGuiPart9.FontSize = Enum.FontSize.Size18
269
	NewGuiPart9.Text = "[Stella]"
270
	NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
271
	NewGuiPart9.Parent = NewGuiPart3
272
	-------
273
	local NewGuiPart10 = Instance.new("Frame")
274
	NewGuiPart10.BackgroundTransparency = 1
275
	NewGuiPart10.Name = "Holder"
276
	NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
277
	NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
278
	NewGuiPart10.Parent = NewGuiPart2
279
	-------
280
	local NewGuiPart11 = Instance.new("Frame")
281
	NewGuiPart11.BackgroundTransparency = 1
282
	NewGuiPart11.Name = "Home"
283
	NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
284
	NewGuiPart11.Parent = NewGuiPart10
285
	-------
286
	local NewGuiPart12 = Instance.new("TextLabel")
287
	NewGuiPart12.BackgroundTransparency = 1
288
	NewGuiPart12.BorderSizePixel = 0
289
	NewGuiPart12.Name = "Title1"
290
	NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
291
	NewGuiPart12.Selectable = true
292
	NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
293
	NewGuiPart12.Font = Enum.Font.SourceSansBold
294
	NewGuiPart12.FontSize = Enum.FontSize.Size42
295
	NewGuiPart12.Text = "T0PK3K 4.0"
296
	NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
297
	NewGuiPart12.TextStrokeTransparency = 0.5
298
	NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
299
	NewGuiPart12.Parent = NewGuiPart11
300
	-------
301
	local NewGuiPart13 = Instance.new("TextLabel")
302
	NewGuiPart13.BackgroundTransparency = 1
303
	NewGuiPart13.BorderSizePixel = 0
304
	NewGuiPart13.Name = "Title2"
305
	NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
306
	NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
307
	NewGuiPart13.Font = Enum.Font.SourceSansBold
308
	NewGuiPart13.FontSize = Enum.FontSize.Size18
309
	NewGuiPart13.Text = "by nosyliam"
310
	NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
311
	NewGuiPart13.TextStrokeTransparency = 0.5
312
	NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
313
	NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
314
	NewGuiPart13.Parent = NewGuiPart12
315
	-------
316
	local NewGuiPart14 = Instance.new("Frame")
317
	NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
318
	NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
319
	NewGuiPart14.Name = "Container"
320
	NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
321
	NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
322
	NewGuiPart14.Parent = NewGuiPart11
323
	-------
324
	local NewGuiPart15 = Instance.new("TextLabel")
325
	NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
326
	NewGuiPart15.BorderSizePixel = 0
327
	NewGuiPart15.Name = "Message"
328
	NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
329
	NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
330
	NewGuiPart15.Font = Enum.Font.Highway
331
	NewGuiPart15.FontSize = Enum.FontSize.Size14
332
	NewGuiPart15.Text = "Server Message: variable is gay"
333
	NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
334
	NewGuiPart15.TextStrokeTransparency = 0.69999998807907
335
	NewGuiPart15.Parent = NewGuiPart11
336
	-------
337
	local NewGuiPart16 = Instance.new("TextBox")
338
	NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
339
	NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
340
	NewGuiPart16.Name = "Command"
341
	NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
342
	NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
343
	NewGuiPart16.Font = Enum.Font.Code
344
	NewGuiPart16.FontSize = Enum.FontSize.Size12
345
	NewGuiPart16.Text = "Press ; to enter a command"
346
	NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
347
	NewGuiPart16.TextStrokeTransparency = 0.80000001192093
348
	NewGuiPart16.TextTransparency = 0.30000001192093
349
	NewGuiPart16.Parent = NewGuiPart10
350
	-------
351
	local NewGuiPart17 = Instance.new("Frame")
352
	NewGuiPart17.BackgroundTransparency = 1
353
	NewGuiPart17.Name = "Template"
354
	NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
355
	NewGuiPart17.Visible = false
356
	NewGuiPart17.ZIndex = 2
357
	NewGuiPart17.Parent = NewGuiPart10
358
	-------
359
	local NewGuiPart18 = Instance.new("ScrollingFrame")
360
	NewGuiPart18.Active = true
361
	NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
362
	NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
363
	NewGuiPart18.Name = "Container"
364
	NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
365
	NewGuiPart18.Selectable = true
366
	NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
367
	NewGuiPart18.ZIndex = 2
368
	NewGuiPart18.BottomImage = "rbxassetid://368504177"
369
	NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
370
	NewGuiPart18.MidImage = "rbxassetid://368504177"
371
	NewGuiPart18.ScrollBarThickness = 5
372
	NewGuiPart18.TopImage = "rbxassetid://368504177"
373
	NewGuiPart18.ClipsDescendants = true
374
	NewGuiPart18.Parent = NewGuiPart17
375
	-------
376
	local NewGuiPart19 = Instance.new("Frame")
377
	NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
378
	NewGuiPart19.BackgroundTransparency = 1
379
	NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
380
	NewGuiPart19.Name = "Navigator"
381
	NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
382
	NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
383
	NewGuiPart19.Visible = false
384
	NewGuiPart19.Parent = NewGuiPart10
385
	-------
386
	local NewGuiPart20 = Instance.new("Frame")
387
	NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
388
	NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
389
	NewGuiPart20.Name = "NavMain"
390
	NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
391
	NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
392
	NewGuiPart20.Parent = NewGuiPart19
393
	-------
394
	local NewGuiPart21 = Instance.new("TextButton")
395
	NewGuiPart21.Active = true
396
	NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
397
	NewGuiPart21.BorderSizePixel = 0
398
	NewGuiPart21.Name = "NavLeft"
399
	NewGuiPart21.Selectable = true
400
	NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
401
	NewGuiPart21.Style = Enum.ButtonStyle.Custom
402
	NewGuiPart21.FontSize = Enum.FontSize.Size14
403
	NewGuiPart21.Text = ""
404
	NewGuiPart21.Parent = NewGuiPart19
405
	-------
406
	local NewGuiPart22 = Instance.new("TextButton")
407
	NewGuiPart22.Active = true
408
	NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
409
	NewGuiPart22.BorderSizePixel = 0
410
	NewGuiPart22.Name = "NavRight"
411
	NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
412
	NewGuiPart22.Selectable = true
413
	NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
414
	NewGuiPart22.Style = Enum.ButtonStyle.Custom
415
	NewGuiPart22.FontSize = Enum.FontSize.Size14
416
	NewGuiPart22.Text = ""
417
	NewGuiPart22.Parent = NewGuiPart19
418
	-------
419
	local NewGuiPart23 = Instance.new("Frame")
420
	NewGuiPart23.Active = true
421
	NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
422
	NewGuiPart23.BorderSizePixel = 0
423
	NewGuiPart23.Name = "Navigation"
424
	NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
425
	NewGuiPart23.ZIndex = 2
426
	NewGuiPart23.Parent = NewGuiPart2
427
	-------
428
	local NewGuiPart24 = Instance.new("Frame")
429
	NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
430
	NewGuiPart24.BorderSizePixel = 0
431
	NewGuiPart24.Name = "Topbar"
432
	NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
433
	NewGuiPart24.ZIndex = 3
434
	NewGuiPart24.Parent = NewGuiPart23
435
	-------
436
	local NewGuiPart25 = Instance.new("ScrollingFrame")
437
	NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
438
	NewGuiPart25.BorderSizePixel = 0
439
	NewGuiPart25.Name = "Scroll"
440
	NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
441
	NewGuiPart25.Selectable = true
442
	NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
443
	NewGuiPart25.ZIndex = 3
444
	NewGuiPart25.BottomImage = "rbxassetid://368504177"
445
	NewGuiPart25.MidImage = "rbxassetid://368504177"
446
	NewGuiPart25.ScrollBarThickness = 6
447
	NewGuiPart25.TopImage = "rbxassetid://368504177"
448
	NewGuiPart25.ClipsDescendants = true
449
	NewGuiPart25.Parent = NewGuiPart23
450
	-------
451
	local NewGuiPart26 = Instance.new("Frame")
452
	NewGuiPart26.BackgroundTransparency = 1
453
	NewGuiPart26.Name = "Composite1"
454
	NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
455
	NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
456
	NewGuiPart26.ClipsDescendants = true
457
	NewGuiPart26.Parent = NewGuiPart1
458
	-------
459
	local NewGuiPart27 = Instance.new("TextLabel")
460
	NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
461
	NewGuiPart27.BorderSizePixel = 0
462
	NewGuiPart27.Name = "Label"
463
	NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
464
	NewGuiPart27.Font = Enum.Font.SourceSansBold
465
	NewGuiPart27.FontSize = Enum.FontSize.Size96
466
	NewGuiPart27.Text = "T"
467
	NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
468
	NewGuiPart27.Parent = NewGuiPart26
469
	-------
470
	local NewGuiPart28 = Instance.new("Frame")
471
	NewGuiPart28.BackgroundTransparency = 1
472
	NewGuiPart28.Name = "Composite2"
473
	NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
474
	NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
475
	NewGuiPart28.ClipsDescendants = true
476
	NewGuiPart28.Parent = NewGuiPart1
477
	-------
478
	local NewGuiPart29 = Instance.new("TextLabel")
479
	NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
480
	NewGuiPart29.BorderSizePixel = 0
481
	NewGuiPart29.Name = "Label"
482
	NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
483
	NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
484
	NewGuiPart29.Font = Enum.Font.SourceSansBold
485
	NewGuiPart29.FontSize = Enum.FontSize.Size96
486
	NewGuiPart29.Text = "T"
487
	NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
488
	NewGuiPart29.Parent = NewGuiPart28
489
	-------
490
	local NewGuiPart30 = Instance.new("Frame")
491
	NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
492
	NewGuiPart30.Name = "Solid"
493
	NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
494
	NewGuiPart30.Visible = false
495
	NewGuiPart30.ClipsDescendants = true
496
	NewGuiPart30.Parent = NewGuiPart1
497
	-------
498
	local NewGuiPart31 = Instance.new("TextLabel")
499
	NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
500
	NewGuiPart31.BorderSizePixel = 0
501
	NewGuiPart31.Name = "Label"
502
	NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
503
	NewGuiPart31.Font = Enum.Font.SourceSansBold
504
	NewGuiPart31.FontSize = Enum.FontSize.Size96
505
	NewGuiPart31.Text = "T"
506
	NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
507
	NewGuiPart31.Parent = NewGuiPart30
508
509
510
511
topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
512
topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
513
topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
514
topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
515
topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
516
517
AllowHovers = false
518
PlayerChatHook, UpdateBanlist = nil
519
cmd = {}
520
521
--// data //--
522
topkek.data.windows = {
523
	'Home',
524
	'LocalPlayer',
525
	'Server',
526
	'Players',
527
	'Destruction',
528
	'Scripts',
529
	'Catalog',
530
	'Music',
531
	'Hats',
532
	'Faces',
533
	'Settings',
534
	'Commands',
535
	'Banlist',
536
}
537
538
color3 = function(r,g,b)
539
	return Color3.new(r/255, g/255, b/255)
540
end
541
--// doggo dropdown //--
542
-- thanks krystal
543
GUI = {
544
	TextBox = {
545
		Settings = {
546
			Font = Enum.Font.SourceSans;
547
			FontSize = Enum.FontSize.Size14;
548
		};
549
		Color = {
550
			Main = Color3.fromRGB(5,8,11);
551
			Border = Color3.fromRGB(27,42,53);
552
			Text = Color3.fromRGB(199,199,199);
553
		};
554
		New = function(Position, Size, Parent, ...)
555
			local arguments = {...};
556
			
557
			local TextBox = Instance.new("TextBox", Parent);
558
			TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
559
			TextBox.BorderColor3 = GUI.DropDown.Color.Border;
560
			TextBox.Font = GUI.TextBox.Settings.Font;
561
			TextBox.FontSize = GUI.TextBox.Settings.FontSize;
562
			TextBox.TextColor3 = GUI.TextBox.Color.Text;
563
			TextBox.Position = Position;
564
			TextBox.Size = Size;
565
			if #arguments then
566
				if arguments[1] then
567
					TextBox.Text = tostring(arguments[1]);
568
				else
569
					TextBox.Text = "";
570
				end	
571
			end		
572
			return TextBox;
573
		end;
574
	};
575
	DropDown = {
576
		Settings = {
577
			ScrollerAmount = 5; --A scroller will appear at this amount.
578
			ScrollBarThickness = 6;
579
		};
580
		Gfx = {
581
			Scroller = "rbxassetid://606572419";
582
		};
583
		Color = {
584
			Main = color3(107, 36, 36);
585
			Secondary = color3(113, 39, 39);
586
			Border = color3(127, 44, 44);
587
			Text = Color3.fromRGB(199,199,199);
588
		};
589
		New = function(Position, Size, Parent, ...)
590
			local vValue = {};
591
			local arguments = {...};
592
			local vSelected = Instance.new("StringValue");
593
			vSelected.Value = "nil";
594
			
595
			if arguments then
596
				if type(arguments) == "table" then
597
					for i=1,#(arguments) do
598
						if type(arguments[i]) == "table" then
599
							for f=1,#(arguments[i]) do
600
								table.insert(vValue, tostring((arguments[i])[f]));
601
							end
602
						else
603
							table.insert(vValue, tostring(arguments[i]));
604
						end
605
					end
606
					vSelected.Value = (vValue[1]);
607
				end
608
			end
609
			
610
			local Main = Instance.new("TextButton", Parent);
611
			Main.BackgroundColor3 = GUI.DropDown.Color.Main;
612
			Main.BorderColor3 = GUI.DropDown.Color.Border;
613
			Main.Position = Position;
614
			Main.Size = Size;
615
			Main.TextColor3 = GUI.DropDown.Color.Text;
616
			Main.FontSize = Enum.FontSize.Size14;
617
			Main.TextStrokeTransparency = 0.5;
618
			Main.TextXAlignment = Enum.TextXAlignment.Left;
619
			Main.Font = Enum.Font.SourceSans;
620
			Main.Text = "  "..tostring(vSelected.Value);
621
			Main.ZIndex = 3
622
			
623
			local Icon = Instance.new("TextLabel", Main);
624
			Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
625
			Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
626
			Icon.BorderColor3 = GUI.DropDown.Color.Border;
627
			Icon.Position = UDim2.new(1,-2,1,-2);
628
			Icon.Size = UDim2.new(-1,4,-1,4);
629
			Icon.TextColor3 = GUI.DropDown.Color.Text;
630
			Icon.FontSize = Enum.FontSize.Size14;
631
			Icon.TextStrokeTransparency = 0.5;
632
			Icon.Font = Enum.Font.SourceSans;
633
			Icon.Text = "V"
634
			Icon.ZIndex = 4
635
636
			local Holder, Search;
637
			local ClearHolder = function()
638
				if Holder then
639
					Holder:ClearAllChildren();
640
					Holder.Size = UDim2.new(1,0,0,0);
641
					Holder.Visible = false;
642
					if Search then
643
						Search.Visible = false;
644
					end
645
				end
646
			end;
647
			
648
			local CreateButton;
649
			local RefreshDropDown = function()
650
				if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
651
					if not Holder or not Holder:IsA("Frame") then
652
						Holder = nil; Search = nil;
653
						Holder = Instance.new("Frame",Main);
654
						Holder.Size = UDim2.new(1,0,0,0);
655
						Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
656
						Holder.BorderColor3 = GUI.DropDown.Color.Border;
657
						Holder.Visible = false;
658
						Holder.ZIndex = 3
659
					end
660
				elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
661
					if not Holder or not Holder:IsA("ScrollingFrame") then
662
						Holder = nil; Search = nil;
663
						Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
664
						Search.Visible = false;
665
						Search.ZIndex = 4
666
						Search.Changed:connect(function(p)
667
							if p == "Text" then
668
								CreateButton(Search.Text);
669
							end
670
						end)
671
						Holder = Instance.new("ScrollingFrame",Main);
672
						Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
673
						Holder.BorderColor3 = GUI.DropDown.Color.Border;
674
						Holder.TopImage = GUI.DropDown.Gfx.Scroller;
675
						Holder.MidImage = GUI.DropDown.Gfx.Scroller;
676
						Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
677
						Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
678
						Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
679
						Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
680
						Holder.Visible = false;
681
						Holder.ZIndex = 3;
682
					end
683
				end
684
				if #vValue == 1 and vSelected.Value ~= vValue[1] then
685
					vSelected.Value = vValue[1];
686
				elseif #vValue == 0 then
687
					vSelected.Value = "nil";
688
					warn("Table amount is nil.");
689
				end
690
				Main.Text = "  "..tostring(vSelected.Value);
691
				--ClearHolder();
692
			end;
693
			
694
			local Debounce = false;
695
			CreateButton = function(searches)
696
				if Debounce == false then
697
					Debounce = true;
698
					ClearHolder()
699
					Holder.Visible = true;
700
					local Searched = 0;
701
					if #vValue > 0 then
702
						for i=1,#vValue do
703
							if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
704
								Searched = Searched + 1;
705
							end
706
						end
707
						for i=1,#vValue do
708
							if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
709
								local Select = Instance.new("TextButton", Holder);
710
								Select.BackgroundColor3 = GUI.DropDown.Color.Main;
711
								Select.BorderColor3 = GUI.DropDown.Color.Border;
712
								Select.BackgroundTransparency = 1;
713
								Select.BorderSizePixel = 0;
714
								Select.Position = Position;
715
								if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
716
									Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
717
								else
718
									Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
719
								end
720
								Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1)) 
721
								Select.TextColor3 = GUI.DropDown.Color.Text;
722
								Select.FontSize = Enum.FontSize.Size14;
723
								Select.TextStrokeTransparency = 0.5;
724
								Select.Font = Enum.Font.SourceSans;
725
								Select.Text = tostring(vValue[i]);
726
								Select.ZIndex = 3
727
								Select.MouseButton1Click:connect(function()
728
									vSelected.Value = vValue[i];
729
									ClearHolder();
730
									RefreshDropDown();
731
								end)
732
								if  #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
733
									Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
734
								elseif Holder:IsA("ScrollingFrame") then
735
									Search.Visible = true;
736
									if #Holder:GetChildren() >= 1 then
737
										Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
738
										Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
739
										if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
740
											Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
741
											Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
742
										end
743
									elseif #Holder:GetChildren() < 1 then
744
										Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
745
										Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
746
									end
747
								end
748
							end
749
						end
750
					end
751
					Debounce = false;
752
				end
753
			end;
754
			
755
			RefreshDropDown();
756
757
			Main.MouseButton1Click:connect(function()
758
				CreateButton()
759
				if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
760
					Search:CaptureFocus();
761
					Search.Text = "";
762
				end
763
			end)
764
			
765
			topkek.lplr:GetMouse().Button1Down:connect(function()
766
				ClearHolder()
767
			end)
768
769
			return {
770
				Update = function()
771
					RefreshDropDown();
772
				end;
773
				GetValue = function()
774
					RefreshDropDown();
775
					return vValue;
776
				end;
777
				GetSelected = function()
778
					RefreshDropDown();
779
					return vSelected.Value;
780
				end;
781
				SetTable = function(F)
782
					vValue = F;
783
					RefreshDropDown(); 
784
				end;
785
				Changed = function(F)
786
					vSelected.Changed:connect(function()
787
						ypcall(function() 
788
							F(vSelected.Value);
789
						end)
790
					end)
791
					return "ChangedEvent Hooked";
792
				end;
793
				AddValue = function(obj)
794
					local Type = type(obj);
795
					if Type == "table" then
796
						for i=1,#obj do
797
							table.insert(vValue, obj[i])
798
						end
799
					elseif Type == "string" or Type == "number" or Type == "boolean" then
800
						table.insert(vValue, obj)
801
					end
802
					RefreshDropDown();
803
				end;
804
				RemoveValue = function(obj)
805
					local Type = type(obj);
806
					if Type == "table" then
807
						for i=1,#vValue do
808
							for f=1,#obj do
809
								if tostring(obj[f]) == tostring(vValue[i]) then
810
									table.remove(vValue,i)
811
								end
812
							end
813
						end
814
					else
815
						for i=1,#vValue do
816
							if tostring(obj) == tostring(vValue[i]) then
817
								table.remove(vValue,i)
818
							end
819
						end
820
					end
821
					RefreshDropDown();
822
				end;
823
				ClearValue = function()
824
					vValue = {};
825
					RefreshDropDown();
826
				end;
827
			}
828
		end;
829
	};
830
};
831
--// util //--
832
function topkek.tools.util.Object(o, p)
833
	local a, b = pcall(function()
834
		Instance.new(o)
835
	end)
836
	if not a then
837
		return
838
	end
839
	local obj = Instance.new(o)
840
	for prop, val in pairs(p) do
841
		pcall(function()
842
			obj[prop] = val 
843
		end)
844
	end
845
	return obj
846
end
847
848
function topkek.tools.util.getContainer(n)
849
	if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
850
		return  game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
851
	else
852
		print("menu not found; returning template")
853
		return topkek.holder['Template']
854
	end
855
end
856
857
function topkek.tools.util.play(id)
858
	local mu = Instance.new("Sound", game:GetService('Workspace'))
859
	mu.Volume = 1
860
	mu.Looped = true
861
	mu.Pitch = 1
862
	mu.SoundId = "rbxassetid://"..tostring(id)
863
	mu:Play()
864
end
865
866
function topkek.tools.util.getTorso(plr) --r15 compatibility lole
867
	if plr.Character then
868
		if plr.Character:FindFirstChild('UpperTorso') then
869
			return plr.Character.UpperTorso
870
		elseif plr.Character:FindFirstChild('Torso') then
871
			return plr.Character.Torso
872
		else
873
			return nil
874
		end
875
	end
876
end
877
878
function topkek.tools.util.recurseRemove(x,type_)
879
	local function recurse(x)
880
		for i, v in pairs(x:GetChildren()) do
881
			pcall(function()
882
				if v:IsA(type_) then
883
					v:Destroy()
884
				end
885
				if #(v:GetChildren())>0 then
886
					recurse(v)
887
				end
888
			end)
889
		end
890
	end
891
	recurse(x)
892
end
893
894
function topkek.tools.util.recurseFunc(type_,func)
895
	local function recurse(x)
896
		for i, v in pairs(x:GetChildren()) do
897
			pcall(function()
898
				if v:IsA(type_) then
899
					func(v)
900
				end
901
				if #(v:GetChildren())>0 then
902
					recurse(v)
903
				end
904
			end)
905
		end
906
	end
907
	recurse(game)
908
end
909
function topkek.tools.util.trowel()
910
	local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
911
	T.Name = 'Custom Trowel'
912
	
913
	local p = Instance.new('Part')
914
	p.Name = 'Handle'
915
	p.Size = Vector3.new(1,4.4,1)
916
	p.Parent = T
917
	
918
	local specialMesh = Instance.new('SpecialMesh')
919
	specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
920
	specialMesh.MeshType = 'FileMesh'
921
	specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
922
	specialMesh.Parent = T.Handle
923
	
924
	local sound = Instance.new'Sound'
925
	sound.Name = 'build'
926
	sound.SoundId = 'rbxasset://sounds//bass.wav'
927
	sound.Volume = 1
928
	sound.Parent = T.Handle
929
	 
930
	local brickHeight = 100
931
	local trowelSpeed = 0.05
932
	local brickWidth = 500
933
	local mouseConnection
934
	 
935
	function newBrick(CF, P, color)
936
	 local brick = Instance.new('Part')
937
	 brick.BrickColor = color
938
	 brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
939
	 brick.Parent = game.Workspace
940
	 brick:MakeJoints()
941
	 brick.Material = 'Neon'
942
	 brick.Name = 'DeleteMe'
943
	 return  brick, P + brick.Size
944
	end
945
	 
946
	function genBrick(cFrame)
947
	 local randBrickColor = BrickColor.Random()
948
	 assert(brickWidth > 0)
949
	 
950
	 local yPos = 0
951
	 
952
	 while yPos < brickHeight do
953
	  local vPos
954
	  local X = -brickWidth / 2
955
	  while X < brickWidth / 2 do
956
	   local brick
957
	   brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
958
	   X = vPos.x
959
	   wait(trowelSpeed)
960
	  end
961
	  yPos = vPos.y
962
	 end
963
	end
964
	 
965
	function calcPos(vec)
966
	 if (math.abs(vec.x) > math.abs(vec.z)) then
967
	  if vec.x > 0 then
968
	   return Vector3.new(1, 0, 0)
969
	  else
970
	   return Vector3.new(-1, 0, 0)
971
	  end
972
	 else
973
	  if (vec.z > 0) then
974
	   return Vector3.new(0, 0, 1)
975
	  else
976
	   return Vector3.new(0, 0, -1)
977
	  end
978
	 end
979
	end
980
	 
981
	T.Enabled = true
982
	
983
	T.Activated:connect(function()
984
	 if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
985
	  T.Enabled = false
986
	  T.Handle.build:Play()
987
	  genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
988
	  T.Enabled = true
989
	 end
990
	end)
991
	
992
	T.Equipped:connect(function()
993
	 mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
994
	  if (key == 'r') then
995
	   for i,v in next, workspace:children'' do
996
	    if (v.Name == 'DeleteMe') then
997
	     v:Destroy()
998
	    end
999
	   end
1000
	  end
1001
	 end)
1002
	end)
1003
	
1004
	T.Unequipped:connect(function()
1005
	 mouseConnection:disconnect()
1006
	end)
1007
end
1008
function topkek.tools.util.recurseSet(type_,prop,val)
1009
	local function recurse(x)
1010
		for i, v in pairs(x:GetChildren()) do
1011
			pcall(function()
1012
				if v:IsA(type_) then
1013
					v[prop]=val
1014
				end
1015
				if #(v:GetChildren())>0 then
1016
					recurse(v)
1017
				end
1018
			end)
1019
		end
1020
	end
1021
	recurse(game)
1022
end
1023
function topkek.tools.util.recurseUltimate(d)
1024
	topkek.tools.util.recurseDecal(d)
1025
	topkek.tools.util.recurseParticles(d)
1026
end
1027
function topkek.tools.util.recurseDecal(img)
1028
	img = 'rbxassetid://' .. img
1029
	local function skybox(x)
1030
		local sky = Instance.new("Sky",game.Lighting)
1031
		local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
1032
		for i,v in pairs(fcs) do
1033
			sky["Skybox"..v]=x
1034
		end
1035
	end
1036
	
1037
	local function decal(p, b)
1038
		local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
1039
		for i, v in pairs(sides) do
1040
			local a = Instance.new("Decal", p)
1041
			a.Texture = b
1042
			a.Face = v
1043
		end
1044
	end
1045
			
1046
	local function recurse(x)
1047
		for i, v in pairs(x:GetChildren()) do
1048
			pcall(function() -- 'error occured, no output from Lua' LOLE
1049
				if v:IsA("BasePart") then
1050
					decal(v, img)
1051
				end
1052
				if #(v:GetChildren())>0 then
1053
					recurse(v)
1054
				end
1055
			end)
1056
		end
1057
	end
1058
			
1059
	recurse(game)
1060
	skybox(img)
1061
end
1062
function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
1063
	img = 'rbxassetid://' .. img
1064
	local function skybox(x)
1065
		local sky = Instance.new("Sky",game.Lighting)
1066
		local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
1067
		for i,v in pairs(fcs) do
1068
			sky["Skybox"..v]=x
1069
		end
1070
	end
1071
	local function particle(p, b)
1072
		local a = Instance.new("ParticleEmitter", p)
1073
		a.Rate = 500
1074
		a.Lifetime = NumberRange.new(20, 30)
1075
		a.VelocitySpread = 200
1076
		a.Texture = b
1077
	end
1078
			
1079
	local function recurse(x)
1080
		for i, v in pairs(x:GetChildren()) do
1081
			pcall(function() -- 'error occured, no output from Lua' LOLE
1082
				if v:IsA("BasePart") then
1083
					particle(v, img)
1084
				end
1085
				if #(v:GetChildren())>0 then
1086
					recurse(v)
1087
				end
1088
			end)
1089
		end
1090
	end
1091
			
1092
	recurse(game)
1093
	skybox(img)
1094
end
1095
function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
1096
	local function recurse(x)
1097
		for i, v in pairs(x:GetChildren()) do
1098
			pcall(function()
1099
				if v:IsA(type_) then
1100
					v[prop]=val
1101
				end
1102
				if #(v:GetChildren())>0 then
1103
					recurse(v)
1104
				end
1105
			end)
1106
		end
1107
	end
1108
	recurse(obj)
1109
end
1110
function topkek.tools.util.doPlayers(cval, func)
1111
	local plrs = {}
1112
	if cval == 'All' then
1113
		plrs = game:GetService('Players'):GetPlayers()
1114
	else
1115
		plrs = {game:GetService('Players'):FindFirstChild(cval)}
1116
	end
1117
	for i, v in pairs(plrs) do
1118
		func(v)
1119
	end
1120
end
1121
function topkek.tools.util.scalePlayer(sc,plr)
1122
	local pchar = plr.Character
1123
	if pchar:FindFirstChild("UpperTorso") then
1124
		warn("Player [" ..plr.Name.. "] is R15.")
1125
		return
1126
	end
1127
	local function scale(chr,scl)
1128
	
1129
		for _,v in pairs(pchar:GetChildren()) do
1130
			if v:IsA("Hat") then
1131
				v:Clone()
1132
				v.Parent = game.Lighting
1133
			end
1134
		end
1135
			
1136
	    local Head = chr['Head']
1137
	    local Torso = chr['Torso']
1138
	    local LA = chr['Left Arm']
1139
	    local RA = chr['Right Arm']
1140
	    local LL = chr['Left Leg']
1141
	    local RL = chr['Right Leg']
1142
	    local HRP = chr['HumanoidRootPart']
1143
	
1144
	    wait(0.1)
1145
	   
1146
	    Head.formFactor = 3
1147
	    Torso.formFactor = 3
1148
	    LA.formFactor = 3
1149
	    RA.formFactor = 3
1150
	    LL.formFactor = 3
1151
	    RL.formFactor = 3
1152
	    HRP.formFactor = 3
1153
	    
1154
	    Head.Size = Vector3.new(scl * 2, scl, scl)
1155
	    Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
1156
	    LA.Size = Vector3.new(scl, scl * 2, scl)
1157
	    RA.Size = Vector3.new(scl, scl * 2, scl)
1158
	    LL.Size = Vector3.new(scl, scl * 2, scl)
1159
	    RL.Size = Vector3.new(scl, scl * 2, scl)
1160
	    HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
1161
	    
1162
	    local Motor1 = Instance.new('Motor6D', Torso)
1163
	    Motor1.Part0 = Torso
1164
	    Motor1.Part1 = Head
1165
    	Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
1166
    	Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
1167
    	Motor1.Name = "Neck"
1168
			    
1169
    	local Motor2 = Instance.new('Motor6D', Torso)
1170
    	Motor2.Part0 = Torso
1171
    	Motor2.Part1 = LA
1172
    	Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1173
    	Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1174
    	Motor2.Name = "Left Shoulder"
1175
    	
1176
    	local Motor3 = Instance.new('Motor6D', Torso)
1177
   		Motor3.Part0 = Torso
1178
    	Motor3.Part1 = RA
1179
    	Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1180
    	Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1181
    	Motor3.Name = "Right Shoulder"
1182
    	
1183
    	local Motor4 = Instance.new('Motor6D', Torso)
1184
    	Motor4.Part0 = Torso
1185
    	Motor4.Part1 = LL
1186
    	Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1187
    	Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1188
    	Motor4.Name = "Left Hip"
1189
    	
1190
    	local Motor5 = Instance.new('Motor6D', Torso)
1191
    	Motor5.Part0 = Torso
1192
    	Motor5.Part1 = RL
1193
    	Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1194
    	Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1195
    	Motor5.Name = "Right Hip"
1196
    	
1197
    	local Motor6 = Instance.new('Motor6D', HRP)
1198
    	Motor6.Part0 = HRP
1199
    	Motor6.Part1 = Torso
1200
    	Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
1201
    	Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
1202
    	    
1203
	end
1204
	
1205
	scale(pchar, sc)
1206
	
1207
	for _,v in pairs(game.Lighting:GetChildren()) do
1208
		if v:IsA("Hat") then
1209
			v.Parent = pchar
1210
		end
1211
	end
1212
end
1213
function topkek.tools.util.applyFace(id)
1214
	local Char = topkek.lplr.Character
1215
	if(Char)then
1216
		local Type = id
1217
		local Meme=id
1218
		local BBG_SIZE=Char.Head.Size.X*1.25;
1219
		local STUD_VECTOR_1=Char.Head.Size.Z/4;
1220
		local STUD_VECTOR_2=Char.Head.Size.Z;
1221
		local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
1222
			bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
1223
			bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
1224
			bbg.Adornee=Char.Head;
1225
			bbg.Name='BBGMEME';
1226
		local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
1227
			img.BackgroundTransparency=1;
1228
			img.Image="rbxassetid://"..Meme;
1229
			img.Size=UDim2.new(1,0,1,0)
1230
			img.Name='Meme';
1231
		for i,v in next,Char:children()do
1232
			if(v.className=='Hat')then
1233
				v=v:FindFirstChild'Handle';
1234
				if(v)then
1235
					v.Transparency=0
1236
				end;
1237
			end;
1238
		end;
1239
	end;
1240
end;
1241
function topkek.tools.util.weenieHutJunior(plr)
1242
	plr=plr.Character
1243
	Shaft=Instance.new("Part", plr)
1244
	Shaft.Name='Shaft'
1245
	Shaft.Size=Vector3.new(1, 2.5, 1)
1246
	Shaft.TopSurface=0
1247
	Shaft.BottomSurface=0
1248
	Shaft.CanCollide=true
1249
	Cyln=Instance.new("CylinderMesh", Shaft)
1250
	Cyln.Scale=Vector3.new(0.5,0.7,0.5)
1251
	Instance.new("Weld", plr)
1252
	plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
1253
	plr.Weld.Part1=plr.Shaft 
1254
	plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0) 
1255
	Shaft.BrickColor=BrickColor.new("Pastel brown")
1256
	Tip=Instance.new("Part", plr)
1257
	Tip.Name='Tip'
1258
	Tip.TopSurface=0
1259
	Tip.BottomSurface=0
1260
	Tip.Size=Vector3.new(1, 1, 1)
1261
	Tip.CanCollide=true
1262
	Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
1263
	Cyln2=Instance.new("SpecialMesh", Tip)
1264
	Cyln2.MeshType='Sphere'
1265
	Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
1266
	Instance.new("Weld", plr).Name='Weld2'
1267
	plr.Weld2.Part0=plr.Shaft
1268
	plr.Weld2.Part1=plr.Tip 
1269
	plr.Weld2.C0=CFrame.new(0,-.9,0)
1270
	Tip.BrickColor=BrickColor.new("Pink")
1271
	-----
1272
	Ball1=Instance.new("Part", plr)
1273
	Ball1.Name='Ball1'
1274
	Ball1.Size=Vector3.new(1, 1, 1)
1275
	Ball1.TopSurface=0
1276
	Ball1.BottomSurface=0
1277
	Cyln3=Instance.new("SpecialMesh", Ball1)
1278
	Cyln3.MeshType='Sphere'
1279
	Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
1280
	Instance.new("Weld", plr).Name='Weld3'
1281
	plr.Weld3.Part0=plr.Shaft
1282
	plr.Weld3.Part1=plr.Ball1 
1283
	plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
1284
	Ball1.BrickColor=BrickColor.new("Pastel brown")
1285
	-----
1286
	Ball2=Instance.new("Part", plr)
1287
	Ball2.Name='Ball2'
1288
	Ball2.Size=Vector3.new(1, 1, 1)
1289
	Ball2.TopSurface=0
1290
	Ball2.BottomSurface=0
1291
	Cyln3=Instance.new("SpecialMesh", Ball2)
1292
	Cyln3.MeshType='Sphere'
1293
	Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
1294
	Instance.new("Weld", plr).Name='Weld4'
1295
	plr.Weld4.Part0=plr.Shaft
1296
	plr.Weld4.Part1=plr.Ball2 
1297
	plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
1298
	Ball2.BrickColor=BrickColor.new("Pastel brown")
1299
end
1300
--// banmgr //--
1301
topkek.banmgr.isPrivate = false
1302
topkek.banmgr.whitelist = {}
1303
topkek.banmgr.bans = {}
1304
function topkek.banmgr.executeKick(z)
1305
	local function doKick()
1306
        if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
1307
            z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
1308
            local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
1309
            spawn(function()
1310
                repeat wait()
1311
                    if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
1312
                        SP.Position = z.Character.HumanoidRootPart.Position
1313
                    end
1314
                until not game:GetService('Players'):FindFirstChild(z.Name)
1315
            end)
1316
            z.Character.Torso.Anchored = true
1317
        end
1318
	end
1319
	repeat
1320
		doKick()
1321
		wait()
1322
	until not z
1323
end
1324
function topkek.banmgr.loadFromFile()
1325
	-- todo: read file
1326
	topkek.settings.get()
1327
	topkek.banmgr.bans = topkek.settingsTable['Bans']
1328
end
1329
function topkek.banmgr.addHardBan(p)
1330
	-- todo: write file
1331
	table.insert(topkek.banmgr.bans, p.Name)
1332
	topkek.settings.get()
1333
	table.insert(topkek.settingsTable['Bans'], p.Name)
1334
	topkek.settings.write()
1335
	print("Hardbanned " .. p.Name)
1336
	UpdateBanlist()
1337
	topkek.banmgr.executeKick(p)
1338
	topkek.banmgr.loadFromFile()
1339
end
1340
function topkek.banmgr.addSoftBan(p)
1341
	table.insert(topkek.banmgr.bans, p.Name)
1342
	topkek.banmgr.executeKick(p)
1343
end
1344
function topkek.banmgr.plrBanned(p)
1345
	for x, m in pairs(topkek.banmgr.bans) do
1346
		if m == p.Name then
1347
			return true
1348
		end
1349
	end	
1350
	return false
1351
end
1352
function topkek.banmgr.doWhitelist(p)
1353
	print(p .. " whitelisted")
1354
	table.insert(topkek.banmgr.whitelist, p)
1355
end
1356
function topkek.banmgr.unwhitelist(p)
1357
	for x, m in pairs(topkek.banmgr.whitelist) do
1358
		if m == p then
1359
			print(m .. " unwhitelisted")
1360
			table.remove(topkek.banmgr.whitelist, x)
1361
			if game:GetService('Players'):FindFirstChild(p) then
1362
				topkek.banmgr.executeKick(game:GetService('Players')[p])
1363
			end
1364
		end
1365
	end	
1366
end
1367
function topkek.banmgr.plrWhitelisted(p)
1368
	for x, m in pairs(topkek.banmgr.whitelist) do
1369
		if m == p.Name then
1370
			return true
1371
		end
1372
	end	
1373
	return false
1374
end
1375
function topkek.banmgr.makePrivate()
1376
	topkek.banmgr.isPrivate = true
1377
	for i, v in pairs(game:GetService('Players'):GetPlayers()) do
1378
		if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
1379
			spawn(function()
1380
				topkek.banmgr.executeKick(v)
1381
			end)
1382
		end
1383
	end
1384
end
1385
function topkek.banmgr.unprivate()
1386
	topkek.banmgr.isPrivate = false
1387
end
1388
function topkek.banmgr.init()
1389
	topkek.banmgr.loadFromFile()
1390
	game:GetService('Players').PlayerAdded:connect(function(p)
1391
		if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
1392
			print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
1393
			topkek.banmgr.executeKick(p)
1394
		end
1395
	end)
1396
end
1397
--// settings //--
1398
topkek.settings = {}
1399
topkek.settingsTable = {}
1400
function topkek.settings.write()
1401
	--writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
1402
end
1403
function topkek.settings.get()
1404
if game.Players.LocalPlayer.Character then
1405
		print("No settings! Making new ...")
1406
		topkek.settingsTable = {
1407
			['Bans'] = {
1408
				
1409
			},
1410
			['Themes'] = {
1411
				{Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
1412
			};
1413
		}
1414
		topkek.settings.write()
1415
		return topkek.settingsTable
1416
	else
1417
		local lset = game:GetService('HttpService'):JSONDecode(set)
1418
		topkek.settingsTable = lset
1419
		return lset
1420
end
1421
end
1422
--// shortcuts //--
1423
tk = {}
1424
tk.ob = topkek.tools.util.Object
1425
tk.dp = topkek.tools.util.doPlayers
1426
tk.rcm = topkek.tools.util.recurseRemove
1427
tk.rcs = topkek.tools.util.recurseSet
1428
tk.rcf = topkek.tools.util.recurseFunc
1429
tk.rco = topkek.tools.util.recurseSetObj
1430
tk.play = topkek.tools.util.play
1431
tk.gt = topkek.tools.util.getTorso
1432
--// gui //--
1433
-- copying this from topkek3.0 because i'm
1434
-- too lazy to rewrite my lib
1435
topkek.tools.gui.seperation = 12
1436
function topkek.tools.gui:addLeftIcon(parent, img, sz)
1437
	topkek.tools.util.Object('ImageLabel', {
1438
		Parent = parent;
1439
		BackgroundTransparency = 1;
1440
		Position = UDim2.new(0, 2, 0, 2);
1441
		Size = UDim2.new(0, sz, 0, sz);
1442
		Image = img;
1443
	})
1444
end
1445
function topkek.tools.gui:makeContainer(n)
1446
	local temp = topkek.template:Clone()
1447
	temp.Name = n
1448
	temp.Parent = topkek.holder
1449
	temp.Container.Visible = false
1450
end
1451
function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
1452
	if not o:IsA("ScrollingFrame") and (not ncan) then
1453
		return nil
1454
	elseif o:IsA("ScrollingFrame") then
1455
		o.CanvasSize = UDim2.new(0, 0, 0, 0)
1456
	end
1457
	
1458
	local self = {}
1459
	self.main = o
1460
	self.drawX = 0
1461
	self.drawY = stt or topkek.tools.gui.seperation/2
1462
	self.drawHeight = 0
1463
	self.sepr = sepr or topkek.tools.gui.seperation
1464
	
1465
	function self:drawButton(sz, txt, func, ysz, cbgd)
1466
		local xposOffset = 0
1467
		local xposScale = self.drawX
1468
		local xszOffset = 0
1469
		local xszScale = sz
1470
		if not (self.drawX == 0)  then
1471
			xszOffset = -5
1472
			if sz + self.drawX > 0.998 then
1473
				xszOffset = -10
1474
			end
1475
		elseif sz == 1 then
1476
			local bzz = 4
1477
			if ncan then
1478
				bzz = 0
1479
			end
1480
			xszOffset = -(self.sepr) - bzz
1481
			xposOffset = self.sepr/2
1482
		else
1483
			xszOffset = -4 + -(self.sepr/2)
1484
			xposOffset = self.sepr/2
1485
		end
1486
		if not ysz then ysz = 20 end
1487
		local obj = topkek.tools.util.Object("TextButton", {
1488
			Parent = self.main;
1489
			BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
1490
			BorderSizePixel = 0;
1491
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
1492
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
1493
			Font = 'SourceSans';
1494
			FontSize = 'Size14';
1495
			Text = txt;
1496
			TextSize = 14;
1497
			TextColor3 = Color3.new(199/255, 199/255, 199/255);
1498
		})
1499
		obj.MouseButton1Down:connect(function()
1500
			spawn(func)
1501
		end)
1502
		if ysz > self.drawHeight then
1503
			self.drawHeight = ysz
1504
		end
1505
		self.drawX = self.drawX + sz
1506
		if self.drawX > 0.998 then
1507
			self.drawY = self.drawY + 3 + self.drawHeight
1508
			self.drawX = 0
1509
			self.drawHeight = 0
1510
			if (not ncan) then
1511
				self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
1512
			end
1513
		end
1514
		return obj
1515
	end
1516
	
1517
	function self:GetChildren()
1518
		return self.main:GetChildren()
1519
	end
1520
	
1521
	function self:getDrawY()
1522
		return self.drawY
1523
	end
1524
	
1525
	function self:setDrawY(y)
1526
		self.drawY = y
1527
	end
1528
	
1529
	function self:drawTextBox(sz, txt, ysz, cbgd)
1530
		local xposOffset = 0
1531
		local xposScale = self.drawX
1532
		local xszOffset = 0
1533
		local xszScale = sz
1534
		if not (self.drawX == 0)  then
1535
			xszOffset = -5
1536
			if sz + self.drawX > 0.998 then
1537
				xszOffset = -10
1538
			end
1539
		elseif sz == 1 then
1540
			xszOffset = -(self.sepr) - 5
1541
			xposOffset = self.sepr/2
1542
		else
1543
			xszOffset = -4 + -(self.sepr/2)
1544
			xposOffset = self.sepr/2
1545
		end
1546
		if not ysz then ysz = 20 end
1547
		local obj = topkek.tools.util.Object("TextBox", {
1548
			Parent = self.main;
1549
			BackgroundColor3 = cbgd or color3(153, 52, 52); 
1550
			BorderSizePixel = 0;
1551
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
1552
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
1553
			Font = 'SourceSans';
1554
			FontSize = 'Size14';
1555
			Text = txt;
1556
			TextSize = 14;
1557
			TextColor3 = Color3.new(199/255, 199/255, 199/255);
1558
		})
1559
		if ysz > self.drawHeight then
1560
			self.drawHeight = ysz
1561
		end
1562
		self.drawX = self.drawX + sz
1563
		if self.drawX > 0.998 then
1564
			self.drawY = self.drawY + 3 + self.drawHeight
1565
			self.drawX = 0
1566
			self.drawHeight = 0
1567
			self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
1568
		end
1569
		return obj
1570
	end
1571
	
1572
	function self:drawImage(sz, img, ysz)
1573
		local xposOffset = 0
1574
		local xposScale = self.drawX
1575
		local xszOffset = 0
1576
		local xszScale = sz
1577
		if not (self.drawX == 0)  then
1578
			xszOffset = -5
1579
			if sz + self.drawX > 0.998 then
1580
				xszOffset = -12
1581
			end
1582
		elseif sz == 1 then
1583
			xszOffset = -(self.sepr) - 5
1584
			xposOffset = self.sepr/2
1585
		else
1586
			xszOffset = -5 + -(self.sepr/2)
1587
			xposOffset = self.sepr/2
1588
		end
1589
		if not ysz then ysz = 20 end
1590
		local obj = topkek.tools.util.Object("ImageLabel", {
1591
			Parent = self.main;
1592
			BackgroundTransparency = 1;
1593
			BorderColor3 = Color3.new(27, 42, 53);
1594
			BorderSizePixel = 0;
1595
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
1596
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
1597
			Image = img;
1598
		})
1599
		if ysz > self.drawHeight then
1600
			self.drawHeight = ysz
1601
		end
1602
		self.drawX = self.drawX + sz
1603
		if self.drawX > 0.998 then
1604
			self.drawY = self.drawY + 3 + self.drawHeight
1605
			self.drawX = 0
1606
			self.drawHeight = 0
1607
			if (not ncan) then
1608
				self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
1609
			end
1610
		end
1611
		return obj
1612
	end
1613
	
1614
	function self:drawText(sz, txt, ysz)
1615
		local xposOffset = 0
1616
		local xposScale = self.drawX
1617
		local xszOffset = 0
1618
		local xszScale = sz
1619
		if not (self.drawX == 0)  then
1620
			xszOffset = -5
1621
			if sz + self.drawX > 0.998 then
1622
				xszOffset = -10
1623
			end
1624
		elseif sz == 1 then
1625
			local bzz = 5
1626
			if ncan then
1627
				bzz = 0
1628
			end
1629
			xszOffset = -(self.sepr) - bzz
1630
			xposOffset = self.sepr/2
1631
		else
1632
			xszOffset = -4 + -(self.sepr/2)
1633
			xposOffset = self.sepr/2
1634
		end
1635
		if not ysz then ysz = 20 end
1636
		local obj = topkek.tools.util.Object("TextLabel", {
1637
			Parent = self.main;
1638
			BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
1639
			BorderSizePixel = 0;
1640
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
1641
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
1642
			Font = 'SourceSans';
1643
			FontSize = 'Size14';
1644
			Text = txt;
1645
			TextSize = 14;
1646
			TextColor3 = Color3.new(199/255, 199/255, 199/255);
1647
1648
		})
1649
		if ysz > self.drawHeight then
1650
			self.drawHeight = ysz
1651
		end
1652
		self.drawX = self.drawX + sz
1653
		if self.drawX > 0.998 then
1654
			self.drawY = self.drawY + 3 + self.drawHeight
1655
			self.drawX = 0
1656
			self.drawHeight = 0
1657
			if (not ncan) then
1658
				self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
1659
			end
1660
		end
1661
		return obj
1662
	end
1663
	
1664
	
1665
	function self:drawScrollingContainer(ysz)
1666
		local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
1667
		local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
1668
		local obj = topkek.tools.util.Object("ScrollingFrame", {
1669
			Parent = self.main;
1670
			BackgroundColor3 = color3(117, 42, 42);
1671
			BorderSizePixel = 0;
1672
			Position = pos;
1673
			Size = sz;
1674
			BottomImage = 'rbxassetid://368504177';
1675
			MidImage = 'rbxassetid://368504177';
1676
			TopImage = 'rbxassetid://368504177';
1677
			ScrollBarThickness = 5;
1678
		})
1679
		
1680
		self.drawY = self.drawY + 5 + ysz
1681
		self.drawX = 0
1682
		self.drawHeight = 0
1683
		if (not ncan) then
1684
			self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
1685
		end
1686
		return topkek.tools.gui:hookContainer(obj, false, 10, 3)
1687
	end
1688
	
1689
	function self:drawContainer(xsz, ysz, xz, tz, sep)
1690
		local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
1691
		local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
1692
		local obj = topkek.tools.util.Object("Frame", {
1693
			Parent = self.main;
1694
			BackgroundColor3 = color3(117, 42, 42);
1695
			BorderSizePixel = 0;
1696
			Position = pos;
1697
			Size = sz;
1698
		})
1699
		if not xz then
1700
			self.drawY = self.drawY + 5 + ysz
1701
		end
1702
		self.drawX = 0
1703
		self.drawHeight = 0
1704
		if (not ncan) then
1705
			self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
1706
		end
1707
		return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
1708
	end
1709
	
1710
	function self:addSpacing()
1711
		self.drawY = self.drawY + 3
1712
	end
1713
	
1714
	function self:center()
1715
		local a,c,b=
1716
			self.main.Position.X.Scale,
1717
				self.main.Position.X.Offset,self.main.Size.Y.Offset
1718
		self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
1719
	end	
1720
	
1721
	return self
1722
end
1723
1724
--//anim//--
1725
topkek.tools.animator.animateTo = function(source, dest)
1726
	-- holder2holder:
1727
	-- invis holder
1728
	-- clone holder; vis
1729
	-- move holder to right
1730
	-- vis dest container
1731
	-- tween clone holder left
1732
	-- tween dest holder right
1733
	print("nav",source,dest)
1734
	topkek.holder.Visible = false
1735
	local hclone = topkek.holder:Clone()
1736
	hclone.Parent = topkek.center
1737
	hclone.Name = 'animclone'
1738
	hclone.Visible = true
1739
	topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
1740
	source.Visible = false
1741
	dest.Visible = true
1742
	dest.Container.Visible = true
1743
	dest.Container.ZIndex = 1
1744
	dest.ZIndex = 1
1745
	topkek.holder.Visible = true
1746
	topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
1747
	hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
1748
	wait(0.3)
1749
end
1750
topkek.tools.animator.initialAnimation = function()
1751
	-- initanim:
1752
	-- join both composites
1753
	-- delete composites; vis solid
1754
	-- tween solid to nav topbar
1755
	-- copy topbar plrname; move outside region
1756
	-- tween in clone topbar
1757
	-- delete clone and solid; vis topbar
1758
	-- tween down topbar
1759
	-- tween holder out
1760
	local function abspos(x)
1761
		return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
1762
	end
1763
	local function abssz(x)
1764
		return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
1765
	end
1766
	local holder = topkek.holder
1767
	local nav = topkek.navigator
1768
	local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
1769
	local topbar = topkek.topbar
1770
	local pname =  game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
1771
	local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
1772
	topkek.center.Size = UDim2.new(0, 150, 0, 30)
1773
	game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
1774
	game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
1775
	wait(0.52)
1776
	solid.Visible = true
1777
	game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
1778
	game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
1779
	wait(3)
1780
	solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
1781
	solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
1782
	wait(0.52)
1783
	solid.Label:Destroy()
1784
	wait(0.12)
1785
	topkek.center.Visible = true
1786
	topnav.Visible = true
1787
	solid:Destroy()
1788
	pname.Position = UDim2.new(0, -170, 0, 0)
1789
	pname.Parent = topnav
1790
	pname.Visible = true
1791
	pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
1792
	wait(0.25)
1793
	topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
1794
	spawn(topkek.navigation.buildNavigator)
1795
	wait(0.35)
1796
	topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
1797
	wait(0.35)
1798
	topbar.PlayerName.Visible = true
1799
	pname:Destroy()
1800
	AllowHovers = true
1801
end
1802
--//nav//--
1803
topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
1804
topkek.navigation.windowState = 0
1805
topkek.navigation.gotoContainer = function(cont)
1806
	topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
1807
	topkek.navigation.currentContainer = cont
1808
end
1809
topkek.navigation.buildNavigator = function()
1810
	local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
1811
	local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
1812
	local btns = {}
1813
	for l, x in pairs(topkek.data.windows) do
1814
		local container = topkek.tools.util.getContainer(x)
1815
		local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
1816
		local ZPos = btn.Position
1817
		btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
1818
		btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
1819
		btn.LayoutOrder = l
1820
		btn.ZIndex = 4
1821
		local OPos = btn.Position
1822
		btn.MouseEnter:connect(function()
1823
			if AllowHovers == false then
1824
				return
1825
			end
1826
			for i, v in pairs(btns) do
1827
				if v[1] ~= btn then
1828
					v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
1829
				end
1830
			end
1831
			btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
1832
		end)
1833
		btn.MouseLeave:connect(function()
1834
			btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
1835
		end)
1836
		table.insert(btns, {btn, OPos})
1837
		wait()	
1838
	end
1839
end
1840
topkek.navigation.buildTopbar = function()
1841
	local top = topkek.topbar
1842
	local FELabel = top.Controllers.IsFE
1843
	top.PlayerName.Text = topkek.lplr.Name
1844
	if game:GetService('Workspace').FilteringEnabled == true then
1845
		FELabel.Text = "FE Game"
1846
		FELabel.TextColor3 = BrickColor.new("Bright red").Color
1847
	else
1848
		FELabel.Text = "Not FE"
1849
		FELabel.TextColor3 = BrickColor.new("Bright green").Color
1850
	end
1851
	top.Controllers.Hide.MouseButton1Down:connect(function()
1852
		if topkek.navigation.windowState == 0 then
1853
			topkek.navigation.windowState = 1
1854
			topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
1855
		else
1856
			topkek.navigation.windowState = 0
1857
			topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
1858
		end
1859
	end)	
1860
	top.Controllers.Exit.MouseButton1Down:connect(function()
1861
		topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
1862
		wait(0.31)
1863
		topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
1864
		PlayerChatHook:disconnect()
1865
	end)
1866
	
1867
end
1868
topkek.navigation.initCommandBar = function()
1869
	DistributedCmdBar, cmd = topkek.holder.Command, {}
1870
	--weathered-down version of my cmdscript for topkek
1871
cmd = {}
1872
1873
-- ** defines ** --
1874
cmd.service = (function(a) return game:service(a) end)
1875
cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
1876
cmd.players = cmd.service('Players')
1877
cmd.localplayer = cmd.players.LocalPlayer
1878
1879
cmd.prefix = ';'
1880
cmd.hidden = '/'
1881
1882
cmd.commands = {}
1883
cmd.util = {}
1884
cmd.interface = {}
1885
1886
cmd.admins = {}
1887
cmd.noclip = false
1888
1889
-- ** util ** --
1890
cmd.util.pos = function(str, pos)
1891
	local increment = 1
1892
	for spc in str:gmatch("[^ ]+") do
1893
		if increment == pos then
1894
			return spc
1895
		end
1896
		increment = increment + 1
1897
	end
1898
	return ''
1899
end
1900
cmd.util.pstr = function(str, re_enc)
1901
	str = string.lower(str)
1902
	local players = {}
1903
	if re_enc == true then
1904
		if str == 'me' then
1905
			return {game.Players.LocalPlayer}
1906
		end
1907
		if str == 'all' then
1908
			return game.Players:GetPlayers()
1909
		end
1910
		if str == 'others' then
1911
			for i, v in pairs(game.Players:GetPlayers()) do
1912
				if v ~= cmd.localplayer then
1913
					table.insert(players, v)
1914
				end
1915
			end
1916
		end
1917
		for i, v in pairs(game.Players:GetPlayers()) do
1918
			if string.lower(v.Name):sub(1, #str) == str then
1919
				table.insert(players, v)
1920
			end
1921
		end
1922
		return players
1923
	else
1924
		for seper in str:gmatch("[^,]+") do
1925
			for i, v in pairs(cmd.util.pstr(seper, true)) do
1926
				table.insert(players, v)
1927
			end
1928
		end
1929
		return players
1930
	end
1931
end
1932
cmd.util.parse = function(str, fmt)
1933
	local args = {}
1934
	local encountered = 0
1935
	local position = 1
1936
	for form in fmt:gmatch("[^%%]+") do
1937
		if position == 1 then
1938
			args['command'] = cmd.util.pos(str, position)
1939
		end
1940
		if form == 'inf' then
1941
			args[position] = str:sub(encountered, #str)
1942
		end
1943
		if form == 'int' then
1944
			local fetch = cmd.util.pos(str, position)
1945
			if tonumber(fetch) == nil then
1946
				return nil
1947
			end
1948
			args[position] =  {'integer', data = fetch}
1949
		end
1950
		if form == 'str' then
1951
			local fetch = cmd.util.pos(str, position)
1952
			args[position] = {'string', data = fetch}
1953
		end
1954
		if form == 'plrs' then
1955
			args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
1956
		end
1957
		encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
1958
		position = position + 1
1959
	end
1960
	return args
1961
end
1962
cmd.util.isadmin = function(p)
1963
	if p == cmd.localplayer.Name then
1964
		return true
1965
	else
1966
		for i, v in pairs(cmd.admins) do
1967
			if v == p.Name then
1968
				return true
1969
			end
1970
		end
1971
		return false
1972
	end
1973
end
1974
cmd.util.BombVest = function(Players)
1975
	-- modified by nosyliam
1976
	local TickWait = 1
1977
	local Dead = false
1978
	local BeltPositions = { }
1979
	local ExplodeSounds = { }
1980
	
1981
	for ___, player in pairs(Players) do	
1982
	pcall(function()
1983
	local Me = player
1984
	local Char = Me.Character
1985
	local Torso = Char.Torso
1986
	local Color = "Medium stone gray"
1987
	local Dead = false
1988
	
1989
	
1990
	local Position = Vector3.new(0,100,0)
1991
	local function NewPart(Parent)
1992
		local Part = Instance.new("Part", Parent)
1993
		Part.CanCollide = false
1994
		Part.FormFactor = "Custom"
1995
		Part.Position = Position
1996
		Part.TopSurface = "Smooth"
1997
		Part.BottomSurface = "Smooth"
1998
		Part.BrickColor = BrickColor.new(Color)
1999
		Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
2000
		return Part
2001
	end
2002
	
2003
	local Model = Char:FindFirstChild("Bomb")
2004
	if Model then Model:Destroy() end
2005
	
2006
	Model = Instance.new("Model", Char)
2007
	Model.Name = "Bomb"
2008
	
2009
	local Belt = NewPart(Model)
2010
	Belt.Size = Vector3.new(2.2,0.5,1.2)
2011
	table.insert(BeltPositions, Belt)
2012
	local Weld = Instance.new("Weld", Belt)
2013
	Weld.Part0 = Belt
2014
	Weld.Part1 = Torso
2015
	Weld.C0 = CFrame.new(0,1.1,0)
2016
	local Light = Instance.new("PointLight", Belt)
2017
	Light.Range = 15
2018
	Light.Brightness = 5
2019
	Light.Color = Color3.new(1,0,0)
2020
	local Beep = Instance.new("Sound", Belt)
2021
	Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
2022
	local ExplodeSound = Instance.new("Sound", Belt)
2023
	ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
2024
	ExplodeSound.Pitch = 2.8
2025
	ExplodeSound.Volume = 3
2026
	table.insert(ExplodeSounds, ExplodeSound)
2027
	
2028
	local Back = NewPart(Model)
2029
	Back.Size = Vector3.new(1.5,1.5,0.5)
2030
	local Weld = Instance.new("Weld", Back)
2031
	Weld.Part0 = Back
2032
	Weld.Part1 = Torso
2033
	Weld.C0 = CFrame.new(0,0.1,-0.75)
2034
	
2035
	local StrapLeft = NewPart(Model)
2036
	StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
2037
	local Weld = Instance.new("Weld", StrapLeft)
2038
	Weld.Part0 = StrapLeft
2039
	Weld.Part1 = Torso
2040
	Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
2041
	
2042
	local BuckleLeft = NewPart(Model)
2043
	BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
2044
	local Weld = Instance.new("Weld", BuckleLeft)
2045
	Weld.Part0 = BuckleLeft
2046
	Weld.Part1 = Torso
2047
	Weld.C0 = CFrame.new(0.65,0.1,0.5)
2048
	
2049
	local StrapRight = NewPart(Model)
2050
	StrapRight.Size = Vector3.new(0.2,0.5,1.6)
2051
	local Weld = Instance.new("Weld", StrapRight)
2052
	Weld.Part0 = StrapRight
2053
	Weld.Part1 = Torso
2054
	Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
2055
	
2056
	local BuckleRight = NewPart(Model)
2057
	BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
2058
	local Weld = Instance.new("Weld", BuckleRight)
2059
	Weld.Part0 = BuckleRight
2060
	Weld.Part1 = Torso
2061
	Weld.C0 = CFrame.new(-0.65,0.1,0.5)
2062
	
2063
	
2064
	coroutine.wrap(function()
2065
		repeat
2066
			wait(TickWait)
2067
			Light.Enabled = not Light.Enabled
2068
			Beep:Play()
2069
		until Dead == true
2070
	end)()
2071
	end)
2072
	end
2073
	
2074
	local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
2075
	Tool.Name = "Bomb Vest"
2076
	
2077
	Tool.Selected:connect(function(Mouse)
2078
		TickWait = 0.3
2079
		Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
2080
		
2081
		Mouse.Button1Down:connect(function()
2082
			if Dead == false then
2083
				Dead = true
2084
				for i, Belt in pairs(BeltPositions) do
2085
				coroutine.wrap(function()
2086
				pcall(function() ExplodeSounds[i]:Play() end)
2087
				wait(1.4)
2088
				local Explosion = Instance.new("Explosion", workspace)
2089
				Explosion.Position = Belt.Position
2090
				Explosion.BlastPressure = 100000
2091
				Explosion.DestroyJointRadiusPercent = 0.7
2092
				Explosion.ExplosionType = "CratersAndDebris"
2093
				Explosion.BlastRadius = 50
2094
				Explosion.Hit:connect(function(Part, Distance)
2095
					Part.Anchored = false
2096
					if Distance <= 10 then
2097
						Part:BreakJoints()
2098
					end
2099
				end)
2100
				end)()
2101
				end
2102
			end
2103
		end)
2104
	end)
2105
	
2106
	Tool.Deselected:connect(function()
2107
		TickWait = 1
2108
	end)
2109
end
2110
cmd.util.hulk = function(p)
2111
	function giant(p, size)	
2112
		local pchar = p.Character
2113
		if pchar then
2114
			local function scale(chr,scl)
2115
			
2116
				for _,v in pairs(pchar:GetChildren()) do
2117
					if v:IsA("Hat") then
2118
						v:Clone()
2119
						v.Parent = game.Lighting
2120
					end
2121
				end
2122
					
2123
			    local Head = chr['Head']
2124
			    local Torso = chr['Torso']
2125
			    local LA = chr['Left Arm']
2126
			    local RA = chr['Right Arm']
2127
			    local LL = chr['Left Leg']
2128
			    local RL = chr['Right Leg']
2129
			    local HRP = chr['HumanoidRootPart']
2130
			
2131
			    wait(0.1)
2132
			   
2133
			    Head.formFactor = 3
2134
			    Torso.formFactor = 3
2135
			    LA.formFactor = 3
2136
			    RA.formFactor = 3
2137
			    LL.formFactor = 3
2138
			    RL.formFactor = 3
2139
			    HRP.formFactor = 3
2140
			    
2141
			    Head.Size = Vector3.new(scl * 2, scl, scl)
2142
			    Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
2143
			    LA.Size = Vector3.new(scl, scl * 2, scl)
2144
			    RA.Size = Vector3.new(scl, scl * 2, scl)
2145
			    LL.Size = Vector3.new(scl, scl * 2, scl)
2146
			    RL.Size = Vector3.new(scl, scl * 2, scl)
2147
			    HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
2148
			    
2149
			    local Motor1 = Instance.new('Motor6D', Torso)
2150
			    Motor1.Part0 = Torso
2151
			    Motor1.Part1 = Head
2152
		    	Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
2153
		    	Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
2154
		    	Motor1.Name = "Neck"
2155
					    
2156
		    	local Motor2 = Instance.new('Motor6D', Torso)
2157
		    	Motor2.Part0 = Torso
2158
		    	Motor2.Part1 = LA
2159
		    	Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2160
		    	Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2161
		    	Motor2.Name = "Left Shoulder"
2162
		    	
2163
		    	local Motor3 = Instance.new('Motor6D', Torso)
2164
		   		Motor3.Part0 = Torso
2165
		    	Motor3.Part1 = RA
2166
		    	Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2167
		    	Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2168
		    	Motor3.Name = "Right Shoulder"
2169
		    	
2170
		    	local Motor4 = Instance.new('Motor6D', Torso)
2171
		    	Motor4.Part0 = Torso
2172
		    	Motor4.Part1 = LL
2173
		    	Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2174
		    	Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2175
		    	Motor4.Name = "Left Hip"
2176
		    	
2177
		    	local Motor5 = Instance.new('Motor6D', Torso)
2178
		    	Motor5.Part0 = Torso
2179
		    	Motor5.Part1 = RL
2180
		    	Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2181
		    	Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2182
		    	Motor5.Name = "Right Hip"
2183
		    	
2184
		    	local Motor6 = Instance.new('Motor6D', HRP)
2185
		    	Motor6.Part0 = HRP
2186
		    	Motor6.Part1 = Torso
2187
		    	Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
2188
		    	Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
2189
		    	    
2190
			end
2191
			
2192
			scale(pchar, size)
2193
			pchar.Humanoid.WalkSpeed = 15 * size
2194
		
2195
			for _,v in pairs(game.Lighting:GetChildren()) do
2196
				if v:IsA("Hat") then
2197
					v.Parent = pchar
2198
				end
2199
			end
2200
		end
2201
	end
2202
	
2203
	local plr = p
2204
	giant(plr, 3)
2205
	for i, v in pairs(plr.Character:GetChildren()) do
2206
		if v:IsA("BasePart") then
2207
			v.Touched:connect(function(p)
2208
				if p.Size.X<30 then
2209
					p.Anchored = false
2210
					p:BreakJoints()
2211
				end
2212
			end)
2213
		end
2214
	end
2215
	
2216
	local csize = 3
2217
	
2218
	local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
2219
	local base = Instance.new("Frame", sgui)
2220
	base.BackgroundTransparency = 1
2221
	base.Size = UDim2.new(0, 110, 0, 200)
2222
	base.Position = UDim2.new(1, -120, 1, -180)
2223
	local indicator = Instance.new("TextLabel", base)
2224
	indicator.Size = UDim2.new(1, 0, 0, 25)
2225
	indicator.TextColor3 = Color3.new(1, 1, 1)
2226
	indicator.BackgroundTransparency = 0
2227
	indicator.FontSize = Enum.FontSize.Size18
2228
	indicator.Font = Enum.Font.SourceSans
2229
	indicator.Text = "Current Size: 3"
2230
	local PlusOne = Instance.new("TextButton", base)
2231
	PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
2232
	PlusOne.Position = UDim2.new(0, 0, 0, 40)
2233
	PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
2234
	PlusOne.BorderSizePixel = 2
2235
	PlusOne.Font = Enum.Font.SourceSansBold
2236
	PlusOne.FontSize = Enum.FontSize.Size24
2237
	PlusOne.Text = "+1 Size"
2238
	local MinusOne = Instance.new("TextButton", base)
2239
	MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
2240
	MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
2241
	MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
2242
	MinusOne.Text = "-1 Size"
2243
	MinusOne.BorderSizePixel = 2
2244
	MinusOne.Font = Enum.Font.SourceSansBold
2245
	MinusOne.FontSize = Enum.FontSize.Size24
2246
	
2247
	PlusOne.MouseButton1Down:connect(function()
2248
		csize = csize + 1
2249
		giant(plr, csize)
2250
		indicator.Text = "Current Size: "..tostring(csize)
2251
	end)
2252
	
2253
	MinusOne.MouseButton1Down:connect(function()
2254
		csize = csize - 1
2255
		giant(plr, csize)
2256
		indicator.Text = "Current Size: "..tostring(csize)
2257
	end)
2258
end
2259
cmd.util.R15 = function()
2260
	rcode=[[local function Init()
2261
		wait()
2262
		local function ConChar(P)
2263
			Character = P.Character
2264
				
2265
				local R15Model = Instance.new("Model")
2266
				R15Model.Name = "R15Model"
2267
				R15Model.Parent = Character
2268
				
2269
				local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
2270
					local Part = Instance.new("Part")
2271
					Part.FormFactor = "Custom"
2272
					Part.Size = Size
2273
					Part.BrickColor = Color
2274
					Part.CanCollide = false
2275
					Part.Name = Name
2276
					Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
2277
					Part.TopSurface = "Smooth"
2278
					Part.BottomSurface = "Smooth"
2279
					
2280
					local Motor = Instance.new("Motor6D")
2281
					Motor.C0 = C0
2282
					Motor.C1 = C1
2283
					Motor.Part0 = ConnectToLimb
2284
					Motor.Part1 = Part
2285
					Motor.Name = MotorName
2286
					Motor.MaxVelocity = 0.1
2287
					Motor.Parent = ConnectToLimb
2288
					
2289
					if MeshId then
2290
						local Mesh = Instance.new("SpecialMesh")
2291
						Mesh.MeshType = "FileMesh"
2292
						Mesh.MeshId = MeshId
2293
						Mesh.Scale = Vector3.new(0.99,0.99,0.99)
2294
						Mesh.Parent = Part
2295
					end
2296
					
2297
					if MeshId and Transparency == 0.001 then
2298
						local ShirtTexturePart = Instance.new("Part")
2299
						ShirtTexturePart.FormFactor = "Custom"
2300
						ShirtTexturePart.Size = Size
2301
						ShirtTexturePart.BrickColor = Color
2302
						ShirtTexturePart.CanCollide = false
2303
						ShirtTexturePart.Name = "ShirtTexturePart"
2304
						ShirtTexturePart.Transparency = Transparency
2305
						ShirtTexturePart.TopSurface = "Smooth"
2306
						ShirtTexturePart.BottomSurface = "Smooth"
2307
						
2308
						local Mesh = Instance.new("SpecialMesh")
2309
						Mesh.MeshType = "FileMesh"
2310
						Mesh.MeshId = MeshId
2311
						Mesh.Parent = ShirtTexturePart
2312
						
2313
						local Weld = Instance.new("Weld")
2314
						Weld.Part0 = Part
2315
						Weld.Part1 = ShirtTexturePart
2316
						Weld.Parent = ShirtTexturePart
2317
						
2318
						ShirtTexturePart.Parent = Part
2319
					end
2320
					Part.Parent = R15Model
2321
					return Part
2322
				end
2323
				
2324
				
2325
				local HumanoidRootPart = CreateLimb("HumanoidRootPart",BrickColor.new("Medium stone grey"),Vector3.new(1,1,1),1,Character.HumanoidRootPart,"RootConnector",CFrame.new(),CFrame.new(0,0.7,0))
2326
				local LowerTorso = CreateLimb("LowerTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,HumanoidRootPart,"Root",CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941715")
2327
				local UpperTorso = CreateLimb("UpperTorso",BrickColor.new("Bright blue"),Vector3.new(1,1,1),0.001,LowerTorso,"Waist",CFrame.new(0, 0.404105991, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941468")
2328
				local Head = CreateLimb("Head",BrickColor.new("Bright yellow"),Vector3.new(1,1,1),0,UpperTorso,"Neck",CFrame.new(0, 1.26949596, 0.0428609997, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.635110021, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941905")
2329
				local LeftUpperArm = CreateLimb("LeftUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.672, 1),0.001,UpperTorso,"LeftShoulder",CFrame.new(-1.50177097, 0.924546003, 0, 1, 0, -0, 0, 0.999044001, 0.0437170006, 0, -0.0437170006, 0.999044001),CFrame.new(0, 0.336115986, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938468")
2330
				local LeftLowerArm = CreateLimb("LeftLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,LeftUpperArm,"LeftElbow",CFrame.new(0, -0.336115986, 0, 1, 0, 0, 0, 0.999044001, -0.0437170006, 0, 0.0437170006, 0.999044001),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387938971")
2331
				local LeftHand = CreateLimb("LeftHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,LeftLowerArm,"LeftWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939233")
2332
				local RightUpperArm = CreateLimb("RightUpperArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.671, 1),0.001,UpperTorso,"RightShoulder",CFrame.new(1.50049305, 0.923726022, 0, 1, 0, -0, 0, 0.999041617, 0.0437709838, 0, -0.0437709838, 0.999041617),CFrame.new(0, 0.335705996, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940113")
2333
				local RightLowerArm = CreateLimb("RightLowerArm",BrickColor.new("Bright yellow"),Vector3.new(1, 0.703, 1),0.001,RightUpperArm,"RightElbow",CFrame.new(0, -0.335705996, 0, 1, 0, 0, 0, 0.999041617, -0.0437709838, 0, 0.0437709838, 0.999041617),CFrame.new(0, 0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940356")
2334
				local RightHand = CreateLimb("RightHand",BrickColor.new("Bright yellow"),Vector3.new(1, 0.352, 1),0.001,RightLowerArm,"RightWrist",CFrame.new(0, -0.351512015, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.175756007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940548")
2335
				local LeftUpperLeg = CreateLimb("LeftUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"LeftHip",CFrame.new(-0.457044005, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939645")
2336
				local LeftLowerLeg = CreateLimb("LeftLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,LeftUpperLeg,"LeftKnee",CFrame.new(0, -0.387418985, 0, 1, 9.95820074e-007, 9.13360125e-008, -9.99999997e-007, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939489")
2337
				local LeftFoot = CreateLimb("LeftFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,LeftLowerLeg,"LeftAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387939912")
2338
				local RightUpperLeg = CreateLimb("RightUpperLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.775, 1),0.001,LowerTorso,"RightHip",CFrame.new(0.451141, -0.498115987, 0, 1, 0, -0, 0, 1, 0.000100999998, 0, -0.000100999998, 1),CFrame.new(0, 0.387418985, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940976")
2339
				local RightLowerLeg = CreateLimb("RightLowerLeg",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.829, 1),0.001,RightUpperLeg,"RightKnee",CFrame.new(0, -0.387418985, 0, 1, 0, -0, 0, 0.995820105, 0.0913360119, 0, -0.0913360119, 0.995820105),CFrame.new(0, 0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387940802")
2340
				local RightFoot = CreateLimb("RightFoot",BrickColor.new("Br. yellowish green"),Vector3.new(1, 0.415, 1),0.001,RightLowerLeg,"RightAnkle",CFrame.new(0, -0.414570987, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.207286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),"rbxassetid://387941196")
2341
				
2342
				--if Character:WaitForChild("Head"):WaitForChild("Mesh").MeshId ~= "" then
2343
				--	Head.MeshId = Character.Head.Mesh.MeshId
2344
				--end
2345
				
2346
				Character:WaitForChild("Animate").Disabled = false
2347
				local Anim = game:GetObjects("rbxassetid://401967017")[1]; print("aobj", tostring(Anim))
2348
				for i, v in pairs(Anim:GetChildren()) do
2349
					v.Parent = script
2350
				end
2351
				script.Parent = Character
2352
				
2353
				local function Clear(Name,Alternative,ColorParts)
2354
					local Part = Character:WaitForChild(Name)
2355
					Part.Transparency = (Name == "Head" and 0.99 or 1)
2356
					local function ChildAdded(Ins)
2357
						delay(0.05,function()
2358
							if Ins.Name == "face" then
2359
								if Alternative:FindFirstChild("face") then Alternative:FindFirstChild("face"):Destroy() end
2360
								Ins.Parent = Alternative
2361
							elseif Ins:IsA("Motor6D") and string.sub(Ins.Name,1,5) ~= "Fake_" then
2362
								Ins.Name = "Fake_"..Ins.Name
2363
							elseif Ins.Name == "HeadWeld" then
2364
								delay(0.05,function()
2365
									Ins.Parent = Head
2366
									Ins.Part0 = Head
2367
									Ins.C1 = CFrame.new(0,0,0.05) * Ins.C1
2368
								end)
2369
							elseif not Ins:IsA("Weld") then
2370
								Ins:Destroy()
2371
							end
2372
						end)
2373
					end
2374
					for _,Sub in pairs(Part:GetChildren()) do
2375
						ChildAdded(Sub)
2376
					end
2377
					Part.ChildAdded:connect(ChildAdded)
2378
					
2379
					local function Color()
2380
						for _,Sub in pairs(ColorParts) do
2381
							Sub.BrickColor = Part.BrickColor
2382
							local TexturePart = Sub:FindFirstChild("ShirtTexturePart")
2383
							if TexturePart then
2384
								TexturePart.BrickColor = Part.BrickColor
2385
							end
2386
						end
2387
					end
2388
					Color()
2389
					Part.Changed:connect(Color)
2390
				end
2391
				
2392
				Clear("HumanoidRootPart",HumanoidRootPart,{HumanoidRootPart})
2393
				Clear("Head",Head,{Head})
2394
				Clear("Torso",nil,{LowerTorso,UpperTorso})
2395
				Clear("Left Arm",nil,{LeftLowerArm,LeftUpperArm,LeftHand})
2396
				Clear("Right Arm",nil,{RightLowerArm,RightUpperArm,RightHand})
2397
				Clear("Left Leg",nil,{LeftLowerLeg,LeftUpperLeg,LeftFoot})
2398
				Clear("Right Leg",nil,{RightLowerLeg,RightUpperLeg,RightFoot})
2399
				
2400
				local ShirtUsed = false
2401
				local function ChildAdded(Ins)
2402
					if Ins:IsA("Hat") and string.sub(Ins.Name,1,7) ~= "Scaled_" then
2403
						delay(0.05,function()
2404
							local Mesh = Ins:WaitForChild("Handle"):WaitForChild("Mesh")
2405
							Ins.AttachmentPos = Ins.AttachmentPos 
2406
							Mesh.Scale = Mesh.Scale
2407
							Ins.Name = "Scaled_"..Ins.Name
2408
						end)
2409
					elseif Ins:IsA("Shirt") then
2410
						ShirtUsed = true
2411
						LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2412
						UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2413
						LeftLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2414
						LeftUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2415
						LeftHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2416
						RightLowerArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2417
						RightUpperArm.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2418
						RightHand.ShirtTexturePart.Mesh.TextureId = Ins.ShirtTemplate
2419
					elseif Ins:IsA("Pants") then
2420
						LeftUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2421
						LeftLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2422
						LeftFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2423
						RightUpperLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2424
						RightLowerLeg.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2425
						RightFoot.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2426
						if LowerTorso.ShirtTexturePart.Mesh.TextureId == "" then
2427
							LowerTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2428
							UpperTorso.ShirtTexturePart.Mesh.TextureId = Ins.PantsTemplate
2429
						end
2430
					end
2431
				end
2432
				
2433
				for _,Sub in pairs(Character:GetChildren()) do
2434
					ChildAdded(Sub)
2435
				end
2436
				Character.ChildAdded:connect(ChildAdded)
2437
				loadstring(Anim.Source)()
2438
			end
2439
		ConChar(game:service'Players'.LocalPlayer)
2440
	end
2441
	
2442
	Init()]]
2443
	spawn(function() loadstring(rcode)() end)
2444
end
2445
cmd.util.size = function(p, size)
2446
	-- omfg thanks var
2447
	local pchar = p.Character
2448
		local function scale(chr,scl)
2449
		
2450
			for _,v in pairs(pchar:GetChildren()) do
2451
				if v:IsA("Hat") then
2452
					v:Clone()
2453
					v.Parent = game.Lighting
2454
				end
2455
			end
2456
				
2457
		    local Head = chr['Head']
2458
		    local Torso = chr['Torso']
2459
		    local LA = chr['Left Arm']
2460
		    local RA = chr['Right Arm']
2461
		    local LL = chr['Left Leg']
2462
		    local RL = chr['Right Leg']
2463
		    local HRP = chr['HumanoidRootPart']
2464
		
2465
		    wait(0.1)
2466
		   
2467
		    Head.formFactor = 3
2468
		    Torso.formFactor = 3
2469
		    LA.formFactor = 3
2470
		    RA.formFactor = 3
2471
		    LL.formFactor = 3
2472
		    RL.formFactor = 3
2473
		    HRP.formFactor = 3
2474
		    
2475
		    Head.Size = Vector3.new(scl * 2, scl, scl)
2476
		    Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
2477
		    LA.Size = Vector3.new(scl, scl * 2, scl)
2478
		    RA.Size = Vector3.new(scl, scl * 2, scl)
2479
		    LL.Size = Vector3.new(scl, scl * 2, scl)
2480
		    RL.Size = Vector3.new(scl, scl * 2, scl)
2481
		    HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
2482
		    
2483
		    local Motor1 = Instance.new('Motor6D', Torso)
2484
		    Motor1.Part0 = Torso
2485
		    Motor1.Part1 = Head
2486
	    	Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
2487
	    	Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
2488
	    	Motor1.Name = "Neck"
2489
				    
2490
	    	local Motor2 = Instance.new('Motor6D', Torso)
2491
	    	Motor2.Part0 = Torso
2492
	    	Motor2.Part1 = LA
2493
	    	Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2494
	    	Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2495
	    	Motor2.Name = "Left Shoulder"
2496
	    	
2497
	    	local Motor3 = Instance.new('Motor6D', Torso)
2498
	   		Motor3.Part0 = Torso
2499
	    	Motor3.Part1 = RA
2500
	    	Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2501
	    	Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2502
	    	Motor3.Name = "Right Shoulder"
2503
	    	
2504
	    	local Motor4 = Instance.new('Motor6D', Torso)
2505
	    	Motor4.Part0 = Torso
2506
	    	Motor4.Part1 = LL
2507
	    	Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2508
	    	Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
2509
	    	Motor4.Name = "Left Hip"
2510
	    	
2511
	    	local Motor5 = Instance.new('Motor6D', Torso)
2512
	    	Motor5.Part0 = Torso
2513
	    	Motor5.Part1 = RL
2514
	    	Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2515
	    	Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
2516
	    	Motor5.Name = "Right Hip"
2517
	    	
2518
	    	local Motor6 = Instance.new('Motor6D', HRP)
2519
	    	Motor6.Part0 = HRP
2520
	    	Motor6.Part1 = Torso
2521
	    	Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
2522
	    	Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
2523
	    	    
2524
		end
2525
		
2526
		scale(pchar, size)
2527
	
2528
		for _,v in pairs(game.Lighting:GetChildren()) do
2529
			if v:IsA("Hat") then
2530
				v.Parent = pchar
2531
			end
2532
		end
2533
end
2534
cmd.util.checktable = function(t, v)
2535
	for i, __ in pairs(t) do
2536
		if __ == v then
2537
			return true
2538
		end 
2539
	end
2540
	return false
2541
end
2542
cmd.util.nextrgb = function(r, g, b)
2543
	local ar, ag, ab = r, g, b
2544
	if r == 255 and g < 255 and b == 0 then
2545
		ag = g + 8.5
2546
	end
2547
	if g == 255 and r > 0 and b == 0 then
2548
		ar = r - 8.5
2549
	end
2550
	if g == 255 and b < 255 and r == 0 then
2551
		ab = b + 8.5
2552
	end
2553
	if b == 255 and g > 0 and r == 0 then
2554
		ag = g - 8.5
2555
	end
2556
	if b == 255 and r < 255 and g == 0 then
2557
		ar = r + 8.5
2558
	end
2559
	if r == 255 and b > 0 and g == 0 then
2560
		ab = b - 8.5
2561
	end
2562
	return {ar, ag, ab}
2563
end
2564
-- ** interface ** --
2565
game:GetService('UserInputService').InputBegan:connect(function(inp)
2566
	if inp.UserInputType == Enum.UserInputType.Keyboard then
2567
		if inp.KeyCode == Enum.KeyCode.Semicolon then
2568
			DistributedCmdBar:CaptureFocus()
2569
		end
2570
	end
2571
end)
2572
2573
-- ** commands ** --
2574
cmd.commands.store = {}
2575
cmd.commands.fmtstore = {}
2576
2577
cmd.commands.register = function(cmdz, fmt, func)
2578
	cmd.commands.store[cmdz] = (function(str) coroutine.wrap(function() pcall(function() func(cmd.util.parse(str, fmt)) end) end)() end)
2579
	cmd.commands.fmtstore[cmdz] = fmt
2580
end
2581
2582
cmd.commands.run = function(str)
2583
	local cmdz = cmd.util.pos(str, 1)
2584
	if not cmd.commands.store[cmdz] then
2585
		return nil
2586
	else
2587
		cmd.commands.store[cmdz](str)
2588
	end
2589
end
2590
2591
-- // actual commands // --
2592
2593
cmd.commands.register('kill', 'cmd%plrs', function(args)
2594
	for i, v in pairs(args[2]) do
2595
		v.Character.Humanoid.Health = 0
2596
	end
2597
end)
2598
2599
cmd.commands.register('clone', 'cmd%plrs', function(args)
2600
	for i, v in pairs(args[2]) do
2601
		v.Character.Archivable = true
2602
		local clone = v.Character:Clone()
2603
		clone.Parent = game.Workspace
2604
		clone:MoveTo(v.Character.Torso.Position)
2605
	end
2606
end)
2607
2608
cmd.commands.register('damage', 'cmd%plrs%int', function(args)
2609
	for i, v in pairs(args[2]) do
2610
		v.Character.Humanoid:TakeDamage(args[3].data)
2611
	end
2612
end)
2613
2614
cmd.commands.register('freeze', 'cmd%plrs', function(args)
2615
	for i, v in pairs(args[2]) do
2616
		v.Character.Torso.Anchored = true
2617
	end
2618
end)
2619
2620
cmd.commands.register('thaw', 'cmd%plrs', function(args)
2621
	for i, v in pairs(args[2]) do
2622
		v.Character.Torso.Anchored = false
2623
	end
2624
end)
2625
Fly = false;
2626
cmd.commands.register('fly', 'cmd', function(args)
2627
	if Fly == true then
2628
		Fly = false
2629
		return
2630
	end
2631
	Fly = true
2632
  local mouse=game.Players.LocalPlayer:GetMouse''
2633
  localplayer=game.Players.LocalPlayer
2634
  game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
2635
  local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
2636
  local speed=0
2637
  local keys={a=false,d=false,w=false,s=false} 
2638
  local e1
2639
  local e2
2640
  local function start()
2641
   local pos = Instance.new("BodyPosition",torso)
2642
   local gyro = Instance.new("BodyGyro",torso)
2643
   pos.Name="EPIXPOS"
2644
   pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
2645
   pos.position = torso.Position
2646
   gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9) 
2647
   gyro.cframe = torso.CFrame
2648
   repeat
2649
    wait()
2650
    localplayer.Character.Humanoid.PlatformStand=true
2651
    local new=gyro.cframe - gyro.cframe.p + pos.position
2652
    if not keys.w and not keys.s and not keys.a and not keys.d then
2653
     speed=1
2654
    end 
2655
    if keys.w then 
2656
     new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
2657
     speed=speed+0.01
2658
    end
2659
    if keys.s then 
2660
     new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
2661
     speed=speed+0.01
2662
    end
2663
    if keys.d then 
2664
     new = new * CFrame.new(speed,0,0)
2665
     speed=speed+0.01
2666
    end
2667
    if keys.a then 
2668
     new = new * CFrame.new(-speed,0,0)
2669
     speed=speed+0.01
2670
    end
2671
    if speed>5 then
2672
     speed=5
2673
    end
2674
    pos.position=new.p
2675
    if keys.w then
2676
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
2677
    elseif keys.s then
2678
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
2679
    else
2680
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame
2681
    end
2682
   until not Fly
2683
   if gyro then gyro:Destroy() end
2684
   if pos then pos:Destroy() end
2685
   flying=false
2686
   localplayer.Character.Humanoid.PlatformStand=false
2687
   speed=0
2688
  end
2689
  e1=mouse.KeyDown:connect(function(key)
2690
   if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
2691
   if key=="w" then
2692
    keys.w=true
2693
   elseif key=="s" then
2694
    keys.s=true
2695
   elseif key=="a" then
2696
    keys.a=true
2697
   elseif key=="d" then
2698
    keys.d=true
2699
   end
2700
  end)
2701
  e2=mouse.KeyUp:connect(function(key)
2702
   if key=="w" then
2703
    keys.w=false
2704
   elseif key=="s" then
2705
    keys.s=false
2706
   elseif key=="a" then
2707
    keys.a=false
2708
   elseif key=="d" then
2709
    keys.d=false
2710
   end
2711
  end)
2712
  start()
2713
end)
2714
cmd.commands.register('tp', 'cmd%plrs%plrs', function(args)
2715
	local players = args[2]
2716
	local target = args[3][1]
2717
	for i, player in pairs(args[2]) do
2718
		player.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
2719
	end
2720
end)
2721
2722
cmd.commands.register('naked', 'cmd%plrs', function(args)
2723
	for i, v in pairs(args[2]) do
2724
		v:ClearCharacterAppearance()
2725
	end
2726
end)
2727
cmd.commands.register('sgod', 'cmd%plrs', function(args)
2728
	for i, v in pairs(args[2]) do
2729
		v.Character.Humanoid.MaxHealth = 999999999
2730
		v.Character.Humanoid.Health = 999999999
2731
	end
2732
end)
2733
2734
cmd.commands.register('ws', 'cmd%plrs%int', function(args)
2735
	for i, v in pairs(args[2]) do
2736
		v.Character.Humanoid.WalkSpeed = args[3].data
2737
	end
2738
end)
2739
2740
cmd.commands.register('lag', 'cmd%plrs', function(args)
2741
	for i, v in pairs(args[2]) do
2742
		coroutine.wrap(function()
2743
			for i = 1, 200 do
2744
				ypcall(function()
2745
					coroutine.wrap(function()
2746
						for i = 1, 1000 do
2747
							Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
2748
						end
2749
					end)()
2750
				end)
2751
				wait()
2752
			end 
2753
		end)()
2754
	end
2755
end)
2756
2757
cmd.commands.register('ban', 'cmd%plrs', function(args)
2758
	for i, v in pairs(args[2]) do
2759
		table.insert(cmd.bans, v.Name)
2760
		v.Parent = nil
2761
	end
2762
end)
2763
2764
cmd.commands.register('lagban', 'cmd%plrs', function(args)
2765
	for i, v in pairs(args[2]) do
2766
		table.insert(cmd.lagbans, v.Name)
2767
		coroutine.wrap(function()
2768
			for i = 1, 200 do
2769
				ypcall(function()
2770
					coroutine.wrap(function()
2771
						for i = 1, 1000 do
2772
							Instance.new("HopperBin", v.Backpack).Name = ('AAAAAAA '):rep(1000)
2773
						end
2774
					end)()
2775
				end)
2776
				wait()
2777
			end 
2778
		end)()
2779
	end
2780
end)
2781
2782
cmd.commands.register('punish', 'cmd%plrs', function(args)
2783
	for i, v in pairs(args[2]) do
2784
		v.Character.Parent = game.Lighting
2785
	end
2786
end)
2787
2788
cmd.commands.register('unpunish', 'cmd%plrs', function(args)
2789
	for i, v in pairs(args[2]) do
2790
		v.Character.Parent = game.Workspace
2791
	end
2792
end)
2793
2794
cmd.commands.register('respawn', 'cmd%plrs', function(args)
2795
	for i, v in pairs(args[2]) do
2796
		local a1 = Instance.new("Model", game.Workspace)
2797
		local a2 = Instance.new("Part", game.Workspace)
2798
		a2.CanCollide = true
2799
		a2.Anchored = true
2800
		a2.CFrame = CFrame.new(10000, 10000, 10000)
2801
		a2.Name = "Torso"
2802
		local a3 = Instance.new("Humanoid", a1)
2803
		a3.MaxHealth=100;a3.Health=100
2804
		v.Character = a1
2805
		a3.Health=0
2806
	end
2807
end)
2808
2809
cmd.commands.register('shutdown', 'cmd', function(args)
2810
	for i, v in pairs(cmd.service('Players'):GetPlayers()) do
2811
		v.Parent = nil
2812
	end
2813
end)
2814
2815
cmd.commands.register('music', 'cmd%int', function(args)
2816
	local a = Instance.new("Sound")
2817
	a.SoundId = "rbxassetid://" .. tostring(args[2].data)
2818
	a.Looped = true
2819
	a.Volume = 1
2820
	a.Parent = game.Workspace
2821
	a:Play()
2822
	
2823
end)
2824
2825
cmd.commands.register('sit', 'cmd%plrs', function(args)
2826
	for i, v in pairs(args[2]) do
2827
		v.Character.Humanoid.Sit = true
2828
	end
2829
end)
2830
2831
cmd.commands.register('jump', 'cmd%plrs', function(args)
2832
	for i, v in pairs(args[2]) do
2833
		v.Character.Humanoid.Jump = true
2834
	end
2835
end)
2836
2837
cmd.commands.register('stun', 'cmd%plrs', function(args)
2838
	for i, v in pairs(args[2]) do
2839
		v.Character.Humanoid.PlatformStand = true
2840
	end
2841
end)
2842
2843
cmd.commands.register('unstun', 'cmd%plrs', function(args)
2844
	for i, v in pairs(args[2]) do
2845
		v.Character.Humanoid.PlatformStand = false
2846
	end
2847
end)
2848
2849
cmd.commands.register('loopstate', 'cmd%int', function(args)
2850
	coroutine.resume(coroutine.create(function()
2851
		repeat
2852
			ypcall(function() cmd.localplayer.Character.Humanoid:ChangeState(args[2].data)	end)
2853
			wait(0)
2854
		until cmd.localplayer.Character.Humanoid == nil
2855
	end))
2856
end)
2857
2858
cmd.commands.register('invis', 'cmd%plrs', function(args)
2859
	for i, v in pairs(args[2]) do
2860
		local function dloop(o)
2861
			for i, v in pairs(o:GetChildren()) do
2862
				pcall(function() v.Transparency = 1 end)
2863
				dloop(v)
2864
			end
2865
		end
2866
		dloop(v.Character)
2867
	end
2868
end)
2869
2870
cmd.commands.register('vis', 'cmd%plrs', function(args)
2871
	for i, v in pairs(args[2]) do
2872
		local function dloop(o)
2873
			for i, v in pairs(o:GetChildren()) do
2874
				pcall(function() v.Transparency = 0 end)
2875
				dloop(v)
2876
			end
2877
		end
2878
		v.Character.HumanoidRootPart.Transparency = 1
2879
		dloop(v.Character)
2880
	end
2881
end)
2882
2883
cmd.commands.register('nuke', 'cmd%plrs', function(args)
2884
	for i, v in pairs(args[2]) do
2885
		if v.Character then
2886
			local nuke = Instance.new("Part", game.Workspace)
2887
			nuke.Anchored = true
2888
			nuke.CanCollide = false
2889
			nuke.FormFactor = "Symmetric"
2890
			nuke.Shape = "Ball"
2891
			nuke.Size = Vector3.new(1,1,1)
2892
			nuke.BrickColor = BrickColor.new("New Yeller")
2893
			nuke.Transparency = 0.5
2894
			nuke.Reflectance = 0.2
2895
			nuke.TopSurface = 0
2896
			nuke.BottomSurface = 0
2897
			nuke.Touched:connect(function (hit)
2898
				if hit and hit.Parent then
2899
					local boom = Instance.new("Explosion", game.Workspace)
2900
					boom.Position = hit.Position
2901
					boom.BlastRadius = 11
2902
					boom.BlastPressure = math.huge
2903
				end
2904
			end)
2905
			local CF = v.Character.Torso.CFrame
2906
			nuke.CFrame = CF
2907
			for i = 1,333 do
2908
				nuke.Size = nuke.Size + Vector3.new(3,3,3)
2909
				nuke.CFrame = CF
2910
				wait(1/44)
2911
			end
2912
			nuke:Destroy()
2913
		end
2914
	end
2915
end)
2916
2917
cmd.commands.register('explode', 'cmd%plrs', function(args)
2918
	for i, v in pairs(args[2]) do
2919
		Instance.new("Explosion", v.Character.Torso).Position = v.Character.Torso.Position
2920
	end
2921
end)
2922
2923
cmd.commands.register('hat', 'cmd%plrs%int', function(args)
2924
	for i, v in pairs(args[2]) do
2925
		cmd.service('InsertService'):LoadAsset(args[3].data):GetChildren()[1].Parent = v.Character
2926
	end
2927
end)
2928
2929
cmd.commands.register('chat', 'cmd%plrs%inf', function(args)
2930
	for i, v in pairs(args[2]) do
2931
		game:GetService('Chat'):Chat(v.Character, args[3], 1)
2932
	end
2933
end)
2934
2935
cmd.commands.register('god', 'cmd%plrs', function(args)
2936
	for i, v in pairs(args[2]) do
2937
		v.Character.Humanoid.MaxHealth = math.huge
2938
		v.Character.Humanoid.Health = math.huge
2939
	end
2940
end)
2941
2942
cmd.commands.register('ungod', 'cmd%plrs', function(args)
2943
	for i, v in pairs(args[2]) do
2944
		v.Character.Humanoid.Health = 100
2945
		v.Character.Humanoid.MaxHealth = 100
2946
	end
2947
end)
2948
2949
cmd.commands.register('rh', 'cmd%plrs', function(args)
2950
	for i, v in pairs(args[2]) do
2951
		v.Character.Humanoid.Parent = nil
2952
	end
2953
end)
2954
2955
cmd.commands.register('fire', 'cmd%plrs', function(args)
2956
	for i, v in pairs(args[2]) do
2957
		Instance.new('Fire', v.Character.Torso)
2958
	end
2959
end)
2960
2961
cmd.commands.register('insane', 'cmd%plrs', function(args)
2962
	for x, m in pairs(args[2]) do
2963
		for i,v in pairs(m.Character.Torso:GetChildren()) do
2964
			if v:IsA("Motor6D") then
2965
				coroutine.wrap(function()
2966
					while v do
2967
						v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
2968
						wait()
2969
					end
2970
				end)()
2971
			end
2972
		end
2973
	end
2974
end)
2975
2976
cmd.commands.register('admin', 'cmd%plrs',function(args)
2977
	for i, v in pairs(args[2]) do
2978
		--table.insert(cmd.admins, v.Name)
2979
		v.Chatted:connect(function(msg)
2980
				if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
2981
					cmd.commands.run(msg:sub(2, #msg))
2982
				end
2983
		end)
2984
	end
2985
end)
2986
2987
cmd.commands.register('nosound', 'cmd', function(args)
2988
	local function dx(o)
2989
		for i, v in pairs(o:GetChildren()) do
2990
			if v:IsA("Sound") then
2991
				v:Stop()
2992
			end
2993
			dx(v)
2994
		end
2995
	end
2996
	dx(game.Workspace)
2997
end)
2998
2999
cmd.commands.register('duck', 'cmd%plrs', function(args)
3000
	for _,p in pairs(args[2]) do
3001
		local pchar = p.Character
3002
		for i,v in pairs(pchar.Torso:GetChildren()) do
3003
			if v:IsA("Decal") then
3004
				v:Destroy()
3005
			end
3006
		end
3007
		for i,v in pairs(pchar:GetChildren()) do
3008
			if v:IsA("Hat") then
3009
				v:Destroy()
3010
			end
3011
		end
3012
		local duck = Instance.new("SpecialMesh", pchar.Torso)
3013
		duck.MeshType = "FileMesh"
3014
		duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
3015
		duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
3016
	    duck.Scale = Vector3.new(5, 5, 5)
3017
		pchar.Head.Transparency = 1
3018
		pchar["Left Arm"].Transparency = 1
3019
		pchar["Right Arm"].Transparency = 1
3020
		pchar["Left Leg"].Transparency = 1
3021
		pchar["Right Leg"].Transparency = 1
3022
		pchar.Head.face.Transparency = 1 
3023
	end
3024
end)
3025
3026
cmd.commands.register('shrek', 'cmd%plrs', function(args)
3027
	for i, v in pairs(args[2]) do
3028
		local pchar = v.Character
3029
		for i,v in pairs(pchar:GetChildren()) do
3030
			if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
3031
				v:Destroy()
3032
			end
3033
		end
3034
		for i,v in pairs(pchar.Head:GetChildren()) do
3035
			if v:IsA("Decal") or v:IsA("SpecialMesh") then
3036
				v:Destroy()
3037
			end
3038
		end
3039
		
3040
		local mesh = Instance.new("SpecialMesh", pchar.Head)
3041
		mesh.MeshType = "FileMesh"
3042
		pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
3043
		pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
3044
		pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
3045
		
3046
		local Shirt = Instance.new("Shirt", v.Character)
3047
		local Pants = Instance.new("Pants", v.Character)
3048
		
3049
		Shirt.ShirtTemplate = "rbxassetid://133078194"
3050
		Pants.PantsTemplate = "rbxassetid://133078204"
3051
	end
3052
end)
3053
3054
cmd.commands.register('nograv', 'cmd%plrs', function(args)
3055
	for i, v in pairs(args[2]) do
3056
		for x, m in pairs(v.Character:GetChildren()) do
3057
			if m:IsA("BasePart") then
3058
				local bf = Instance.new("BodyForce", m)
3059
				bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
3060
			end
3061
			if m:IsA("Hat") then
3062
				if m:findFirstChild("Handle") then
3063
					local bf = Instance.new("BodyForce", m.Handle)
3064
					bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
3065
				end
3066
			end
3067
		end
3068
	end
3069
end)
3070
3071
cmd.commands.register('loopheal', 'cmd%plrs', function(args)
3072
	for i, v in pairs(args[2]) do
3073
		coroutine.wrap(function()
3074
			while wait() do
3075
				if v.Character.Humanoid then
3076
					v.Character.Humanoid.Health = 1000
3077
					v.Character.Humanoid.MaxHealth = 1000
3078
				end
3079
			end
3080
		end)()
3081
	end
3082
end)
3083
3084
cmd.commands.register('hulk', 'cmd%plrs', function(args)
3085
	for i, v in pairs(args[2]) do
3086
		cmd.util.hulk(v)
3087
	end
3088
end)
3089
3090
cmd.commands.register('sky', 'cmd%int', function(args)
3091
	local ID = args[2].data
3092
	local sky = Instance.new("Sky", game.Lighting)
3093
	sky.SkyboxBk = "rbxassetid://" .. ID
3094
	sky.SkyboxDn = "rbxassetid://" .. ID
3095
	sky.SkyboxFt = "rbxassetid://" .. ID
3096
	sky.SkyboxLf = "rbxassetid://" .. ID
3097
	sky.SkyboxRt = "rbxassetid://" .. ID
3098
	sky.SkyboxUp = "rbxassetid://" .. ID
3099
end)
3100
3101
cmd.commands.register('bombs', 'cmd%plrs', function(args)
3102
	cmd.util.BombVest(args[2])
3103
end)
3104
3105
cmd.commands.register('control', 'cmd%plrs', function(args)
3106
	-- variable
3107
	local pchar = args[2][1].Character
3108
	local char = cmd.localplayer.Character
3109
	pchar.Humanoid.PlatformStand = true
3110
	local w = Instance.new("Weld", pchar.Torso) 
3111
	w.Part0 = pchar.Torso 
3112
	w.Part1 = pchar.Torso  
3113
	local w2 = Instance.new("Weld", pchar.Head) 
3114
	w2.Part0 = pchar.Head 
3115
	w2.Part1 = pchar.Head  
3116
	local w3 = Instance.new("Weld", pchar:findFirstChild("Right Arm")) 
3117
	w3.Part0 = pchar:findFirstChild("Right Arm")
3118
	w3.Part1 = pchar:findFirstChild("Right Arm") 
3119
	local w4 = Instance.new("Weld", pchar:findFirstChild("Left Arm"))
3120
	w4.Part0 = pchar:findFirstChild("Left Arm")
3121
	w4.Part1 = pchar:findFirstChild("Left Arm") 
3122
	local w5 = Instance.new("Weld", pchar:findFirstChild("Right Leg")) 
3123
	w5.Part0 = pchar:findFirstChild("Right Leg")
3124
	w5.Part1 = pchar:findFirstChild("Right Leg") 
3125
	local w6 = Instance.new("Weld", pchar:findFirstChild("Left Leg")) 
3126
	w6.Part0 = pchar:findFirstChild("Left Leg")
3127
	w6.Part1 = pchar:findFirstChild("Left Leg") 
3128
	char.Head.face:Destroy()
3129
	for i,v in pairs(pchar:GetChildren()) do
3130
		if v:IsA("BasePart") then 
3131
			v.CanCollide = false
3132
		end
3133
	end
3134
	for i,v in pairs(char:GetChildren()) do
3135
		if v:IsA("BasePart") then
3136
			v.Transparency = 1 
3137
		elseif v:IsA("Hat") then
3138
			v:Destroy()
3139
		end
3140
	end
3141
	pchar.Parent = char
3142
	repeat
3143
		pchar.Humanoid.PlatformStand = true
3144
		wait()
3145
	until char.Parent == nil
3146
end)
3147
3148
cmd.commands.register('rtag', 'cmd%inf', function(args)
3149
	local len = 10; local player = cmd.localplayer
3150
	local bb = Instance.new("BillboardGui")
3151
	bb.Parent = player.Character.Head
3152
	bb.Adornee = player.Character.Head
3153
	bb.AlwaysOnTop = true
3154
	bb.Enabled = true
3155
	bb.Size = UDim2.new(len, 0, 1.5, 0)
3156
	bb.Name = "tag"
3157
	bb.StudsOffset = Vector3.new(0, 3, 0)
3158
	--local fr = Instance.new("Frame")
3159
	--fr.Parent = bb
3160
	--fr.Size = UDim2.new(1, 0, 1, 0)
3161
	--fr.Style = Enum.FrameStyle.RobloxRound
3162
	local tl = Instance.new("TextLabel")
3163
	tl.Parent = bb
3164
	tl.BackgroundTransparency = 1
3165
	tl.TextScaled = true
3166
	tl.TextColor3 = Color3.new(255/255, 255/255, 255/255)
3167
	tl.Size = UDim2.new(1, 0, 1, 0)
3168
	tl.Text = args[2]
3169
	tl.Name = "trutag"
3170
	tl.Visible = true
3171
	tl.ZIndex = 2
3172
	coroutine.wrap(function()
3173
		local r, g, b = 255, 0, 0
3174
		repeat
3175
			tl.TextColor3 = Color3.new(r/255, g/255, b/255)
3176
			local bo = cmd.util.nextrgb(r, g, b)
3177
			r = bo[1]; g = bo[2]; b = bo[3];
3178
			wait()
3179
		until bb == nil
3180
	end)()
3181
end)
3182
3183
cmd.commands.register('smoke', 'cmd%plrs', function(args)
3184
	for i, v in pairs(args[2]) do
3185
		Instance.new('Smoke', v.Character.Torso)
3186
	end
3187
end)
3188
3189
cmd.commands.register('btools', 'cmd%plrs', function(args)
3190
	for i, p in pairs(args[2]) do
3191
		local a = Instance.new("HopperBin")
3192
		a.BinType = "GameTool"
3193
		a.Parent = p.Backpack
3194
		local a = Instance.new("HopperBin")
3195
		a.BinType = "Clone"
3196
		a.Parent = p.Backpack
3197
		local a = Instance.new("HopperBin")
3198
		a.BinType = "Hammer"
3199
		a.Parent = p.Backpack
3200
	end
3201
end)
3202
3203
con = nil;
3204
cmd.commands.register('noclip', 'cmd', function(args)
3205
	cmd.noclip = false
3206
	con = game:GetService('RunService').Stepped:connect(function()
3207
		if cmd.noclip == true then
3208
			con:disconnect()
3209
		else
3210
			cmd.localplayer.Character.Torso.CanCollide = false
3211
			cmd.localplayer.Character.Head.CanCollide = false
3212
		end
3213
	end)
3214
end)
3215
3216
cmd.commands.register('clip', 'cmd', function(args)
3217
	cmd.noclip = true
3218
end)
3219
3220
cmd.commands.register('gear', 'cmd%plrs%int', function(args)
3221
	local gear = game:GetService("InsertService"):LoadAsset(args[3].data):GetChildren()[1]
3222
	if not gear then return end
3223
	for i, v in pairs(args[2]) do
3224
		gear:Clone().Parent = v.Backpack
3225
	end
3226
end)
3227
3228
cmd.commands.register('kick', 'cmd%plrs', function(args)
3229
	for i, v in pairs(args[2]) do
3230
		v.Parent = nil
3231
	end
3232
end)
3233
3234
cmd.commands.register('r15', 'cmd', function(args)
3235
	cmd.util.R15()
3236
end)
3237
3238
cmd.commands.register('char', 'cmd%plrs%str', function(args)
3239
	if tonumber(args[3].data) ~= nil then
3240
		args[3].data = tonumber(args[3].data)
3241
	else
3242
		args[3].data = cmd.players:GetUserIdFromNameAsync(args[3].data)
3243
	end
3244
	for i, v in pairs(args[2]) do
3245
		v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=' .. args[3].data
3246
		pcall(function() v.Character.Humanoid.Health = 0 end)
3247
	end
3248
end)
3249
3250
cmd.commands.register('noob', 'cmd%plrs', function(args)
3251
	for i, v in pairs(args[2]) do
3252
		v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=4'
3253
		pcall(function() v.Character.Humanoid.Health = 0 end)
3254
	end
3255
end)
3256
3257
cmd.commands.register('ff', 'cmd%plrs', function(args)
3258
	for i, v in pairs(args[2]) do
3259
		Instance.new("ForceField", v.Character)
3260
	end
3261
end)
3262
3263
cmd.commands.register('unff', 'cmd%plrs', function(args)
3264
	for i, v in pairs(args[2]) do
3265
		for x, m in pairs(v.Character:GetChildren()) do
3266
			if m:IsA("ForceField") then
3267
				m.Parent = nil
3268
			end
3269
		end
3270
	end
3271
end)
3272
3273
cmd.commands.register('guest', 'cmd%plrs', function(args)
3274
	for i, v in pairs(args[2]) do
3275
		v.CharacterAppearance = 'http://www.roblox.com/asset/CharacterFetch.ashx?userId=1'
3276
		pcall(function() v.Character.Humanoid.Health = 0 end)
3277
	end
3278
end)
3279
3280
cmd.commands.register('giraffe', 'cmd%plrs', function(args)
3281
	for i, v in pairs(args[2]) do
3282
		local char=v.Character
3283
		local h=char.Head
3284
		local tor=char.Torso
3285
		tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
3286
		local fn=Instance.new("Part",char)
3287
		fn.Size=Vector3.new(1,5.5,1)
3288
		fn.Name="FakeNeck"
3289
		fn.Anchored=false
3290
		fn.CanCollide=false
3291
		if char:FindFirstChild("Body Colors") then
3292
			fn.BrickColor=char["Body Colors"].HeadColor
3293
		end
3294
		local cm=Instance.new("CylinderMesh",fn)
3295
		local we=Instance.new("Weld",h)
3296
		we.Part0=h
3297
		we.Part1=fn
3298
		we.C1=we.C1*CFrame.new(0,2.6,0)
3299
	end
3300
end)
3301
3302
cmd.commands.register('notools', 'cmd%plrs', function(args)
3303
	for i, v in pairs(args[2]) do
3304
		for x, m in pairs(v.Backpack:GetChildren()) do
3305
			m.Parent = nil
3306
		end
3307
	end
3308
end)
3309
3310
cmd.commands.register('taketools', 'cmd%plrs', function(args)
3311
	for i, v in pairs(args[2]) do
3312
		for x, m in pairs(v.Backpack:GetChildren()) do
3313
			m.Parent = cmd.localplayer.Backpack
3314
		end
3315
	end
3316
end)
3317
3318
cmd.commands.register('confuse', 'cmd%plrs', function(args)
3319
	for i, v in pairs(args[2]) do
3320
		v.Character.Humanoid.WalkSpeed = -16
3321
	end
3322
end)
3323
3324
cmd.commands.register('spin', 'cmd%plrs', function(args)
3325
	for i, v in pairs(args[2]) do
3326
	    for i,v in pairs(v.Character.Torso:GetChildren()) do
3327
		    if v.Name == "Spinning" then
3328
			    v:Destroy()
3329
		    end
3330
	    end
3331
	    local Torso = v.Character.Torso
3332
	    local BG = Instance.new("BodyGyro", Torso)
3333
	    BG.Name = "Spinning"
3334
	    BG.maxTorque = Vector3.new(0, math.huge, 0)
3335
	    BG.P = 11111
3336
	    BG.cframe = Torso.CFrame
3337
	    repeat wait(1/44)
3338
		    BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
3339
	    until not BG or BG.Parent ~= Torso
3340
	end
3341
end)
3342
3343
cmd.commands.register('fling', 'cmd%plrs', function(args)
3344
	for i, v in pairs(args[2]) do
3345
		local pchar = v.Character
3346
		if pchar:FindFirstChild("Humanoid") then
3347
			local xran
3348
			local zran
3349
			repeat
3350
				xran = math.random(-9999,9999)
3351
			until math.abs(xran) >= 5555
3352
			repeat
3353
				zran = math.random(-9999,9999)
3354
			until math.abs(zran) >= 5555
3355
			pchar.Humanoid.Sit = true
3356
			pchar.Torso.Velocity = Vector3.new(0,0,0)
3357
			local BF = Instance.new("BodyForce", pchar.Torso)
3358
			BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
3359
		end
3360
	end
3361
end)
3362
3363
cmd.commands.register('burn', 'cmd%plrs', function(args)
3364
	for i, v in pairs(args[2]) do
3365
		spawn(function()
3366
			wait(0.1)
3367
			local fire=Instance.new("Fire", v.Character.Torso)
3368
			wait(0.1)
3369
			local fire=Instance.new("Fire", v.Character.Head)
3370
			wait(0.1)
3371
			local fire=Instance.new("Fire", v.Character["Left Arm"])
3372
			wait(0.1)
3373
			local fire=Instance.new("Fire", v.Character["Right Leg"])
3374
			wait(0.5)
3375
			v.Character:BreakJoints();
3376
		end)
3377
	end
3378
end)
3379
3380
cmd.commands.register('printcmds', 'cmd', function(args)
3381
	for i, v in pairs(cmd.commands.store) do
3382
		print(i, '==', v)
3383
	end
3384
end)
3385
3386
cmd.commands.register('gun', 'cmd%plrs', function(args)
3387
	local a = game:GetService("InsertService"):LoadAsset(130113146):GetChildren()[1]
3388
	local b = game:GetService("InsertService"):LoadAsset(67747912):GetChildren()[1]
3389
	local c = game:GetService("InsertService"):LoadAsset(95354288):GetChildren()[1]
3390
	for i, v in pairs(args[2]) do
3391
		a:Clone().Parent = v.Backpack
3392
		b:Clone().Parent = v.Backpack
3393
		c:Clone().Parent = v.Backpack
3394
	end
3395
end)
3396
3397
3398
cmd.commands.register('goto', 'cmd%plrs', function(args)
3399
	local target = args[2][1]
3400
	cmd.localplayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
3401
end)
3402
3403
cmd.commands.register('select', 'cmd%plrs', function(args)
3404
	for i, v in pairs(args[2]) do
3405
		Instance.new("SelectionBox", v.Character).Adornee = v.Character
3406
	end
3407
end)
3408
3409
cmd.commands.register('sphere', 'cmd%plrs', function(args)
3410
	for i, v in pairs(args[2]) do
3411
		Instance.new("SelectionSphere", v.Character).Adornee = v.Character
3412
	end
3413
end)
3414
3415
cmd.commands.register('bring', 'cmd%plrs', function(args)
3416
	for i, v in pairs(args[2]) do
3417
		v.Character.HumanoidRootPart.CFrame = cmd.localplayer.Character.HumanoidRootPart.CFrame 
3418
	end
3419
end)
3420
3421
cmd.commands.register('knife', 'cmd%plrs', function(args)
3422
	local knife = game:GetService("InsertService"):LoadAsset(170897263):GetChildren()[1]
3423
	for i, v in pairs(args[2]) do
3424
		knife:Clone().Parent = v
3425
	end
3426
end)
3427
3428
cmd.commands.register('shades', 'cmd%plrs', function(args)
3429
	local shades = game:GetService('InsertService'):LoadAsset(11748356):GetChildren()[1]
3430
	for i, v in pairs(args[2]) do
3431
		shades:Clone().Parent = v.Character
3432
	end
3433
end)
3434
3435
cmd.commands.register('alien', 'cmd%plrs', function(args)
3436
	-- variable
3437
	for i, v in pairs(args[2]) do
3438
		local pchar = v.Character
3439
	    if pchar:FindFirstChild('Shirt') then
3440
		    pchar.Shirt:Destroy()
3441
	    end
3442
	    if pchar:FindFirstChild('Pants') then
3443
		    pchar.Pants:Destroy()
3444
	    end
3445
	    if pchar:FindFirstChild('Shirt Graphic') then
3446
		    pchar['Shirt Graphic'].Graphic = ''
3447
	    end
3448
	    for i,v in pairs(pchar:GetChildren()) do
3449
		    if v:IsA('Hat') then
3450
			    v:Destroy()
3451
		    end
3452
	    end
3453
	    local ayy2 = game:GetObjects("rbxassetid://397033642")[1]
3454
	    ayy2.Parent = pchar
3455
	    local BC = pchar['Body Colors']
3456
	    BC.HeadColor = BrickColor.new('Fossil')
3457
	    BC.LeftArmColor = BrickColor.new('Fossil')
3458
	    BC.LeftLegColor = BrickColor.new('Fossil')
3459
	    BC.RightArmColor = BrickColor.new('Fossil')
3460
	    BC.RightLegColor = BrickColor.new('Fossil')
3461
	    BC.TorsoColor = BrickColor.new('Fossil')
3462
	end
3463
end)
3464
3465
cmd.commands.register('team', 'cmd%plrs%str', function(args)
3466
	for i, v in pairs(args[2]) do
3467
		for x, m in pairs(game:GetService('Teams'):GetTeams()) do
3468
			if (m.Name):lower():sub(1, #args[3].data) == (args[3].data):lower() then
3469
				v.TeamColor = m.TeamColor				
3470
			end		
3471
		end
3472
	end
3473
end)
3474
3475
cmd.commands.register('particles', 'cmd%plrs%int', function(args)
3476
	for i, v in pairs(args[2]) do
3477
		Instance.new("ParticleEmitter", v.Character).Texture = args[3].data
3478
	end
3479
end)
3480
3481
cmd.commands.register('ghost', 'cmd%plrs', function(args)
3482
	for i, v in pairs(args[2]) do
3483
		local pchar = v.Character
3484
        pchar.Head.Transparency = 0.5
3485
        pchar.Torso.Transparency = 0.5
3486
        pchar["Left Arm"].Transparency = 0.5
3487
        pchar["Right Arm"].Transparency = 0.5
3488
        pchar["Left Leg"].Transparency = 0.5
3489
        pchar["Right Leg"].Transparency = 0.5
3490
        pchar.Head.face.Transparency = 0.5
3491
	end
3492
end)
3493
3494
cmd.commands.register('firstperson', 'cmd%plrs', function(args)
3495
	for i, v in pairs(args[2]) do
3496
		v.CameraMode = Enum.CameraMode.LockFirstPerson
3497
	end
3498
end)
3499
3500
cmd.commands.register('creeper', 'cmd%plrs', function(args)
3501
	for i, v in pairs(args[2]) do
3502
		local pchar = v.Character
3503
		if pchar then
3504
			if pchar:FindFirstChild("Shirt") then
3505
		            pchar.Shirt.Parent = pchar.Torso
3506
	            end
3507
	            if pchar:FindFirstChild("Pants") then
3508
		            pchar.Pants.Parent = pchar.Torso
3509
	            end
3510
	            if pchar:FindFirstChild("Shirt Graphic") then
3511
		            pchar["Shirt Graphic"].Graphic = ""
3512
	            end
3513
	            for i,v in pairs(pchar:GetChildren()) do
3514
		            if v:IsA("Hat") then
3515
			            v:Destroy()
3516
		            end
3517
	            end
3518
	            pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
3519
	            pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
3520
	            pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
3521
	            pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
3522
	            pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
3523
	            pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
3524
	            pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
3525
	            pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
3526
	            pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
3527
	            pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
3528
	            pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
3529
			end
3530
	end
3531
end)
3532
3533
cmd.commands.register('insert', 'cmd%int', function(args)
3534
	local m = cmd.service('InsertService'):LoadAsset(args[2].data)
3535
	m.Parent = game.Workspace
3536
	m:MoveTo(cmd.localplayer.Character.Torso.Position)
3537
	m:MakeJoints()
3538
end)
3539
3540
cmd.commands.register('nolimbs', 'cmd%plrs', function(args)
3541
	for i, v in pairs(game.Players:GetPlayers()) do
3542
		v.Character['Right Leg'].Parent = nil
3543
		v.Character['Left Leg'].Parent = nil
3544
		v.Character['Right Arm'].Parent = nil
3545
		v.Character['Left Arm'].Parent = nil
3546
	end
3547
end)
3548
3549
cmd.commands.register('recurseremove', 'cmd%str', function(args)
3550
	local function a(o)
3551
		for i,v in pairs(o:GetChildren()) do
3552
			if v:IsA(args[2].data) then
3553
				v.Parent=nil
3554
			end
3555
			a(v)
3556
		end
3557
	end
3558
	a(game.Workspace)
3559
end)
3560
3561
cmd.commands.register('name', 'cmd%plrs%inf', function(args)
3562
	for i, v in pairs(args[2]) do
3563
		local tchar = v.Character
3564
		for x, m in pairs(tchar:GetChildren()) do
3565
			if m:FindFirstChild('nm') then
3566
				m.Parent = nil
3567
			end
3568
		end
3569
		tchar.Name = ''
3570
		local ntag = Instance.new("Model", tchar)
3571
		ntag.Name = args[3]
3572
		local nhead = tchar.Head:Clone()
3573
		nhead.Parent = ntag
3574
		local nhum = Instance.new("Humanoid", ntag)
3575
		nhum.MaxHealth = 0
3576
		nhum.Health = 0
3577
		nhum.Name = 'nm'
3578
		local nweld = Instance.new("Weld", nhead)
3579
		nweld.Part0 = nhead
3580
		nweld.Part1 = tchar.Head
3581
	end
3582
end)
3583
3584
cmd.commands.register('track', 'cmd%plrs%inf', function(args)
3585
	for i, v in pairs(args[2]) do
3586
		local tchar = v.Character
3587
		for x, m in pairs(tchar:GetChildren()) do
3588
			if m:FindFirstChild('nm') then
3589
				m.Parent = nil
3590
			end
3591
		end
3592
		tchar.Name = ''
3593
		local ntag = Instance.new("Model", workspace.CurrentCamera)
3594
		ntag.Name = v.Name
3595
		local nhead = tchar.Head:Clone()
3596
		nhead.Parent = ntag
3597
		local nhum = Instance.new("Humanoid", ntag)
3598
		nhum.MaxHealth = 0
3599
		nhum.Health = 0
3600
		nhum.Name = 'nm'
3601
		local nweld = Instance.new("Weld", nhead)
3602
		nweld.Part0 = nhead
3603
		nweld.Part1 = tchar.Head
3604
	end
3605
end)
3606
3607
cmd.commands.register('rname', 'cmd%plrs', function(args)
3608
	local player = cmd.localplayer
3609
	player.Neutral = false
3610
	repeat
3611
		wait()
3612
		player.TeamColor = BrickColor.Random()
3613
	until not player.Character.Humanoid
3614
end)
3615
3616
cmd.commands.register('fogend', 'cmd%int', function(args)
3617
	game.Lighting.FogEnd = args[2].data
3618
end)
3619
3620
cmd.commands.register('fogstart', 'cmd%int', function(args)
3621
	game.Lighting.FogStart = args[2].data
3622
end)
3623
3624
cmd.commands.register('time', 'cmd%int', function(args)
3625
	game.Lighting:SetMinutesAfterMidnight(60 * args[2].data)
3626
end)
3627
3628
cmd.commands.register('ambient', 'cmd%int%int%int', function(args)
3629
	game.Lighting.Ambient = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
3630
end)
3631
3632
cmd.commands.register('fogcolor', 'cmd%int%int%int', function(args)
3633
	game.Lighting.FogColor = Color3.new(args[2].data/255, args[3].data/255, args[4].data/255)
3634
end)
3635
3636
cmd.commands.register('sword', 'cmd%plrs', function(args)
3637
	local sword = game:GetService('InsertService'):LoadAsset(125013769):GetChildren()[1]
3638
	for i, v in pairs(args[2]) do
3639
		sword:Clone().Parent = v.Backpack
3640
	end
3641
end)
3642
3643
cmd.commands.register('paranoid', 'cmd%plrs', function(args)
3644
	for i, v in pairs(cmd.localplayer.Character:GetChildren()) do
3645
		if v:IsA("BasePart") then
3646
			v.Anchored = true
3647
		end
3648
	end
3649
end)
3650
3651
cmd.commands.register('size', 'cmd%plrs%int', function(args)
3652
	for i, v in pairs(args[2]) do
3653
		cmd.util.size(v, args[3].data)
3654
	end
3655
end)
3656
3657
cmd.commands.register('unlockws', 'cmd%plrs', function(args)
3658
	local function dloop(o)
3659
		for i, v in pairs(o:GetChildren()) do
3660
			if v:IsA("BasePart") then
3661
				v.Anchored = false
3662
			end
3663
			if v:IsA("Model") then
3664
				v:BreakJoints()
3665
			end
3666
			dloop(v)
3667
		end
3668
	end
3669
	dloop(game.Workspace)
3670
end)
3671
3672
cmd.commands.register('change', 'cmd%plrs%str%inf', function(args)
3673
	for i, v in pairs(args[2]) do
3674
		if v:FindFirstChild("leaderstats") then
3675
			if v.leaderstats:FindFirstChild(args[3].data) then
3676
				if v.leaderstats[args[3].data]:IsA("StringValue") then
3677
					v.leaderstats[args[3].data].Value = args[4]
3678
				end
3679
				if v.leaderstats[args[3].data]:IsA("NumberValue") or v.leaderstats[args[3].data]:IsA("IntValue") then
3680
					print(args[4])
3681
					if tonumber(args[4]) ~= nil then
3682
						v.leaderstats[args[3].data].Value = tonumber(args[4])
3683
					end
3684
				end
3685
			end
3686
		end
3687
	end
3688
end)
3689
3690
---------------------------
3691
3692
-- ** init ** --
3693
3694
local count = 0
3695
for _, _ in pairs(cmd.commands.store) do count = count + 1 end
3696
3697
warn("loaded nosyliam's cmdscript [a]")
3698
warn(tostring(count).." commands")
3699
3700
	DistributedCmdBar.FocusLost:connect(function(e)
3701
		if e == true then
3702
			cmd.commands.run(DistributedCmdBar.Text)
3703
			DistributedCmdBar.Text = ''
3704
		end
3705
	end)
3706
	
3707
	--PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
3708
	--	if cmd.util.isadmin(plr.Name) then
3709
	--		if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
3710
		--		cmd.commands.run(msg:sub(2, #msg))
3711
	--		end
3712
	--	end
3713
--	end)
3714
end
3715
topkek.navigation.buildHomePage = function()
3716
	local count = 0
3717
	for _, _ in pairs(cmd.commands.store) do count = count + 1 end
3718
	local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
3719
	hook:drawText(1, 'T0PK3K 4.0 ex-7 edition by TheMichalos')
3720
	hook:drawText(1, 'Patch version 1.0.5')
3721
	hook:drawText(1, 'Commandbase patch version 1.0.0')
3722
	hook:drawText(1, 'Number of commands: ' .. tostring(count))
3723
	local stime = hook:drawText(1, 'Server Time: 0')
3724
	spawn(function()
3725
		while true do
3726
			stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
3727
			wait(0.5)
3728
		end
3729
	end)
3730
	local ssz = hook:drawText(1, 'Server Size: 0')
3731
	spawn(function()
3732
		while true do
3733
			ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
3734
			wait(0.5)
3735
		end
3736
	end)
3737
	local fe = game:GetService('Workspace').FilteringEnabled
3738
	hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
3739
	hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
3740
	hook:drawText(1, 'same', 55)
3741
end
3742
topkek.navigation.buildContainers = function()
3743
	for _, v in pairs(topkek.data.windows) do
3744
		topkek.tools.gui:makeContainer(v)
3745
	end
3746
end
3747
3748
topkek.navigation.initCommandBar()
3749
topkek.navigation.buildContainers()
3750
topkek.navigation.buildTopbar()
3751
topkek.navigation.buildHomePage()
3752
wait()
3753
3754
3755
--// actual code below lole //--
3756
3757
--// PLAYERS //--
3758
local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
3759
local search = plrwin:drawButton(1, '', function()end)
3760
drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
3761
function fixPlayerDrop()
3762
	local t = {'All'}
3763
	for i, v in pairs(game.Players:GetPlayers()) do
3764
		table.insert(t, v.Name)
3765
	end
3766
	drop.SetTable(t)
3767
end
3768
game.Players.PlayerAdded:connect(function()
3769
	fixPlayerDrop()
3770
end)
3771
game.Players.PlayerRemoving:connect(function()
3772
	fixPlayerDrop()
3773
end)
3774
plrFrame = plrwin:drawContainer(1, 100)
3775
headshotContainer = plrFrame:drawContainer(0.4, 94, true)
3776
headshotContainer:setDrawY(20)
3777
headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
3778
headshotContainer:setDrawY(0)
3779
userNameText = headshotContainer:drawText(1, "[All]")
3780
userNameText.ClipsDescendants = true
3781
userNameText.Font = Enum.Font.SourceSansBold
3782
infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
3783
infoContainer.BackgroundColor3 = color3(108, 38, 38)
3784
userIdText = infoContainer:drawText(1, "ID: 0")
3785
userAgeText = infoContainer:drawText(1, "Age: 0")
3786
userTeamText = infoContainer:drawText(1, "Team: Neutral")
3787
cval = 'All'
3788
fixPlayerDrop()
3789
3790
function updatePlayer(plri)
3791
	local plr = game:GetService('Players'):FindFirstChild(plri)
3792
	if not plr and plri ~= 'All' then
3793
		print("Couldn't find player!")
3794
		updatePlayer(topkek.lplr)
3795
	else
3796
		headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
3797
		userNameText.Text = "[All]"
3798
		userIdText.Text = 'ID: [multiple]'
3799
		userAgeText.Text = 'Age: [multiple]'
3800
		userTeamText.Text = 'Team: [multiple]'
3801
		cval = 'All'
3802
	end
3803
	local team = plr.TeamColor
3804
	if team == nil then
3805
		team = 'Neutral'
3806
	else
3807
		team = tostring(team)
3808
	end
3809
	headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
3810
	userNameText.Text = plr.Name
3811
	userIdText.Text = 'ID: ' .. tostring(plr.UserId)
3812
	userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
3813
	userTeamText.Text = 'Team: ' .. team
3814
	cval = plr.Name
3815
	
3816
end
3817
drop.Changed(updatePlayer)
3818
--actual code ------__-
3819
plrwin:addSpacing()
3820
plrwin:drawButton(1/2, 'Kick', function()
3821
	tk.dp(cval, function(p)
3822
		topkek.banmgr.executeKick(p)
3823
	end)
3824
end)
3825
3826
plrwin:drawButton(1/2, 'Ban', function()
3827
	tk.dp(cval, function(p)
3828
		topkek.banmgr.addSoftBan(p)
3829
	end)
3830
end)
3831
plrwin:drawButton(1/2,'Friendlag', function()
3832
	tk.dp(cval, function(p)
3833
		for i = 1, 10 do
3834
			spawn(function()
3835
				while wait() do
3836
		    		game.Players.LocalPlayer:RequestFriendship(p)
3837
		  	  		game.Players.LocalPlayer:RevokeFriendship(p)
3838
				end
3839
			end)
3840
		end
3841
	end)
3842
end)
3843
plrwin:drawButton(1/2, 'Hardban', function()
3844
	tk.dp(cval, function(p)
3845
		topkek.banmgr.addHardBan(p)
3846
	end)
3847
end)
3848
plrwin:addSpacing()
3849
plrwin:drawButton(1/2, 'Bring', function()
3850
	tk.dp(cval, function(z)
3851
		if z.Character then
3852
			z.Character.HumanoidRootPart.CFrame =
3853
				game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
3854
		end
3855
	end)
3856
end)
3857
plrwin:drawButton(1/2, 'Goto', function()
3858
	tk.dp(cval, function(z)
3859
		game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
3860
			z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
3861
	end)
3862
end)
3863
plrwin:addSpacing()
3864
plrwin:drawButton(1/3, 'Kill', function()
3865
	tk.dp(cval, function(p)
3866
		if p.Character and p.Character:FindFirstChild("Humanoid") then
3867
			p.Character.Humanoid.Health = 0
3868
		end
3869
	end)
3870
end)
3871
plrwin:drawButton(1/3, 'Seizure', function()
3872
	tk.dp(cval, function(p)
3873
		if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
3874
			spawn(function()
3875
				p.Character.Humanoid.PlatformStand = true
3876
				tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0) 
3877
				repeat 
3878
					wait()
3879
					p.Character.Humanoid.PlatformStand = true
3880
					tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) 
3881
					tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) 
3882
				until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
3883
			end)
3884
		end
3885
	end)
3886
end)
3887
plrwin:drawButton(1/3, 'Stun', function()
3888
	tk.dp(cval, function(p)
3889
		if p.Character and p.Character:FindFirstChild("Humanoid") then
3890
			p.Character.Humanoid.PlatformStand = true
3891
			p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0) 
3892
		end
3893
	end)
3894
end)
3895
plrwin:drawButton(1/3, 'Freeze', function()
3896
	tk.dp(cval, function(p)
3897
		if p.Character then
3898
			tk.gt(p).Anchored = true
3899
		end
3900
	end)
3901
end)
3902
plrwin:drawButton(1/3, 'Thaw', function()
3903
	tk.dp(cval, function(p)
3904
		if p.Character then
3905
			tk.gt(p).Anchored = false
3906
		end
3907
	end)
3908
end)
3909
plrwin:drawButton(1/3, 'Superslow', function()
3910
	tk.dp(cval, function(p)
3911
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3912
			p.Character.Humanoid.WalkSpeed = 1
3913
		end
3914
	end)
3915
end)
3916
plrwin:drawButton(1/3, 'Highjump', function()
3917
	tk.dp(cval, function(p)
3918
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3919
			p.Character.Humanoid.JumpPower = 125
3920
		end
3921
	end)
3922
end)
3923
plrwin:drawButton(1/3, 'God', function()
3924
	tk.dp(cval, function(p)
3925
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3926
			p.Character.Humanoid.MaxHealth = math.huge
3927
			p.Character.Humanoid.Health = math.huge
3928
		end
3929
	end)
3930
end)
3931
plrwin:drawButton(1/3, 'Semigod', function()
3932
	tk.dp(cval, function(p)
3933
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3934
			p.Character.Humanoid.MaxHealth = 9e9
3935
			p.Character.Humanoid.Health = 9e9
3936
		end
3937
	end)
3938
end)
3939
plrwin:drawButton(1/3, 'Fast', function()
3940
	tk.dp(cval, function(p)
3941
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3942
			p.Character.Humanoid.WalkSpeed = 50
3943
		end
3944
	end)
3945
end)
3946
Follow = false;
3947
plrwin:drawButton(1/3, 'Annoy', function()
3948
	tk.dp(cval, function(p)
3949
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3950
			if Follow == true then
3951
				Follow = false; return
3952
			else Follow = true end
3953
			while Follow == true do
3954
				game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
3955
					p.Character.HumanoidRootPart.CFrame
3956
				wait()
3957
			end
3958
		end
3959
	end)
3960
end)
3961
plrwin:drawButton(1/3, 'Freefall', function()
3962
	tk.dp(cval, function(p)
3963
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3964
			p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)		
3965
		end
3966
	end)
3967
end)
3968
plrwin:drawButton(1/3, 'Destroy', function()
3969
	tk.dp(cval, function(p)
3970
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3971
			p.Character.Humanoid:Destroy()
3972
		end
3973
	end)
3974
end)
3975
plrwin:drawButton(1/3, 'Fix', function()
3976
	tk.dp(cval, function(p)
3977
		if p.Character and p.Character:FindFirstChild('Humanoid') then
3978
			p.Character.Humanoid.Health = 100
3979
			p.Character.Humanoid.MaxHealth = 100
3980
			p.Character.Humanoid.JumpPower = 100
3981
			p.Character.Humanoid.WalkSpeed = 16
3982
			p.Character.Humanoid.PlatformStand = false
3983
			p.Character.Humanoid.Jump = true
3984
		end
3985
	end)
3986
end)
3987
plrwin:drawButton(1/3, 'Respawn', function()
3988
	tk.dp(cval, function(p)
3989
		if p.Character then
3990
			local a1 = Instance.new("Model", game:service'Workspace')
3991
			local a2 = Instance.new("Part", game:service'Workspace')
3992
			a2.CanCollide = true
3993
			a2.Anchored = true
3994
			a2.CFrame = CFrame.new(10000, 10000, 10000)
3995
			a2.Name = "Torso"
3996
			local a3 = Instance.new("Humanoid", a1)
3997
			a3.MaxHealth=100;a3.Health=100
3998
			p.Character = a1
3999
			a3.Health=0
4000
		end
4001
	end)
4002
end)
4003
plrwin:addSpacing()
4004
local nameInp
4005
plrwin:drawButton(1/3, 'Name', function()
4006
	tk.dp(cval, function(z)
4007
		local Character = z.Character
4008
		local newName = Instance.new("Model", z.Character)
4009
		newName.Name = nameInp.Text
4010
		local cl = Character:WaitForChild("Head"):Clone()
4011
		cl.Parent = newName
4012
		cl:WaitForChild("face"):Destroy()
4013
		local hum = Instance.new("Humanoid", newName)
4014
		hum.Name = "NameTag"
4015
		hum.MaxHealth = 0
4016
		hum.Health = 0
4017
		local weld = Instance.new("Weld", cl)
4018
		weld.Part0 = cl
4019
		weld.Part1 = Character:WaitForChild("Head")
4020
		Character:WaitForChild("Head").Transparency = 1
4021
		wait(.5)
4022
		cl.BrickColor = Character:WaitForChild("Head").BrickColor
4023
	end)
4024
end)
4025
nameInp = plrwin:drawTextBox(2/3, '')
4026
local chatInp
4027
plrwin:drawButton(1/3, 'Chat', function()
4028
	tk.dp(cval, function(z)
4029
		game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
4030
	end)
4031
end)
4032
chatInp = plrwin:drawTextBox(2/3, '')
4033
local disgInp
4034
plrwin:drawButton(1/3, 'Disguise', function()
4035
	tk.dp(cval, function(p)
4036
		local id = 0
4037
		if tonumber(disgInp.Text) then
4038
			id = tonumber(disgInp.Text)
4039
		else
4040
			id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
4041
		end
4042
		if p.Character:FindFirstChild("Humanoid") then
4043
			p.Character.Humanoid.Health = 0
4044
		end
4045
		p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
4046
	end)
4047
end)
4048
disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
4049
plrwin:addSpacing()
4050
clrR = plrwin:drawTextBox(1/3, '0')
4051
clrG = plrwin:drawTextBox(1/3, '0')
4052
clrB = plrwin:drawTextBox(1/3, '0')
4053
function getColor()
4054
	local r = tonumber(clrR.Text)
4055
	local g = tonumber(clrG.Text)
4056
	local b = tonumber(clrB.Text)
4057
	if not (r and g and b) then return Color3.new(0,0,0) end
4058
	return Color3.new(r/255, g/255, b/255)
4059
end
4060
plrwin:drawButton(1/3, 'Sparkles', function()
4061
	tk.dp(cval, function(z)
4062
		Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
4063
	end)
4064
end)
4065
plrwin:drawButton(1/3, 'Smoke', function()
4066
	tk.dp(cval, function(z)
4067
		Instance.new("Smoke", tk.gt(z)).Color = getColor()
4068
4069
	end)
4070
end)
4071
plrwin:drawButton(1/3, 'Fire', function()
4072
	tk.dp(cval, function(z)
4073
		local fr = Instance.new("Fire", tk.gt(z))
4074
		fr.Color = getColor()
4075
		fr.Heat = 30
4076
		fr.Size = 20
4077
	end)
4078
end)
4079
plrwin:drawButton(1/3, 'Forcefield', function()
4080
	tk.dp(cval, function(z)
4081
		if z.Character then
4082
			Instance.new("ForceField", z.Character)
4083
		end
4084
	end)
4085
end)
4086
plrwin:drawButton(1/3, 'Select', function()
4087
	tk.dp(cval, function(z)
4088
		if z.Character and tk.gt(z) then
4089
			Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
4090
		end
4091
	end)
4092
end)
4093
plrwin:drawButton(1/3, 'Sphere', function()
4094
	tk.dp(cval, function(z)
4095
		if z.Character and tk.gt(z) then
4096
			Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
4097
		end
4098
	end)
4099
end)
4100
plrwin:drawButton(1/3, 'Fling', function()
4101
	tk.dp(cval, function(z)
4102
		spawn(function() --kohls admin commands lol
4103
			if z.Character and tk.gt(z) then 
4104
				local xran, zran
4105
				repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
4106
				repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
4107
				z.Character.Humanoid.Sit = true 
4108
				tk.gt(z).Velocity = Vector3.new(0,0,0)
4109
				local frc = Instance.new("BodyForce", tk.gt(z))
4110
				frc.Name = "BFRC" 
4111
				frc.force = Vector3.new(xran*4,9999*5,zran*4) 
4112
				game:GetService("Debris"):AddItem(frc, 0.1)
4113
			end
4114
		end)
4115
	end)
4116
end)
4117
plrwin:drawButton(1/3, 'Explode', function()
4118
	tk.dp(cval, function(z)
4119
		if z.Character and tk.gt(z) then
4120
			local explosion = Instance.new("Explosion")
4121
			explosion.Position = tk.gt(z).Position
4122
			explosion.Parent = workspace
4123
		end
4124
	end)
4125
end)
4126
plrwin:drawButton(1/3, 'Nuke', function()
4127
	tk.dp(cval, function(z)
4128
		if z.Character and tk.gt(z) then
4129
			local torso = tk.gt(z)
4130
			local nuke = Instance.new("Part", game.Workspace)
4131
			local opos = torso.CFrame
4132
			nuke.BrickColor = BrickColor.new("Bright yellow")
4133
			nuke.TopSurface = Enum.SurfaceType.Smooth
4134
			nuke.BottomSurface = Enum.SurfaceType.Smooth
4135
			nuke.Anchored = true
4136
			nuke.CanCollide = false
4137
			nuke.Shape = "Ball"				
4138
			nuke.Transparency = 0.5
4139
			nuke.CFrame = torso.CFrame		
4140
			nuke.Size = Vector3.new(1, 1, 1)
4141
			nuke.Touched:connect(function(p)
4142
				local expl = Instance.new("Explosion", p)
4143
				expl.BlastPressure = 50000
4144
				expl.BlastRadius = 50
4145
				expl.Position = p.Position
4146
				p.Material = Enum.Material.CorrodedMetal
4147
				p:BreakJoints()
4148
			end)
4149
			for i = 1, 150 do
4150
				nuke.Size = Vector3.new(i, i, i)
4151
				nuke.CFrame = opos
4152
				wait(0.08)
4153
			end
4154
			nuke:Destroy()
4155
		end
4156
	end)
4157
end)
4158
plrwin:drawButton(1/3, 'No Tools', function()
4159
	tk.dp(cval, function(p)
4160
		for _, t in pairs(p.Backpack:GetChildren()) do
4161
			t:Destroy()
4162
		end
4163
	end)
4164
end)
4165
plrwin:drawButton(1/3, 'Take Tools', function()
4166
	tk.dp(cval, function(p)
4167
		for _, t in pairs(p.Backpack:GetChildren()) do
4168
			t.Parent = game:service'Players'.LocalPlayer.Backpack
4169
		end
4170
	end)
4171
end)
4172
plrwin:drawButton(1/3, 'BTools', function()
4173
	tk.dp(cval, function(p)
4174
		local a = Instance.new("HopperBin")
4175
		a.BinType = "GameTool"
4176
		a.Parent = p.Backpack
4177
		local a = Instance.new("HopperBin")
4178
		a.BinType = "Clone"
4179
		a.Parent = p.Backpack
4180
		local a = Instance.new("HopperBin")
4181
		a.BinType = "Hammer"
4182
		a.Parent = p.Backpack
4183
	end)
4184
end)
4185
plrwin:drawButton(1/3, 'Hotdog', function()
4186
	tk.dp(cval, function(p)
4187
		if p.Character and tk.gt(p) then
4188
			topkek.tools.util.weenieHutJunior(p)
4189
		end
4190
	end)
4191
end)
4192
plrwin:drawButton(1/3, 'Quicksand', function()
4193
	tk.dp(cval, function(z)
4194
		if z.Character and z.Character:FindFirstChild("Humanoid") then
4195
			local tor = tk.gt(z)
4196
			local hole = Instance.new("Part", z.Character)
4197
			hole.Anchored = true
4198
			hole.Name = "Hole"
4199
			hole.FormFactor = Enum.FormFactor.Custom
4200
			hole.Size = Vector3.new(7, 1, 7)
4201
			hole.CanCollide = false
4202
			hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
4203
			hole.BrickColor = BrickColor.new("Cool yellow")
4204
			hole.Material = Enum.Material.Sand
4205
			local hm = Instance.new("CylinderMesh", hole)
4206
			tor.Anchored = true
4207
			if z.Character:FindFirstChild("Humanoid") then
4208
				z.Character.Humanoid.Jump = true
4209
			end
4210
			for x,m in pairs(z.Character:GetChildren()) do
4211
				if m:IsA("BasePart") or m:IsA("MeshPart") then
4212
					m.CanCollide = false
4213
				end
4214
			end
4215
			for i=1,75 do
4216
				tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
4217
				wait(0.06)
4218
			end
4219
			tor.CFrame=tor.CFrame*CFrame.new(0,
4220
				-500,0
4221
			)
4222
			z.Character.Humanoid.Health = 0
4223
		end
4224
	end)
4225
end)
4226
plrwin:drawButton(1/3, 'Insane', function()
4227
	tk.dp(cval, function(p)
4228
		if p.Character and tk.gt(p) then
4229
			for i,v in pairs(tk.gt(p):GetChildren()) do
4230
				if v:IsA("Motor6D") then
4231
					spawn(function()
4232
						while v do
4233
							v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
4234
							wait()
4235
						end
4236
					end)
4237
				end
4238
			end
4239
		end
4240
	end)
4241
end)
4242
plrwin:drawButton(1/3, 'Invisible', function()
4243
	tk.dp(cval, function(p)
4244
		tk.rco(p.Character, 'BasePart', 'Transparency', 1)
4245
		tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
4246
	end)
4247
end)
4248
plrwin:drawButton(1/3, 'Visible', function()
4249
	tk.dp(cval, function(p)
4250
		tk.rco(p.Character, 'BasePart', 'Transparency', 0)
4251
		tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
4252
	end)
4253
end)
4254
plrwin:drawButton(1/3, 'Bighead', function()
4255
	tk.dp(cval, function(z)
4256
		if z.Character then
4257
			if z.Character:FindFirstChild('Head') then
4258
				z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
4259
			end
4260
		end
4261
	end)
4262
end)
4263
plrwin:drawButton(1/3, 'Goldify', function()
4264
	tk.dp(cval, function(z)
4265
		if z.Character then
4266
			tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
4267
			tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
4268
			tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
4269
			tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
4270
		end
4271
	end)
4272
end)
4273
plrwin:drawButton(1/3, 'Neon', function()
4274
	tk.dp(cval, function(z)
4275
		if z.Character then
4276
			tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
4277
			tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
4278
		end
4279
	end)
4280
end)
4281
plrwin:drawButton(1/3, 'Shiny', function()
4282
	tk.dp(cval, function(z)
4283
		if z.Character then
4284
			tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
4285
			tk.rcm(z.Character, 'MeshPart')
4286
		end
4287
	end)
4288
end)
4289
plrwin:drawButton(1/3, 'Shrek', function()
4290
	tk.dp(cval, function(z)
4291
		if z.Character then
4292
			local pchar = z.Character
4293
			for i,v in pairs(pchar:GetChildren()) do
4294
				if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
4295
					v:Destroy()
4296
				end
4297
			end
4298
			for i,v in pairs(pchar.Head:GetChildren()) do
4299
				if v:IsA("Decal") or v:IsA("SpecialMesh") then
4300
					v:Destroy()
4301
				end
4302
			end
4303
			
4304
			local mesh = Instance.new("SpecialMesh", pchar.Head)
4305
			mesh.MeshType = "FileMesh"
4306
			pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
4307
			pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
4308
			pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
4309
			
4310
			local Shirt = Instance.new("Shirt", z.Character)
4311
			local Pants = Instance.new("Pants", z.Character)
4312
			
4313
			Shirt.ShirtTemplate = "rbxassetid://133078194"
4314
			Pants.PantsTemplate = "rbxassetid://133078204"
4315
		end
4316
	end)
4317
end)
4318
plrwin:drawButton(1/3, 'Duck', function()
4319
	tk.dp(cval, function(z)
4320
		if z.Character then
4321
			local pchar = z.Character
4322
		    for i,v in pairs(pchar:GetChildren()) do
4323
			    if v:IsA("Hat") or v:IsA("Accessory") then
4324
				    v:Destroy()
4325
			    end
4326
		    end
4327
		    local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
4328
		    duck.MeshType = "FileMesh"
4329
		    duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
4330
		    duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
4331
		    duck.Scale = Vector3.new(5, 5, 5)
4332
		    tk.rco(z.Character, 'Instance', 'Transparency', 1)
4333
			z.Character.HumanoidRootPart.Transparency = 0
4334
		end
4335
	end)
4336
end)
4337
plrwin:drawButton(1/3, 'Spheres', function()
4338
	tk.dp(cval, function(z)
4339
		if z.Character then
4340
			tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
4341
		end
4342
	end)
4343
end)
4344
plrwin:drawButton(1/3, 'Big', function()
4345
	tk.dp(cval, function(z)
4346
		if z.Character then
4347
			topkek.tools.util.scalePlayer(5, z)
4348
		end
4349
	end)
4350
end)
4351
plrwin:drawButton(1/3, 'Small', function()
4352
	tk.dp(cval, function(z)
4353
		if z.Character then
4354
			topkek.tools.util.scalePlayer(5, z)
4355
		end
4356
	end)
4357
end)
4358
plrwin:drawButton(1/3, 'Giraffe', function()
4359
	tk.dp(cval, function(z)
4360
		if z.Character then
4361
			local char=z.Character
4362
			local h=char.Head
4363
			local tor=char:FindFirstChild("Torso")
4364
			if not tor then return end
4365
			tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
4366
			local fn=Instance.new("Part",char)
4367
			fn.Size=Vector3.new(1,5.5,1)
4368
			fn.Name="FakeNeck"
4369
			fn.Anchored=false
4370
			fn.CanCollide=false
4371
			if char:FindFirstChild("Body Colors") then
4372
				fn.BrickColor=char["Body Colors"].HeadColor
4373
			end
4374
			local cm=Instance.new("CylinderMesh",fn)
4375
			local we=Instance.new("Weld",h)
4376
			we.Part0=h
4377
			we.Part1=fn
4378
			we.C1=we.C1*CFrame.new(0,2.6,0)
4379
		end
4380
	end)
4381
end)
4382
plrwin:drawButton(1/3, 'Dab', function()
4383
	tk.dp(cval, function(z)
4384
		if z.Character and z.Character:FindFirstChild("Torso") then
4385
			local chr = z.Character
4386
			chr.Animate.Disabled = true
4387
	        chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
4388
	        chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
4389
	        chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
4390
		end
4391
	end)
4392
end)
4393
plrwin:drawButton(1/3, 'Force Follow', function()
4394
	tk.dp(cval, function(z)
4395
		game:GetService("RunService"):BindToRenderStep("_", 0, function()
4396
			z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
4397
		end)
4398
	end)
4399
end)
4400
plrwin:drawButton(1/3, 'Camlock', function()
4401
	tk.dp(cval, function(z)
4402
		z.CameraMode = "LockFirstPerson"
4403
	end)
4404
end)
4405
--// SERVER //--
4406
local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
4407
local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
4408
detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
4409
detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
4410
detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
4411
--detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
4412
servwin:drawButton(1/2, 'Shutdown', function()
4413
	workspace.Gravity = 0/0
4414
end)
4415
servwin:drawButton(1/2, 'Clear', function()
4416
	for i,v in pairs(game:service'Workspace':GetChildren()) do
4417
		if (not v:IsA("Terrain"))and(v.Name~="Camera") then
4418
			v:Destroy()
4419
		end
4420
	end
4421
end)
4422
servwin:drawButton(1/2, 'Baseplate', function()
4423
	for X = -2500, 2500, 512 do
4424
		for Z = -2500, 2500, 512 do
4425
			local P = Instance.new("Part")
4426
		    P.Anchored = true
4427
		    P.Locked = true
4428
		    P.Size = Vector3.new(512,3,512)
4429
		    P.CFrame = CFrame.new(X,0,Z)
4430
		    P.BrickColor = BrickColor.Green()
4431
		    P.Parent = game:service'Workspace'
4432
		end
4433
	end
4434
end)
4435
servwin:drawButton(1/2, 'Reset', function()
4436
	for i,v in pairs(game:service'Workspace':GetChildren()) do
4437
		if (not v:IsA("Terrain"))and(v.Name~="Camera") then
4438
			v:Destroy()
4439
		end
4440
	end
4441
	for X = -2500, 2500, 512 do
4442
		for Z = -2500, 2500, 512 do
4443
			local P = Instance.new("Part")
4444
		    P.Anchored = true
4445
		    P.Locked = true
4446
		    P.Size = Vector3.new(512,3,512)
4447
		    P.CFrame = CFrame.new(X,0,Z)
4448
		    P.BrickColor = BrickColor.Green()
4449
		    P.Parent = game:service'Workspace'
4450
		end
4451
	end
4452
	for i, v in pairs(game:GetService('Players'):GetPlayers()) do
4453
		local a1 = Instance.new("Model", game:service'Workspace')
4454
		local a2 = Instance.new("Part", game:service'Workspace')
4455
		a2.CanCollide = true
4456
		a2.Anchored = true
4457
		a2.CFrame = CFrame.new(10000, 10000, 10000)
4458
		a2.Name = "Torso"
4459
		local a3 = Instance.new("Humanoid", a1)
4460
		a3.MaxHealth=100;a3.Health=100
4461
		v.Character = a1
4462
		a3.Health=0
4463
	end
4464
end)
4465
servwin:drawButton(1, 'Remove Sounds', function()
4466
	tk.rcm(game, 'Sound')
4467
end)
4468
servwin:addSpacing()
4469
servwin:drawButton(1, 'Break All', function()
4470
	workspace:BreakJoints(workspace:GetChildren())
4471
end)
4472
local gravInp
4473
servwin:drawButton(1/3, 'Gravity', function()
4474
	if not tonumber(gravInp.Text) then return end
4475
	workspace.Gravity = tonumber(gravInp.Text)
4476
end)
4477
gravInp = servwin:drawTextBox(2/3, '')
4478
servwin:addSpacing()
4479
servwin:drawButton(1, 'Reset Lighting', function()
4480
	local l = game:service'Lighting'
4481
	l.Ambient = Color3.new(0, 0, 0)
4482
	l.Brightness = 1
4483
	l.GlobalShadows = true
4484
	l.Outlines = true
4485
	l.FogEnd = 100000
4486
	l.FogStart = 0
4487
	l:SetMinutesAfterMidnight(12*60)
4488
end)
4489
local brightInp
4490
servwin:drawButton(1/3, 'Brightness', function()
4491
	if not tonumber(brightInp.Text) then return end
4492
	game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
4493
end)
4494
brightInp = servwin:drawTextBox(2/3, '100')
4495
local fogInp
4496
servwin:drawButton(1/3, 'Fog', function()
4497
	if not tonumber(fogInp.Text) then return end
4498
	game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
4499
end)
4500
fogInp = servwin:drawTextBox(2/3, '0')
4501
local timeInp
4502
servwin:drawButton(1/3, 'Hour', function()
4503
	if not tonumber(timeInp.Text) then return end
4504
	game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
4505
end)
4506
timeInp = servwin:drawTextBox(2/3, '12')
4507
servwin:addSpacing()
4508
-- private server crap
4509
local privateToggle
4510
local privStatus = false
4511
privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
4512
	if privStatus == false then
4513
		privStatus = true
4514
		privateToggle.Text = 'Private Server ON'
4515
		topkek.banmgr.makePrivate()
4516
	else
4517
		privateToggle.Text = 'Private Server OFF'
4518
		topkek.banmgr.unprivate()
4519
	end
4520
end)
4521
servwin:addSpacing()
4522
servwin:drawText(1, 'Whitelist')
4523
local plrAddInp
4524
servwin:drawButton(1/3, 'Add', function()
4525
	topkek.banmgr.doWhitelist(plrAddInp.Text)
4526
	ReorderWL()
4527
end)
4528
plrAddInp = servwin:drawTextBox(2/3, '')
4529
wlCont = servwin:drawScrollingContainer(100)
4530
function ReorderWL()
4531
	local wl = topkek.banmgr.whitelist
4532
	for i,v in pairs(wlCont:GetChildren()) do
4533
		v:Destroy()
4534
	end
4535
	wlCont:setDrawY(3)
4536
	for i,v in pairs(wl) do
4537
		wlCont:drawText(2/3, v)
4538
		wlCont:drawButton(1/3, 'Remove', function()
4539
			topkek.banmgr.unwhitelist(v)
4540
			ReorderWL()
4541
		end) 
4542
	end
4543
end
4544
ReorderWL()
4545
--// LOCALPLAYER //--
4546
local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
4547
lpwin:drawButton(1, 'Reset Camera', function()
4548
	game.Workspace.CurrentCamera:remove()
4549
	wait(.1)
4550
	game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or 
4551
		game.Workspace[topkek.lplr.Name].Humanoid
4552
	game.Workspace.CurrentCamera.CameraType = "Custom"
4553
end)
4554
lpwin:drawButton(1, 'Respawn', function()
4555
	local a1 = Instance.new("Model", game:service'Workspace')
4556
	local a2 = Instance.new("Part", game:service'Workspace')
4557
	a2.CanCollide = true
4558
	a2.Anchored = true
4559
	a2.CFrame = CFrame.new(10000, 10000, 10000)
4560
	a2.Name = "Torso"
4561
	local a3 = Instance.new("Humanoid", a1)
4562
	a3.MaxHealth=100;a3.Health=100
4563
	topkek.lplr.Character = a1
4564
	a3.Health=0
4565
end)
4566
lpwin:drawButton(1, 'Rejoin', function()
4567
	game:GetService('TeleportService'):Teleport(game.PlaceId)
4568
end)
4569
lpwin:addSpacing()
4570
lpwin:drawButton(1/2, 'God', function()
4571
	if topkek.lplr.Character:FindFirstChild("Humanoid") then
4572
		topkek.lplr.Character.Humanoid.MaxHealth = math.huge
4573
		topkek.lplr.Character.Humanoid.Health = math.huge
4574
	end
4575
end)
4576
lpwin:drawButton(1/2, 'Semigod', function()
4577
	if topkek.lplr.Character:FindFirstChild("Humanoid") then
4578
		topkek.lplr.Character.Humanoid.MaxHealth = 9e9
4579
		topkek.lplr.Character.Humanoid.Health = 9e9
4580
	end
4581
end)
4582
Loopgod = false
4583
lpwin:drawButton(1, 'Loopgod', function()
4584
	if Loopgod == false then
4585
		Loopgod = true
4586
		spawn(function()
4587
			repeat
4588
				topkek.lplr.Character.Humanoid.MaxHealth = math.huge
4589
				topkek.lplr.Character.Humanoid.Health = math.huge
4590
				wait()
4591
			until Loopgod == false
4592
		end)	
4593
	else
4594
		Loopgod = false
4595
	end
4596
end)
4597
lpwin:addSpacing()
4598
plrwin:addSpacing()
4599
local Lev, Clip, Fly
4600
lpwin:drawButton(1/2, 'Levitate', function()
4601
	if Lev == true then
4602
		Lev = false
4603
		return
4604
	end
4605
	Lev = true
4606
	repeat
4607
		topkek.lplr.Character.Humanoid:ChangeState(10)
4608
		wait(0)
4609
	until Lev == false
4610
end)
4611
lpwin:drawButton(1/2, 'Noclip', function()
4612
	if Clip == true then
4613
		Clip = false
4614
		return
4615
	end
4616
	Clip = true
4617
	game:GetService("RunService").Stepped:connect(function()
4618
		tk.gt(topkek.lplr).CanCollide = not Clip
4619
		topkek.lplr.Character.Head.CanCollide = not Clip
4620
		topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
4621
		if topkek.lplr.Character.UpperTorso then
4622
			topkek.lplr.Character.LowerTorso.CanCollide = not Clip
4623
		end
4624
	end)
4625
	topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
4626
		tk.gt(topkek.lplr).CanCollide = not Clip
4627
		topkek.lplr.Character.Head.CanCollide = not Clip
4628
		topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
4629
		if topkek.lplr.Character.UpperTorso then
4630
			topkek.lplr.Character.LowerTorso.CanCollide = not Clip
4631
		end
4632
	end)
4633
end)
4634
lpwin:drawButton(1/2, 'Fly', function()
4635
	if Fly == true then
4636
		Fly = false
4637
		return
4638
	end
4639
	Fly = true
4640
  local mouse=game.Players.LocalPlayer:GetMouse''
4641
  localplayer=game.Players.LocalPlayer
4642
  game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
4643
  local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
4644
  local speed=0
4645
  local keys={a=false,d=false,w=false,s=false} 
4646
  local e1
4647
  local e2
4648
  local function start()
4649
   local pos = Instance.new("BodyPosition",torso)
4650
   local gyro = Instance.new("BodyGyro",torso)
4651
   pos.Name="EPIXPOS"
4652
   pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
4653
   pos.position = torso.Position
4654
   gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9) 
4655
   gyro.cframe = torso.CFrame
4656
   repeat
4657
    wait()
4658
    localplayer.Character.Humanoid.PlatformStand=true
4659
    local new=gyro.cframe - gyro.cframe.p + pos.position
4660
    if not keys.w and not keys.s and not keys.a and not keys.d then
4661
     speed=1
4662
    end 
4663
    if keys.w then 
4664
     new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
4665
     speed=speed+0.01
4666
    end
4667
    if keys.s then 
4668
     new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
4669
     speed=speed+0.01
4670
    end
4671
    if keys.d then 
4672
     new = new * CFrame.new(speed,0,0)
4673
     speed=speed+0.01
4674
    end
4675
    if keys.a then 
4676
     new = new * CFrame.new(-speed,0,0)
4677
     speed=speed+0.01
4678
    end
4679
    if speed>5 then
4680
     speed=5
4681
    end
4682
    pos.position=new.p
4683
    if keys.w then
4684
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
4685
    elseif keys.s then
4686
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
4687
    else
4688
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame
4689
    end
4690
   until not Fly
4691
   if gyro then gyro:Destroy() end
4692
   if pos then pos:Destroy() end
4693
   flying=false
4694
   localplayer.Character.Humanoid.PlatformStand=false
4695
   speed=0
4696
  end
4697
  e1=mouse.KeyDown:connect(function(key)
4698
   if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
4699
   if key=="w" then
4700
    keys.w=true
4701
   elseif key=="s" then
4702
    keys.s=true
4703
   elseif key=="a" then
4704
    keys.a=true
4705
   elseif key=="d" then
4706
    keys.d=true
4707
   end
4708
  end)
4709
  e2=mouse.KeyUp:connect(function(key)
4710
   if key=="w" then
4711
    keys.w=false
4712
   elseif key=="s" then
4713
    keys.s=false
4714
   elseif key=="a" then
4715
    keys.a=false
4716
   elseif key=="d" then
4717
    keys.d=false
4718
   end
4719
  end)
4720
  start()
4721
end)
4722
lpwin:drawButton(1/2, 'Highjump', function()
4723
	local thrust = Instance.new("BodyVelocity")
4724
	game:GetService('UserInputService').InputBegan:connect(function(i, b)
4725
		if i.KeyCode == Enum.KeyCode.Space then
4726
			print("Got jump")
4727
			coroutine.resume(coroutine.create(function()
4728
				thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
4729
				thrust.velocity = Vector3.new(0,50,0)
4730
				thrust.maxForce = Vector3.new(0,4e+050,0)
4731
				wait(0.2)
4732
				thrust.Parent = nil 
4733
			end))
4734
		end
4735
	end)
4736
end)
4737
lpwin:addSpacing()
4738
local apprInp
4739
lpwin:drawButton(1/3, 'Appearance', function()
4740
	local id = 0
4741
	if tonumber(apprInp.Text) then
4742
		id = tonumber(apprInp.Text)
4743
	else
4744
		id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
4745
	end
4746
	if topkek.lplr.Character:FindFirstChild("Humanoid") then
4747
		topkek.lplr.Character.Humanoid.Health = 0
4748
	end
4749
	topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
4750
end)
4751
apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
4752
local teamInp
4753
lpwin:drawButton(1/3, 'Team', function()
4754
	topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
4755
end)
4756
teamInp = lpwin:drawTextBox(2/3, 'Bright red')
4757
lpwin:drawButton(1/2, 'Naked', function()
4758
	topkek.lplr:ClearCharacterAppearance()
4759
end)
4760
lpwin:drawButton(1/2, 'Neutral', function()
4761
	topkek.lplr.Neutral = true
4762
end)
4763
lpwin:addSpacing()
4764
lpwin:drawButton(1/2, 'Orb', function()
4765
	game.Players.LocalPlayer.Character = nil
4766
	--lp:Destroy()
4767
	local cam = game.Workspace.CurrentCamera
4768
	local m = Instance.new("Model", game.Workspace)
4769
	m.Name = game.Players.LocalPlayer.Name
4770
	local hum = Instance.new("Humanoid", m)
4771
	hum.Health = 0
4772
	hum.MaxHealth = 0
4773
	local orb = Instance.new("Part", m)
4774
	orb.Size = Vector3.new(1, 1, 1)
4775
	orb.Shape = "Ball"
4776
	orb.Name = "Head"
4777
	orb.Anchored = true
4778
	orb.CanCollide = true
4779
	orb.BottomSurface = Enum.SurfaceType.Smooth
4780
	orb.TopSurface = Enum.SurfaceType.Smooth
4781
	orb.Transparency = 0
4782
	spawn(function()
4783
		while true do
4784
			wait(0.1)
4785
			if orb then
4786
				orb.BrickColor = BrickColor.Random()
4787
			else break end
4788
		end
4789
	end)
4790
	cam.CameraSubject = orb
4791
	cam.CameraType = Enum.CameraType.Fixed
4792
	game:GetService("RunService").RenderStepped:connect(function()
4793
		orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
4794
	end)
4795
	game.Players.LocalPlayer.Chatted:connect(function(a)
4796
		game:GetService("Chat"):Chat(orb, a)
4797
	end)
4798
end)
4799
lpwin:drawButton(1/2, 'Freecam', function()
4800
	local cam = game.Workspace.CurrentCamera
4801
	cam.CameraType = "Fixed"
4802
	cam.CameraSubject = nil
4803
	topkek.lplr.Character = nil
4804
end)
4805
lpwin:drawButton(1/2, 'NoGrav', function()
4806
	if topkek.lplr.Character then
4807
		for x,m in pairs(topkek.lplr.Character:GetChildren()) do
4808
			if m:IsA("BasePart") then
4809
				local bf = Instance.new("BodyForce", m)
4810
				bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
4811
			end
4812
			if m:IsA("Hat") or m:IsA("Accessory") then
4813
				if m:findFirstChild("Handle") then
4814
					local bf = Instance.new("BodyForce", m.Handle)
4815
					bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
4816
				end
4817
			end
4818
		end
4819
	end
4820
end)
4821
lpwin:drawButton(1/2, 'Trowel', function()
4822
	topkek.tools.util.trowel()
4823
end) 
4824
lpwin:addSpacing()
4825
lpwin:drawButton(1/2, 'Fedora', function()
4826
	local hats={
4827
		98346834,
4828
		215751161,
4829
		119916949,
4830
		72082328,
4831
		147180077,
4832
		100929604,
4833
		63043890,
4834
		1285307,
4835
		1029025,
4836
		334663683,
4837
		259423244
4838
	}
4839
	game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
4840
end)
4841
lpwin:drawButton(1/2, 'Rainbow Name', function()
4842
	topkek.lplr.Neutral = false
4843
	repeat
4844
		wait()
4845
		topkek.lplr.TeamColor = BrickColor.Random()
4846
	until not topkek.lplr.Character.Humanoid
4847
end)
4848
local tagInp
4849
lpwin:drawButton(1/3, 'Tag', function()
4850
	local len = 10
4851
	local bb = Instance.new("BillboardGui")
4852
	bb.Parent = topkek.lplr.Character.Head
4853
	bb.Adornee = topkek.lplr.Character.Head
4854
	bb.AlwaysOnTop = true
4855
	bb.Enabled = true
4856
	bb.Size = UDim2.new(len, 0, 1.5, 0)
4857
	bb.Name = "tag"
4858
	bb.StudsOffset = Vector3.new(0, 3, 0)
4859
	--local fr = Instance.new("Frame")
4860
	--fr.Parent = bb
4861
	--fr.Size = UDim2.new(1, 0, 1, 0)
4862
	--fr.Style = Enum.FrameStyle.RobloxRound
4863
	local tl = Instance.new("TextLabel")
4864
	tl.Parent = bb
4865
	tl.Font = Enum.Font.Code
4866
	tl.BackgroundTransparency = 1
4867
	tl.TextScaled = true
4868
	tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
4869
	tl.Size = UDim2.new(1, 0, 1, 0)
4870
	tl.Text = tagInp.Text
4871
	tl.Name = "trutag"
4872
	tl.Visible = true
4873
	tl.ZIndex = 2
4874
end)
4875
tagInp = lpwin:drawTextBox(2/3, '')
4876
--// SCRIPTS //--
4877
--local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
4878
--local search = scriptwin:drawTextBox(1,'')
4879
--local origy = scriptwin:getDrawY()
4880
--scriptwin:addSpacing()
4881
--scriptwin:addSpacing()
4882
--local scripts = game:GetObjects("rbxassetid://376553985")[1]
4883
--local container = {}
4884
--function MakeList(condition)
4885
--	for i,v in pairs(scriptwin:GetChildren()) do
4886
	--	if v.Name == "Script" then
4887
	--		v:Destroy()
4888
	--	end
4889
--	end
4890
	--scriptwin:setDrawY(origy)
4891
	--for i, v in pairs(scripts:GetChildren()) do
4892
	--	if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
4893
		--	local scr = scriptwin:drawButton(1, v.Name, function()
4894
	--			spawn(function() loadstring(v.Source)() end)
4895
	--		end, 25)
4896
	--		scr.Name = 'Script'
4897
	--	end
4898
--	end
4899
--end
4900
--game:GetService("UserInputService").InputChanged:connect(function(inp)
4901
--	if inp.UserInputType == Enum.UserInputType.TextInput then
4902
	--	if search:IsFocused() then
4903
	--		MakeList(search.Text)
4904
	--	end
4905
	--end
4906
--end)
4907
--MakeList('')
4908
--// DESTRUCTION // --
4909
local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
4910
local decals, seldec = destwin:drawScrollingContainer(100)
4911
seldec = destwin:drawText(1, 'Selected Decal: None')
4912
cursel = nil
4913
local decs = {
4914
	{'Rain', '574772793'},
4915
	{'Robbie', '574773630'},
4916
	{'Pepe', '244905904'},
4917
	{'Troll Face', '48308661'},
4918
	{'Jeff', '109129888'},
4919
	{'Shrek', '170539018'},
4920
	{'Doge', '133720697'},
4921
	{'Dat Boi', '409578848'},
4922
}
4923
for _, v in pairs(decs) do
4924
	local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
4925
	topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
4926
end
4927
destwin:drawButton(1, 'Spam Decal', function()
4928
	if cursel ~= nil then
4929
		topkek.tools.util.recurseDecal(tonumber(cursel))
4930
	end
4931
end)
4932
destwin:drawButton(1, 'Spam Particles', function()
4933
	if cursel ~= nil then
4934
		topkek.tools.util.recurseParticles(tonumber(cursel))
4935
	end
4936
end)
4937
destwin:drawButton(1, 'Spam Both', function()
4938
	if cursel ~= nil then
4939
		topkek.tools.util.recurseUltimate(tonumber(cursel))
4940
	end
4941
end)
4942
destwin:drawButton(1, 'Rollback', function()
4943
	tk.rcm(workspace, 'Decal')
4944
	tk.rcm(workspace, 'ParticleEmitter')
4945
end)
4946
destwin:addSpacing()
4947
destwin:drawButton(1, '666', function()
4948
	for i,v in next,workspace:children''do
4949
	 	if(v:IsA'BasePart')then
4950
	    me=v;
4951
	    bbg=Instance.new('BillboardGui',me);
4952
	    bbg.Name='stuf';
4953
	    bbg.Adornee=me;
4954
	    bbg.Size=UDim2.new(2.5,0,2.5,0)
4955
	    --bbg.StudsOffset=Vector3.new(0,2,0)
4956
	    tlb=Instance.new'TextLabel';
4957
	    tlb.Text='666 666 666 666 666 666';
4958
	    tlb.Font='SourceSansBold';
4959
	    tlb.FontSize='Size48';
4960
	    tlb.TextColor3=Color3.new(1,0,0);
4961
	    tlb.Size=UDim2.new(1.25,0,1.25,0);
4962
	    tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
4963
	    tlb.BackgroundTransparency=1;
4964
	    tlb.Parent=bbg;
4965
	    end;end;
4966
	    --coroutine.wrap(function()while wait''do
4967
	      s=Instance.new'Sound';
4968
	      s.Parent=workspace;
4969
	      s.SoundId='rbxassetid://152840862';
4970
	      s.Pitch=1;
4971
	      s.Volume=1;
4972
	      s.Looped=true;
4973
	      s:play();
4974
	      --end;end)();
4975
	      function xds(dd)
4976
	        for i,v in next,dd:children''do
4977
	          if(v:IsA'BasePart')then
4978
	            v.BrickColor=BrickColor.new'Really black';
4979
	            v.TopSurface='Smooth';
4980
	            v.BottomSurface='Smooth';
4981
	            s=Instance.new('SelectionBox',v);
4982
	            s.Adornee=v;
4983
	            s.Color=BrickColor.new'Really red';
4984
	            a=Instance.new('PointLight',v);
4985
	            a.Color=Color3.new(1,0,0);
4986
	            a.Range=15;
4987
	            a.Brightness=5;
4988
	            f=Instance.new('Fire',v);
4989
	            f.Size=19;
4990
	            f.Heat=22;
4991
	            end;
4992
	            game.Lighting.TimeOfDay=0;
4993
	            game.Lighting.Brightness=0;
4994
	            game.Lighting.ShadowColor=Color3.new(0,0,0);
4995
	            game.Lighting.Ambient=Color3.new(1,0,0);
4996
	            game.Lighting.FogEnd=200;
4997
	            game.Lighting.FogColor=Color3.new(0,0,0);
4998
	        local dec = 'http://www.roblox.com/asset/?id=19399245';
4999
	            local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
5000
	            --coroutine.wrap(function()
5001
	            --for _,__ in pairs(fac) do
5002
	            --local ddec = Instance.new("Decal", v)
5003
	            --ddec.Face = __
5004
	            --ddec.Texture = dec
5005
	        --end end)()
5006
	            if #(v:GetChildren())>0 then
5007
	                   xds(v) 
5008
	              end
5009
	         end
5010
	    end
5011
	xds(game.Workspace)
5012
end)
5013
destwin:drawButton(1, 'Troll', function()
5014
	topkek.tools.util.recurseUltimate('48308661')
5015
	tk.play(154664102)
5016
end)
5017
destwin:addSpacing()
5018
destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
5019
	local materiallist = 
5020
	{Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
5021
		Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
5022
		Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
5023
		Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
5024
		Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
5025
	local function r(where) 
5026
		for _,v in pairs (where:GetChildren()) do 
5027
		if v:IsA("BasePart") then 
5028
		spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait()   end end) end r(v) end end r(workspace)
5029
end)
5030
destwin:drawButton(1/2,'Materialize',function()
5031
	local function r(where) 
5032
 	for _,v in pairs (where:GetChildren()) do 
5033
  	if v:IsA("BasePart") then 
5034
   	spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait()   end end) end r(v) end end r(workspace)
5035
end)
5036
destwin:drawButton(1/2,'Meshify',function()
5037
	local enums={
5038
		Enum.MeshType.Head;
5039
		Enum.MeshType.Torso;
5040
		Enum.MeshType.Wedge;
5041
		Enum.MeshType.Brick;
5042
		Enum.MeshType.Sphere;
5043
		Enum.MeshType.Cylinder;
5044
	}
5045
	tk.rcf('BasePart',function(o)
5046
		local mesh = Instance.new('SpecialMesh', o)
5047
		mesh.MeshType = enums[math.random(1,#enums)]
5048
	end)
5049
end)
5050
destwin:drawButton(1/2,'Loop-Meshify',function()
5051
	coroutine.wrap(function()
5052
		while true do
5053
			local enums={
5054
				Enum.MeshType.Head;
5055
				Enum.MeshType.Torso;
5056
				Enum.MeshType.Wedge;
5057
				Enum.MeshType.Brick;
5058
				Enum.MeshType.Sphere;
5059
				Enum.MeshType.Cylinder;
5060
			}
5061
			tk.rcf('BasePart',function(o)
5062
				if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
5063
				local mesh = Instance.new('SpecialMesh', o)
5064
				mesh.MeshType = enums[math.random(1,#enums)]
5065
			end)
5066
			wait(0.5)
5067
		end
5068
	end)()
5069
end)
5070
destwin:addSpacing()
5071
destwin:drawButton(1, 'Rotations', function()
5072
	tk.rcf('BasePart', function(o)
5073
		o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
5074
	end)
5075
end)
5076
destwin:drawButton(1, 'Collisions', function()
5077
	tk.rcf('BasePart', function(o)
5078
		o.CanCollide = false
5079
	end)
5080
end)
5081
destwin:drawButton(1, 'Velocity', function()
5082
	tk.rcf('BasePart', function(o)
5083
		o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
5084
	end)
5085
end)
5086
destwin:drawButton(1, 'Invisiblity', function()
5087
	tk.rcf('BasePart', function(o)
5088
		o.Transparency = 1
5089
	end)
5090
end)
5091
destwin:drawButton(1, 'BreakJoints', function()
5092
	tk.rcf('Model', function(o)
5093
		o:BreakJoints()
5094
	end)
5095
end)
5096
destwin:drawButton(1, 'Forces', function()
5097
	tk.rcf('BasePart', function(o)
5098
		local bf = Instance.new("BodyForce", o)
5099
		bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
5100
	end)
5101
end)
5102
destwin:drawButton(1, 'Brightness', function()
5103
	tk.rcf('BasePart', function(o)
5104
		local light = Instance.new("SpotLight", o)
5105
		light.Brightness = 9e9
5106
		light.Range = 60
5107
	end)
5108
end)
5109
--// CATALOG //--
5110
local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
5111
local page, currentkeyword = 1, ""
5112
local searchbar, search, makeCatalog, res = 0, 0, 0, {}
5113
local searchbar = catwin:drawTextBox(2/3,'')
5114
local search = catwin:drawButton(1/3, 'Search', function()
5115
	page = 1
5116
	currentkeyword = searchbar.Text
5117
	makeCatalog(currentkeyword, page)
5118
end)
5119
local previous = catwin:drawButton(1/2, 'Previous Page', function()
5120
	if page > 1 then
5121
		page = page - 1
5122
		makeCatalog(currentkeyword, page)
5123
	end
5124
end)
5125
local previous = catwin:drawButton(1/2, 'Next Page', function()
5126
	if page >= 1 then
5127
		page = page + 1
5128
		makeCatalog(currentkeyword, page)
5129
	end
5130
end)
5131
local catalog_start = catwin:getDrawY()
5132
function split(str,divider)
5133
	local found = ""
5134
	local results = {}
5135
	for i=1,string.len(str) do
5136
		if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
5137
			table.insert(results, found)
5138
			found = ""
5139
		else
5140
			found = found..string.sub(str,i,i)
5141
		end
5142
	end
5143
	table.insert(results, found)
5144
	return results
5145
end
5146
function GetName(nm)
5147
	local spl = split(nm," ")
5148
	local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
5149
	return (a.." "..b.." "..c.." "..d.." "..e)
5150
end
5151
--function makeCatalog(keyword, page)
5152
	--local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
5153
	--local results = game:HttpGet(endpoint, true)
5154
	--local parse = game:GetService('HttpService'):JSONDecode(results)
5155
	--for i, v in pairs(res) do
5156
		--v:Destroy()
5157
	--end
5158
	--catwin:setDrawY(catalog_start)
5159
	--catwin:addSpacing()
5160
	--for i, v in pairs(parse) do
5161
		--local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
5162
		--local below = topkek.tools.util.Object("TextButton", {
5163
		--	Parent = img;
5164
		--	BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
5165
		--	BorderSizePixel = 0;
5166
		--	Position = UDim2.new(0, -45, 1, 5);
5167
		--	Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
5168
		--	Font = 'SourceSans';
5169
		--	FontSize = 'Size14';
5170
		--	Text = GetName(v['Name']);
5171
		--	TextSize = 14;
5172
		--	TextColor3 = color3(199, 199, 199);
5173
		--	TextStrokeTransparency = 0.5;
5174
		--	ClipsDescendants = true;
5175
		--})
5176
	--	below.MouseButton1Down:connect(function()
5177
		--	local Model = Instance.new("Model", workspace)
5178
		--	game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
5179
		--	Model:MakeJoints()
5180
		--	Model:MoveTo(topkek.lplr.Character.Head.Position)
5181
		--end)
5182
		--img.Size=UDim2.new(0,50,0,50)
5183
		--img.Position=img.Position+UDim2.new(0,45,0,0)
5184
	--	if (i%2)==0 then
5185
		--	catwin:setDrawY(catwin:getDrawY() + 25)
5186
		--end
5187
	--	if (i==10) then
5188
		--	catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
5189
	--	end
5190
	--	table.insert(res,img)
5191
	--end
5192
--end
5193
--makeCatalog("", 1)
5194
--// CMDS //--
5195
cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
5196
count = 0
5197
for _, _ in pairs(cmd.commands.store) do count = count + 1 end
5198
cmdwin:drawText(1, tostring(count) .. " Commands")
5199
cmdwin:drawText(1, 'Chat Prefix: /')
5200
local cmdlist = cmdwin:drawScrollingContainer(260)
5201
for i, v in pairs(cmd.commands.fmtstore) do
5202
	local xfmt = {}
5203
	local str = "  ;" .. i .. " "
5204
	for form in v:gmatch("[^%%]+") do
5205
		if form ~= 'cmd' then
5206
			if form == 'inf' then form = 'str' end
5207
			str = str .. "{" .. form .. "} " 
5208
		end
5209
	end
5210
	cmdlist:drawText(1, str)
5211
end
5212
--// MUSIC //--
5213
musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
5214
Sounds = {
5215
	{"caramell", 2303479};
5216
	{"epic", 27697743};
5217
	{"rick", 2027611};	
5218
	{"halo", 1034065};
5219
	{"pokemon", 1372261};
5220
	{"cursed", 1372257};
5221
	{"extreme", 11420933};
5222
	{"awaken", 27697277};
5223
	{"alone", 27697392};
5224
	{"mario", 1280470};
5225
	{"choir", 1372258};
5226
	{"chrono" ,1280463};
5227
	{"dotr", 11420922};
5228
	{"entertain", 27697267};
5229
	{"fantasy", 1280473};
5230
	{"final", 787};
5231
	{"organ", 11231513};
5232
	{"tunnel", 9650822}
5233
}
5234
5235
local cursel
5236
local xcursel = 0
5237
scr = musicwin:drawScrollingContainer(230)
5238
for i, v in pairs(Sounds) do
5239
	scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
5240
		cursel.Text = "Currently Selected - " .. v[1]
5241
		xcursel = v[2]
5242
	end)
5243
end
5244
5245
cursel = musicwin:drawText(1, "Currently Selected - None")
5246
local setInp
5247
musicwin:drawButton(1/3, "Set", function()
5248
	if tonumber(setInp.Text) then
5249
		cursel.Text = "Currently Selected - " .. setInp.Text
5250
		xcursel = tonumber(setInp.Text)
5251
	end
5252
end)
5253
setInp = musicwin:drawTextBox(2/3, '')
5254
musicwin:drawButton(1, "Play", function()
5255
	tk.rcm(game, 'Sound')
5256
	tk.play(xcursel)	
5257
end)
5258
musicwin:drawButton(1, "Stop", function()
5259
	tk.rcm(game, 'Sound')
5260
end)
5261
--// FACES //--
5262
facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
5263
local faces = {	
5264
	{name='Rofl',id=47595647},
5265
	{name='Sparta',id=74142203},
5266
	{name='UJelly',id=48989071},
5267
	{name='Troll',id=45120559},
5268
	{name='Horse',id=62079221},
5269
	{name='Angry',id=48258623},
5270
	{name='Okey',id=62830600},
5271
	{name='Yeaw',id=53646377},
5272
	{name='Here',id=62677045},
5273
	{name='Har',id=48260066},
5274
	{name='Baby Sun',id=47596170},
5275
	{name='LOL',id=48293007},
5276
	{name='Sad',id=53645378},
5277
	{name='Joseph Stalin',id=48290678},
5278
	{name='Doge',id=130742396},
5279
	{name='Forever Alone',id=156886272},
5280
	{name='RickRoll',id=5104631},
5281
	{name='Jim Carrey',id=74885351},
5282
	{name='Meh IRL',id=237553381}
5283
}
5284
local cursel, xcursel = nil, 0
5285
faclist = facwin:drawScrollingContainer(260)
5286
for i,v in pairs(faces) do
5287
	local btn = faclist:drawButton(1, v['name'], function()
5288
		xcursel = v['id']
5289
		cursel.Text = 'Currently Selected: ' .. v['name']
5290
	end)
5291
	topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
5292
end
5293
cursel = facwin:drawText(1, 'Currently Selected: None')
5294
facwin:drawButton(1, 'Wear', function()
5295
	if not (xcursel == 0) then
5296
		if topkek.lplr.Character then
5297
			tk.rcm(topkek.lplr.Character, 'Accessory')
5298
			tk.rcm(topkek.lplr.Character, 'Hat')
5299
			topkek.tools.util.applyFace(xcursel)
5300
		end
5301
	end
5302
end)
5303
--// SETTINGS // --
5304
setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
5305
setwin:drawText(1, 'Patch: ' .. topkek.patch)
5306
setwin:drawText(1, 'Devnote: foh skids')
5307
setwin:drawText(1, [[
5308
	=== CREDITS ===
5309
	
5310
	Variable - retard that created Stella
5311
	KrystalTeam - provided critical design tips & advice
5312
	Circumvention - lol joey salads
5313
	
5314
	Thanks to everyone that supported T0PK3K 4.0!
5315
	
5316
]], 260)
5317
--// BANLIST //--
5318
banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
5319
local plrBanInp
5320
banwin:drawButton(1/3, 'Add', function()
5321
	topkek.settings.get()
5322
	table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
5323
	topkek.settings.write()
5324
	UpdateBanlist()
5325
end)
5326
plrBanInp = banwin:drawTextBox(2/3, '')
5327
banCont = banwin:drawScrollingContainer(288)
5328
function UpdateBanlist(x)
5329
	topkek.settings.get()
5330
	local wl = x or topkek.settingsTable['Bans']
5331
	for i,v in pairs(banCont:GetChildren()) do
5332
		v:Destroy()
5333
	end
5334
	banCont:setDrawY(3)
5335
	for i,v in pairs(wl) do
5336
		banCont:drawText(2/3, v)
5337
		banCont:drawButton(1/3, 'Remove', function()
5338
			for x, m in pairs(wl) do
5339
				if m == v then
5340
					table.remove(topkek.settingsTable['Bans'], x)
5341
					topkek.settings.write()
5342
					UpdateBanlist()
5343
					topkek.banmgr.bans = topkek.settingsTable['Bans']
5344
				end
5345
			end
5346
		end) 
5347
	end
5348
end
5349
UpdateBanlist()
5350
--// HATS //--
5351
hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
5352
local hats={	
5353
	{name='Dominus Empyreus',id=21070012},
5354
	{name='Dominus Vespertilio',id=96103379},
5355
	{name='Dominus Infernus',id=31101391},
5356
	{name='Dominus Rex',id=250395631},
5357
	{name='Dominus Frigidus',id=48545806},
5358
	{name='Dominus Astra',id=162067148},
5359
	{name='Dominus Aureus',id=138932314},
5360
	{name='DIY Dominus Empyreus',id=151789690},
5361
	{name='Dominus Messor',id=64444871},
5362
	{name='Demon Skeleton Wings',id=133554007},
5363
	{name='Gilded Wings of Glory',id=250405532},
5364
	{name='Majestic Ice Wings',id=188702967},
5365
	{name='Black Wings',id=215719598},
5366
	{name='Clockworks Shades',id=11748356},
5367
	{name='Faerie Wings',id=19399896},
5368
	{name='Orinthian Wings',id=223751505},
5369
	{name='Clockworks Headphones',id=1235488},
5370
	{name='Perfectly Legitimate Business Hat',id=19027209},
5371
	{name='Sparkling Angel Wings',id=192557913},
5372
	{name='Commander Crows Wings',id=133553855},
5373
	{name='Sunfire Wings',id=158068470},
5374
	{name='Royal Faerie Wings',id=119916756},
5375
	{name='Wings of Freedom',id=164174048},
5376
	{name='Firebrand Wings',id=128160626},
5377
	{name='Frozen Wings',id=136758613},
5378
	{name='Webbed Wings',id=120507280},
5379
	{name='Gargoyle Wings',id=120507201},
5380
	{name='Bat Wings',id=19399858},
5381
	{name='Wings of Fire',id=136758532},
5382
	{name='Headrow',id=1082935},
5383
	{name='Rubber Duckie',id=9254254},
5384
	{name='Valkyrie Helm',id=1365767},
5385
{name='Hockey Mask',id=5161514}}
5386
local searchi = hatwin:drawButton(1, '', function()end)
5387
dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
5388
function fixPlayerDropi()
5389
	local t = {'All'}
5390
	for i, v in pairs(game.Players:GetPlayers()) do
5391
		table.insert(t, v.Name)
5392
	end
5393
	dropx.SetTable(t)
5394
end
5395
game.Players.PlayerAdded:connect(function()
5396
	fixPlayerDropi()
5397
end)
5398
game.Players.PlayerRemoving:connect(function()
5399
	fixPlayerDropi()
5400
end)
5401
local eval = 'All'
5402
dropx.Changed(function(p) eval = p end)
5403
fixPlayerDrop()
5404
5405
local hatInp
5406
hatlist = hatwin:drawScrollingContainer(260)
5407
for i,v in pairs(hats) do
5408
	hatlist:drawButton(1, v['name'], function()
5409
		hatInp.Text = tostring(v['id']) 
5410
	end)
5411
end
5412
hatwin:drawButton(1/3, 'Wear', function()
5413
	local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
5414
	tk.dp(eval, function(x)
5415
		if x.Character then
5416
			hat:Clone().Parent = x.Character
5417
		end
5418
	end)
5419
end)
5420
5421
5422
hatInp = hatwin:drawTextBox(2/3, '')
5423
topkek.tools.animator.initialAnimation()
5424
topkek.banmgr.init()
5425
5426
_G.Rc7Notification("Leaked by Scratchy","T0pk3k 4.0 Script Leaked!",5)
5427
wait(5)
5428
if game.Workspace.FilteringEnabled == true then
5429
_G.Rc7Notification("Filtering","Fltering is Enabled",5)
5430
else
5431
_G.Rc7Notification("Filtering","Fltering is Disabled",5)
5432
end