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