View difference between Paste ID: fpmR67nS and j7LajEP6
SHOW: | | - or go back to the newest paste.
1
--[[ 
2
	Designed by Wength
3
	Plugin used "GUI to Lua V2.3
4
	The Scripts aren't mine, I only turned them into a GUI :)
5
--]]
6
7
local ScreenGui = Instance.new("ScreenGui")
8
local Frame = Instance.new("Frame")
9
local ScrollingFrame = Instance.new("ScrollingFrame")
10
local Noclip = Instance.new("TextButton")
11
local Dex = Instance.new("TextButton")
12
local Fly = Instance.new("TextButton")
13
local Godmode = Instance.new("TextButton")
14
local Teleport = Instance.new("TextButton")
15
local Flamethrower = Instance.new("TextButton")
16
local Insane = Instance.new("TextButton")
17
local Grab = Instance.new("TextButton")
18
local TOPK3K = Instance.new("TextButton")
19
local Filler = Instance.new("TextButton")
20
local Title = Instance.new("TextButton")
21
local Name = Instance.new("TextButton")
22
local Close = Instance.new("TextButton")
23
24
25
ScreenGui.Parent = game.LocalPlayer.PlayerGui
26
ScreenGui.ResetOnSpawn = false
27
28
Frame.Parent = ScreenGui
29
Frame.Active = true
30
Frame.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
31
Frame.BorderSizePixel = 2
32
Frame.Draggable = true
33
Frame.Position = UDim2.new(0.0532382131, 0, 0.481333315, 0)
34
Frame.Selectable = true
35
Frame.Size = UDim2.new(0.214050487, 100, 0.211666673, 100)
36
37
ScrollingFrame.Parent = Frame
38
ScrollingFrame.BackgroundColor3 = Color3.new(0.560784, 0.560784, 0.560784)
39
ScrollingFrame.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
40
ScrollingFrame.Size = UDim2.new(0.30169493, 100, 0.568965495, 100)
41
ScrollingFrame.BottomImage = "rbxgameasset://Images/Bar"
42
ScrollingFrame.MidImage = "rbxgameasset://Images/Bar"
43
ScrollingFrame.TopImage = "rbxgameasset://Images/Bar"
44
45
Noclip.Name = "Noclip"
46
Noclip.Parent = ScrollingFrame
47
Noclip.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
48
Noclip.Size = UDim2.new(-0.132275134, 200, 0, 50)
49
Noclip.Font = Enum.Font.ArialBold
50
Noclip.FontSize = Enum.FontSize.Size14
51
Noclip.Text = "Noclip"
52
Noclip.TextColor3 = Color3.new(1, 1, 1)
53
Noclip.TextScaled = true
54
Noclip.TextSize = 14
55
Noclip.TextStrokeTransparency = 0
56
Noclip.TextWrapped = true
57
58
Dex.Name = "Dex"
59
Dex.Parent = ScrollingFrame
60
Dex.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
61
Dex.Position = UDim2.new(0, 0, 0.101321578, 0)
62
Dex.Size = UDim2.new(-0.132275134, 200, 0, 50)
63
Dex.Font = Enum.Font.ArialBold
64
Dex.FontSize = Enum.FontSize.Size14
65
Dex.Text = "Dex"
66
Dex.TextColor3 = Color3.new(1, 1, 1)
67
Dex.TextScaled = true
68
Dex.TextSize = 14
69
Dex.TextStrokeTransparency = 0
70
Dex.TextWrapped = true
71
72
Fly.Name = "Fly"
73
Fly.Parent = ScrollingFrame
74
Fly.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
75
Fly.Position = UDim2.new(-0.00264550257, 0, 0.207048446, 0)
76
Fly.Size = UDim2.new(-0.132275134, 200, 0, 50)
77
Fly.Font = Enum.Font.ArialBold
78
Fly.FontSize = Enum.FontSize.Size14
79
Fly.Text = "Fly"
80
Fly.TextColor3 = Color3.new(1, 1, 1)
81
Fly.TextScaled = true
82
Fly.TextSize = 14
83
Fly.TextStrokeTransparency = 0
84
Fly.TextWrapped = true
85
86
Godmode.Name = "Godmode"
87
Godmode.Parent = ScrollingFrame
88
Godmode.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
89
Godmode.Position = UDim2.new(0, 0, 0.308370054, 0)
90
Godmode.Size = UDim2.new(-0.132275134, 200, 0, 50)
91
Godmode.Font = Enum.Font.ArialBold
92
Godmode.FontSize = Enum.FontSize.Size14
93
Godmode.Text = "Godmode"
94
Godmode.TextColor3 = Color3.new(1, 1, 1)
95
Godmode.TextScaled = true
96
Godmode.TextSize = 14
97
Godmode.TextStrokeTransparency = 0
98
Godmode.TextWrapped = true
99
100
Teleport.Name = "Teleport"
101
Teleport.Parent = ScrollingFrame
102
Teleport.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
103
Teleport.Position = UDim2.new(-0.00264550257, 0, 0.405286372, 0)
104
Teleport.Size = UDim2.new(-0.132275134, 200, 0, 50)
105
Teleport.Font = Enum.Font.ArialBold
106
Teleport.FontSize = Enum.FontSize.Size14
107
Teleport.Text = "Teleport"
108
Teleport.TextColor3 = Color3.new(1, 1, 1)
109
Teleport.TextScaled = true
110
Teleport.TextSize = 14
111
Teleport.TextStrokeTransparency = 0
112
Teleport.TextWrapped = true
113
114
Flamethrower.Name = "Flamethrower"
115
Flamethrower.Parent = ScrollingFrame
116
Flamethrower.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
117
Flamethrower.Position = UDim2.new(0, 0, 0.508642018, 0)
118
Flamethrower.Size = UDim2.new(-0.132275134, 200, 0, 50)
119
Flamethrower.ZIndex = 2
120
Flamethrower.Font = Enum.Font.ArialBold
121
Flamethrower.FontSize = Enum.FontSize.Size14
122
Flamethrower.Text = "Flamethrower"
123
Flamethrower.TextColor3 = Color3.new(1, 1, 1)
124
Flamethrower.TextScaled = true
125
Flamethrower.TextSize = 14
126
Flamethrower.TextStrokeTransparency = 0
127
Flamethrower.TextWrapped = true
128
129
Insane.Name = "Insane"
130
Insane.Parent = ScrollingFrame
131
Insane.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
132
Insane.Position = UDim2.new(-0.00264550257, 0, 0.617284, 0)
133
Insane.Size = UDim2.new(-0.132275134, 200, 0, 50)
134
Insane.ZIndex = 2
135
Insane.Font = Enum.Font.ArialBold
136
Insane.FontSize = Enum.FontSize.Size14
137
Insane.Text = "Insane All"
138
Insane.TextColor3 = Color3.new(1, 1, 1)
139
Insane.TextScaled = true
140
Insane.TextSize = 14
141
Insane.TextStrokeTransparency = 0
142
Insane.TextWrapped = true
143
144
Grab.Name = "Grab"
145
Grab.Parent = ScrollingFrame
146
Grab.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
147
Grab.Position = UDim2.new(-0.00529100513, 0, 0.725925982, 0)
148
Grab.Size = UDim2.new(-0.132275134, 200, 0, 50)
149
Grab.ZIndex = 2
150
Grab.Font = Enum.Font.ArialBold
151
Grab.FontSize = Enum.FontSize.Size14
152
Grab.Text = "Knife Grab"
153
Grab.TextColor3 = Color3.new(1, 1, 1)
154
Grab.TextScaled = true
155
Grab.TextSize = 14
156
Grab.TextStrokeTransparency = 0
157
Grab.TextWrapped = true
158
159
TOPK3K.Name = "TOPK3K"
160
TOPK3K.Parent = ScrollingFrame
161
TOPK3K.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
162
TOPK3K.Position = UDim2.new(-0.00529100513, 0, 0.834385872, 0)
163
TOPK3K.Size = UDim2.new(-0.132275134, 200, 0, 50)
164
TOPK3K.ZIndex = 2
165
TOPK3K.Font = Enum.Font.ArialBold
166
TOPK3K.FontSize = Enum.FontSize.Size14
167
TOPK3K.Text = "TOPK3K V.4"
168
TOPK3K.TextColor3 = Color3.new(1, 1, 1)
169
TOPK3K.TextScaled = true
170
TOPK3K.TextSize = 14
171
TOPK3K.TextStrokeTransparency = 0
172
TOPK3K.TextWrapped = true
173
174
Filler.Name = "Filler"
175
Filler.Parent = ScrollingFrame
176
Filler.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
177
Filler.Position = UDim2.new(0, 0, 0.934924066, 0)
178
Filler.Selectable = false
179
Filler.Size = UDim2.new(-0.0582010597, 200, -0.030368764, 50)
180
Filler.ZIndex = 2
181
Filler.AutoButtonColor = false
182
Filler.Font = Enum.Font.ArialBold
183
Filler.FontSize = Enum.FontSize.Size14
184
Filler.Text = " "
185
Filler.TextColor3 = Color3.new(1, 1, 1)
186
Filler.TextScaled = true
187
Filler.TextSize = 14
188
Filler.TextStrokeTransparency = 0
189
Filler.TextWrapped = true
190
191
Title.Name = "Title"
192
Title.Parent = Frame
193
Title.BackgroundColor3 = Color3.new(1, 1, 1)
194
Title.BackgroundTransparency = 1
195
Title.Position = UDim2.new(0.830508471, 0, 0.960352421, 0)
196
Title.Size = UDim2.new(-0.508474588, 200, -0.180616736, 50)
197
Title.ZIndex = 2
198
Title.Font = Enum.Font.ArialBold
199
Title.FontSize = Enum.FontSize.Size14
200
Title.Text = "Version 1"
201
Title.TextColor3 = Color3.new(1, 1, 1)
202
Title.TextScaled = true
203
Title.TextSize = 14
204
Title.TextStrokeTransparency = 0
205
Title.TextWrapped = true
206
207
Name.Name = "Name"
208
Name.Parent = Frame
209
Name.BackgroundColor3 = Color3.new(1, 1, 1)
210
Name.BackgroundTransparency = 1
211
Name.Position = UDim2.new(0.640677989, 0, 0.0925110132, 0)
212
Name.Size = UDim2.new(-0.318644077, 200, -0.110132158, 50)
213
Name.ZIndex = 2
214
Name.Font = Enum.Font.ArialBold
215
Name.FontSize = Enum.FontSize.Size14
216
Name.Text = " Wength GUI"
217
Name.TextColor3 = Color3.new(1, 1, 1)
218
Name.TextScaled = true
219
Name.TextSize = 14
220
Name.TextStrokeTransparency = 0
221
Name.TextWrapped = true
222
223
Close.Name = "Close"
224
Close.Parent = Frame
225
Close.BackgroundColor3 = Color3.new(0.384314, 0.384314, 0.384314)
226
Close.BackgroundTransparency = 1
227
Close.Position = UDim2.new(0.884745777, 0, 0, 0)
228
Close.Size = UDim2.new(-0.562711835, 200, -0.159482762, 50)
229
Close.ZIndex = 3
230
Close.Font = Enum.Font.ArialBold
231
Close.FontSize = Enum.FontSize.Size14
232
Close.Text = "Close"
233
Close.TextColor3 = Color3.new(1, 1, 1)
234
Close.TextScaled = true
235
Close.TextSize = 14
236
Close.TextStrokeTransparency = 0
237
Close.TextWrapped = true
238
239
Close.MouseButton1Down:connect(function()
240
	script.Parent:Destroy()
241
end)
242
243
244
Noclip.MouseButton1Down:connect(function()
245
	noclip = false
246
game:GetService('RunService').Stepped:connect(function()
247
if noclip then
248
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
249
end
250
end)
251
plr = game.Players.LocalPlayer
252
mouse = plr:GetMouse()
253
mouse.KeyDown:connect(function(key)
254
255
if key == "q" then
256
noclip = not noclip
257
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
258
end
259
end)
260
end)
261
262
Dex.MouseButton1Down:connect(function()
263
	loadstring(game:GetObjects("rbxassetid://669627198")[1].Source)()
264
end)
265
266
Fly.MouseButton1Down:connect(function()
267
	local plr = game.Players.LocalPlayer
268
local cam = game.Workspace.CurrentCamera
269
local noclip = false
270
game.ContextActionService:BindAction("keyPress", function(action, state, obj)
271
    if state == Enum.UserInputState.Begin then
272
        if not noclip then
273
            plr.Character = nil
274
            cam.CameraSubject = game.Workspace
275
            cam.CameraType = Enum.CameraType.Fixed
276
            noclip = true
277
        else
278
            game.Players.LocalPlayer:LoadCharacter()
279
            repeat wait() until plr.Character and plr.Character.Torso
280
            local char = plr.Character
281
            char.Torso.CFrame = cam.CoordinateFrame
282
            cam.CameraSubject = char.Humanoid
283
            cam.CameraType = Enum.CameraType.Custom
284
            noclip = false
285
        end
286
    end
287
end, false, Enum.KeyCode.F)
288
end)
289
290
Godmode.MouseButton1Down:connect(function()
291
	local player=game.Players.LocalPlayer.Character
292
player.Humanoid:Remove()
293
Instance.new('Humanoid',player)
294
end)
295
296
Teleport.MouseButton1Down:connect(function()
297
	plr = game.Players.LocalPlayer
298
hum = plr.Character.HumanoidRootPart
299
mouse = plr:GetMouse()
300
301
mouse.KeyDown:connect(function(key)
302
if key == "e" then
303
if mouse.Target then
304
hum.CFrame = CFrame.new(mouse.Hit.x, mouse.Hit.y + 5, mouse.Hit.z)
305
end
306
end
307
end)
308
end)
309
310
Flamethrower.MouseButton1Down:connect(function()
311
	local player=game:GetService("Players").LocalPlayer
312
local char=player.Character
313
local mouse=player:GetMouse()
314
315
local m = Instance.new("Model")
316
m.Name = "Flamethrower"
317
p1 = Instance.new("Part", m)
318
p1.BrickColor = BrickColor.new("Really black")
319
p1.FormFactor = Enum.FormFactor.Custom
320
p1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
321
p1.CFrame = CFrame.new(-4.31863213, 1.2999835, 26.8280258, 0.898792505, -0.438372105, 6.44474255e-007, 4.2475844e-007, -8.7068031e-007, 0.999996066, -0.438369185, -0.898793578, 7.74858847e-007)
322
p1.CanCollide = false
323
b1 = Instance.new("CylinderMesh", p1)
324
b1.Name = "Mesh"
325
b1.Scale = Vector3.new(0.699999988, 1, 1.39999998)
326
p2 = Instance.new("Part", m)
327
p2.BrickColor = BrickColor.new("Really black")
328
p2.FormFactor = Enum.FormFactor.Custom
329
p2.Size = Vector3.new(0.200000003, 0.799999952, 0.200000003)
330
p2.CFrame = CFrame.new(-4.22384691, 1.29998171, 27.1336765, -0.945517242, 0.325569242, 6.44474255e-007, -5.4352688e-007, 9.19547631e-007, 0.999996066, 0.325566202, 0.945517898, 7.74858847e-007)
331
p2.CanCollide = false
332
b2 = Instance.new("CylinderMesh", p2)
333
b2.Name = "Mesh"
334
b2.Scale = Vector3.new(0.899999976, 1, 1.5)
335
p3 = Instance.new("Part", m)
336
p3.BrickColor = BrickColor.new("Black")
337
p3.Material = Enum.Material.Grass
338
p3.Name = "Handle2"
339
p3.FormFactor = Enum.FormFactor.Custom
340
p3.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
341
p3.CFrame = CFrame.new(-4.36384678, 1.48997498, 26.7136898, 0.998628676, -0.0523356572, 1.65257313e-006, 0.0505531132, 0.964598, 0.258818507, -0.0135439271, -0.258463174, 0.96592474)
342
p3.CanCollide = false
343
b3 = Instance.new("CylinderMesh", p3)
344
b3.Name = "Mesh"
345
b3.Scale = Vector3.new(0.699999988, 1, 1.39999998)
346
p4 = Instance.new("Part", m)
347
p4.BrickColor = BrickColor.new("Really black")
348
p4.FormFactor = Enum.FormFactor.Custom
349
p4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
350
p4.CFrame = CFrame.new(-4.08384609, 1.29998279, 26.8336773, 6.66825997e-007, 1.56834642e-006, 0.999999166, 0.999996066, 6.85452505e-007, 7.1152931e-007, 8.0466117e-007, 0.999998689, 1.56834619e-006)
351
p4.CanCollide = false
352
b4 = Instance.new("CylinderMesh", p4)
353
b4.Name = "Mesh"
354
b4.Scale = Vector3.new(1.20000005, 0.5, 1.78999996)
355
p5 = Instance.new("Part", m)
356
p5.BrickColor = BrickColor.new("Really black")
357
p5.FormFactor = Enum.FormFactor.Custom
358
p5.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003)
359
p5.CFrame = CFrame.new(-4.08383894, 1.29998529, 27.6837158, 6.66825997e-007, 1.56834642e-006, 0.999999166, 0.999996066, 6.85452505e-007, 7.1152931e-007, 8.0466117e-007, 0.999998689, 1.56834619e-006)
360
p5.CanCollide = false
361
b5 = Instance.new("CylinderMesh", p5)
362
b5.Name = "Mesh"
363
b5.Scale = Vector3.new(1, 1, 1.70000005)
364
p6 = Instance.new("Part", m)
365
p6.BrickColor = BrickColor.new("Really black")
366
p6.Size = Vector3.new(1, 1.20000005, 1)
367
p6.CFrame = CFrame.new(-4.07870293, 1.24756896, 29.8614006, -0.0122325243, 0.00382106518, 0.999915302, 0.999817967, -0.0144664943, 0.0122870263, 0.0145196915, 0.999886394, -0.0036436012)
368
p6.BottomSurface = Enum.SurfaceType.Smooth
369
p6.TopSurface = Enum.SurfaceType.Smooth
370
b6 = Instance.new("SpecialMesh", p6)
371
b6.MeshType = Enum.MeshType.Brick
372
b6.Name = "Mesh"
373
b6.Scale = Vector3.new(0.461538464, 0.769230723, 0.461538464)
374
b7 = Instance.new("CylinderMesh", p6)
375
b7.Name = "Mesh"
376
b7.Scale = Vector3.new(1, 0.899999976, 0.439999998)
377
d1 = Instance.new("Decal", p6)
378
d1.Texture = "http://www.roblox.com/asset/?id=85448092"
379
d1.Face = Enum.NormalId.Top
380
p7 = Instance.new("Part", m)
381
p7.BrickColor = BrickColor.new("Institutional white")
382
p7.Size = Vector3.new(1, 1.20000005, 1)
383
p7.CFrame = CFrame.new(-4.08290291, 1.26348102, 28.7615242, -0.0122325243, 0.00382106518, 0.999915302, 0.999817967, -0.0144664943, 0.0122870263, 0.0145196915, 0.999886394, -0.0036436012)
384
p7.BottomSurface = Enum.SurfaceType.Smooth
385
p7.TopSurface = Enum.SurfaceType.Smooth
386
b8 = Instance.new("SpecialMesh", p7)
387
b8.MeshType = Enum.MeshType.Brick
388
b8.Name = "Mesh"
389
b8.Scale = Vector3.new(0.15384616, 1, 0.307692319)
390
b9 = Instance.new("CylinderMesh", p7)
391
b9.Name = "Mesh"
392
b9.Scale = Vector3.new(1.70000005, 1.10000002, 0.300000012)
393
p8 = Instance.new("Part", m)
394
p8.BrickColor = BrickColor.new("Really black")
395
p8.Name = "Barrel"
396
p8.Size = Vector3.new(1, 1.20000005, 1)
397
p8.CFrame = CFrame.new(-4.07320023, 1.24000597, 30.3669701, 0.999916196, 0.00121372147, 0.0126282591, 0.0122011788, 0.18082355, -0.983437181, -0.00347740925, 0.983514667, 0.180784032)
398
p8.BottomSurface = Enum.SurfaceType.Smooth
399
p8.TopSurface = Enum.SurfaceType.Smooth
400
b10 = Instance.new("SpecialMesh", p8)
401
b10.MeshId = "http://www.roblox.com/asset/?id=1091603"
402
b10.TextureId = ""
403
b10.MeshType = Enum.MeshType.FileMesh
404
b10.Name = "Mesh"
405
b10.Scale = Vector3.new(0.300000012, 0.300000012, 0.300000012)
406
p9 = Instance.new("Part", m)
407
p9.BrickColor = BrickColor.new("Really black")
408
p9.FormFactor = Enum.FormFactor.Custom
409
p9.Size = Vector3.new(0.288717359, 0.288717419, 0.288717419)
410
p9.CFrame = CFrame.new(-4.12095404, 1.04495895, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
411
p9.BottomSurface = Enum.SurfaceType.Smooth
412
p9.TopSurface = Enum.SurfaceType.Smooth
413
b11 = Instance.new("SpecialMesh", p9)
414
b11.MeshType = Enum.MeshType.Brick
415
b11.Name = "Mesh"
416
b11.Scale = Vector3.new(1.37011397, 0.164413691, 1.50712562)
417
p10 = Instance.new("Part", m)
418
p10.BrickColor = BrickColor.new("Institutional white")
419
p10.Size = Vector3.new(1, 1.20000005, 1)
420
p10.CFrame = CFrame.new(-4.07969093, 1.060624, 28.9585953, -0.999915302, -0.0122325243, -0.00382106518, -0.0122870263, 0.999817967, 0.0144664943, 0.0036436012, 0.0145196915, -0.999886394)
421
p10.BottomSurface = Enum.SurfaceType.Smooth
422
p10.TopSurface = Enum.SurfaceType.Smooth
423
b12 = Instance.new("SpecialMesh", p10)
424
b12.MeshType = Enum.MeshType.Brick
425
b12.Name = "Mesh"
426
b12.Scale = Vector3.new(0.15384616, 0.153846145, 1)
427
p11 = Instance.new("Part", m)
428
p11.BrickColor = BrickColor.new("Institutional white")
429
p11.Name = "Handle"
430
p11.Size = Vector3.new(1, 1.20000005, 1)
431
p11.CFrame = CFrame.new(-4.07311201, 0.707809985, 28.6968918, -0.999919653, 0.0111990925, 0.00594851235, -0.0121958125, -0.977798998, -0.209190041, 0.00347371167, -0.209245741, 0.977856994)
432
p11.BottomSurface = Enum.SurfaceType.Smooth
433
p11.TopSurface = Enum.SurfaceType.Smooth
434
b13 = Instance.new("SpecialMesh", p11)
435
b13.MeshType = Enum.MeshType.Brick
436
b13.Name = "Mesh"
437
b13.Scale = Vector3.new(0.15384616, 0.538461506, 0.307692319)
438
p12 = Instance.new("Part", m)
439
p12.BrickColor = BrickColor.new("Really black")
440
p12.FormFactor = Enum.FormFactor.Custom
441
p12.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
442
p12.CFrame = CFrame.new(-4.08139706, 0.981667995, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
443
p12.BottomSurface = Enum.SurfaceType.Smooth
444
p12.TopSurface = Enum.SurfaceType.Smooth
445
b14 = Instance.new("SpecialMesh", p12)
446
b14.MeshType = Enum.MeshType.Brick
447
b14.Name = "Mesh"
448
b14.Scale = Vector3.new(0.351311207, 0.351311326, 0.175655678)
449
p13 = Instance.new("Part", m)
450
p13.BrickColor = BrickColor.new("Really black")
451
p13.FormFactor = Enum.FormFactor.Custom
452
p13.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
453
p13.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.1310101, -1, 0, 0, 0, 1, 0, 0, 0, -1)
454
p13.BottomSurface = Enum.SurfaceType.Smooth
455
p13.TopSurface = Enum.SurfaceType.Smooth
456
b15 = Instance.new("SpecialMesh", p13)
457
b15.MeshType = Enum.MeshType.Wedge
458
b15.Name = "Mesh"
459
b15.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
460
p14 = Instance.new("Part", m)
461
p14.BrickColor = BrickColor.new("Really black")
462
p14.FormFactor = Enum.FormFactor.Custom
463
p14.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
464
p14.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.2496853, 1, 0, 0, 0, 1, 0, 0, 0, 1)
465
p14.BottomSurface = Enum.SurfaceType.Smooth
466
p14.TopSurface = Enum.SurfaceType.Smooth
467
b16 = Instance.new("SpecialMesh", p14)
468
b16.MeshType = Enum.MeshType.Wedge
469
b16.Name = "Mesh"
470
b16.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
471
p15 = Instance.new("Part", m)
472
p15.BrickColor = BrickColor.new("Really black")
473
p15.FormFactor = Enum.FormFactor.Custom
474
p15.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
475
p15.CFrame = CFrame.new(-4.08139706, 0.922330976, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
476
p15.BottomSurface = Enum.SurfaceType.Smooth
477
p15.TopSurface = Enum.SurfaceType.Smooth
478
b17 = Instance.new("SpecialMesh", p15)
479
b17.MeshType = Enum.MeshType.Brick
480
b17.Name = "Mesh"
481
b17.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
482
p16 = Instance.new("Part", m)
483
p16.BrickColor = BrickColor.new("Really black")
484
p16.FormFactor = Enum.FormFactor.Custom
485
p16.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
486
p16.CFrame = CFrame.new(-4.12095404, 0.831354022, 28.9332237, 1, 4.23044048e-006, -3.67623443e-006, 4.23044048e-006, 1, 1.40141863e-008, -3.67623443e-006, 1.40141863e-008, 1)
487
p16.BottomSurface = Enum.SurfaceType.Smooth
488
p16.TopSurface = Enum.SurfaceType.Smooth
489
b18 = Instance.new("SpecialMesh", p16)
490
b18.MeshType = Enum.MeshType.Wedge
491
b18.Name = "Mesh"
492
b18.Scale = Vector3.new(1.75655627, 1.68629432, 0.175655678)
493
p17 = Instance.new("Part", m)
494
p17.BrickColor = BrickColor.new("Really black")
495
p17.FormFactor = Enum.FormFactor.Custom
496
p17.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
497
p17.CFrame = CFrame.new(-4.12095404, 0.878817022, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1)
498
p17.BottomSurface = Enum.SurfaceType.Smooth
499
p17.TopSurface = Enum.SurfaceType.Smooth
500
b19 = Instance.new("SpecialMesh", p17)
501
b19.MeshType = Enum.MeshType.Brick
502
b19.Name = "Mesh"
503
b19.Scale = Vector3.new(1.75655627, 1.2647208, 0.175655678)
504
p18 = Instance.new("Part", m)
505
p18.BrickColor = BrickColor.new("Really black")
506
p18.FormFactor = Enum.FormFactor.Custom
507
p18.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
508
p18.CFrame = CFrame.new(-4.08139706, 0.882772982, 29.0914536, 1, 0, 0, 0, 1, 0, 0, 0, 1)
509
p18.BottomSurface = Enum.SurfaceType.Smooth
510
p18.TopSurface = Enum.SurfaceType.Smooth
511
b20 = Instance.new("SpecialMesh", p18)
512
b20.MeshType = Enum.MeshType.Brick
513
b20.Name = "Mesh"
514
b20.Scale = Vector3.new(0.351311207, 0.175655663, 0.175655678)
515
p19 = Instance.new("Part", m)
516
p19.BrickColor = BrickColor.new("Really black")
517
p19.FormFactor = Enum.FormFactor.Custom
518
p19.Size = Vector3.new(0.799999356, 0.200000003, 0.399999857)
519
p19.CFrame = CFrame.new(-4.08384228, 0.900013506, 26.983717, -9.93235176e-007, 0.999998927, 1.46056539e-006, -0.987684608, 6.33298328e-007, -0.156433105, -0.156434968, 1.56834574e-006, 0.987686932)
520
p19.CanCollide = false
521
b21 = Instance.new("BlockMesh", p19)
522
b21.Name = "Mesh"
523
b21.Scale = Vector3.new(1, 1, 0.699999988)
524
p20 = Instance.new("Part", m)
525
p20.BrickColor = BrickColor.new("Really black")
526
p20.FormFactor = Enum.FormFactor.Custom
527
p20.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
528
p20.CFrame = CFrame.new(-4.12095404, 0.700815022, 29.0321178, 1, -5.8353038e-008, -6.71499549e-008, 6.71499549e-008, 2.22569144e-010, -1, -5.8353038e-008, 1, -2.22569144e-010)
529
p20.BottomSurface = Enum.SurfaceType.Smooth
530
p20.TopSurface = Enum.SurfaceType.Smooth
531
b22 = Instance.new("SpecialMesh", p20)
532
b22.MeshType = Enum.MeshType.Wedge
533
b22.Name = "Mesh"
534
b22.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678)
535
p21 = Instance.new("Part", m)
536
p21.BrickColor = BrickColor.new("Really black")
537
p21.FormFactor = Enum.FormFactor.Custom
538
p21.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
539
p21.CFrame = CFrame.new(-4.12095404, 0.700815022, 29.3090191, -1, -0, -0, -0, -0, -1, -0, -1, -0)
540
p21.BottomSurface = Enum.SurfaceType.Smooth
541
p21.TopSurface = Enum.SurfaceType.Smooth
542
b23 = Instance.new("SpecialMesh", p21)
543
b23.MeshType = Enum.MeshType.Wedge
544
b23.Name = "Mesh"
545
b23.Scale = Vector3.new(1.75655627, 0.702622652, 0.175655678)
546
p22 = Instance.new("Part", m)
547
p22.BrickColor = BrickColor.new("Really black")
548
p22.FormFactor = Enum.FormFactor.Custom
549
p22.Size = Vector3.new(0.799999356, 0.200000003, 0.200000003)
550
p22.CFrame = CFrame.new(-4.08384562, 0.887999296, 27.1074524, -9.93235176e-007, 0.999998927, 1.46056539e-006, -0.987684608, 6.33298328e-007, -0.156433105, -0.156434968, 1.56834574e-006, 0.987686932)
551
p22.CanCollide = false
552
b24 = Instance.new("BlockMesh", p22)
553
b24.Name = "Mesh"
554
b24.Scale = Vector3.new(1, 0.300000012, 0.899999976)
555
p23 = Instance.new("Part", m)
556
p23.BrickColor = BrickColor.new("Really black")
557
p23.FormFactor = Enum.FormFactor.Custom
558
p23.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
559
p23.CFrame = CFrame.new(-4.08139706, 0.843216002, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
560
p23.BottomSurface = Enum.SurfaceType.Smooth
561
p23.TopSurface = Enum.SurfaceType.Smooth
562
b25 = Instance.new("SpecialMesh", p23)
563
b25.MeshType = Enum.MeshType.Brick
564
b25.Name = "Mesh"
565
b25.Scale = Vector3.new(0.351311207, 0.175655663, 0.878278494)
566
p24 = Instance.new("Part", m)
567
p24.BrickColor = BrickColor.new("Really black")
568
p24.FormFactor = Enum.FormFactor.Custom
569
p24.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976)
570
p24.CFrame = CFrame.new(-4.14073181, 0.728498995, 28.9727783, 1, 0, 0, 0, 1, 0, 0, 0, 1)
571
p24.BottomSurface = Enum.SurfaceType.Smooth
572
p24.TopSurface = Enum.SurfaceType.Smooth
573
b26 = Instance.new("SpecialMesh", p24)
574
b26.MeshType = Enum.MeshType.Brick
575
b26.Name = "Mesh"
576
b26.Scale = Vector3.new(0.750219524, 0.0333430953, 0.0833577439)
577
p25 = Instance.new("Part", m)
578
p25.BrickColor = BrickColor.new("Really black")
579
p25.FormFactor = Enum.FormFactor.Custom
580
p25.Size = Vector3.new(0.225199535, 0.22519955, 0.22519958)
581
p25.CFrame = CFrame.new(-4.12095404, 0.661257982, 29.1705666, 1, 0, 0, 0, 1, 0, 0, 0, 1)
582
p25.BottomSurface = Enum.SurfaceType.Smooth
583
p25.TopSurface = Enum.SurfaceType.Smooth
584
b27 = Instance.new("SpecialMesh", p25)
585
b27.MeshType = Enum.MeshType.Brick
586
b27.Name = "Mesh"
587
b27.Scale = Vector3.new(1.75655627, 0.175655663, 1.93221235)
588
p26 = Instance.new("Part", m)
589
p26.BrickColor = BrickColor.new("Really black")
590
p26.FormFactor = Enum.FormFactor.Custom
591
p26.Size = Vector3.new(0.474551886, 0.474551976, 0.474551976)
592
p26.CFrame = CFrame.new(-4.12095404, 0.601921976, 29.1705666, 1, -0, 0, 0, -0, 1, 0, -1, 0)
593
p26.BottomSurface = Enum.SurfaceType.Smooth
594
p26.TopSurface = Enum.SurfaceType.Smooth
595
b28 = Instance.new("SpecialMesh", p26)
596
b28.MeshType = Enum.MeshType.Wedge
597
b28.Name = "Mesh"
598
b28.Scale = Vector3.new(0.833577335, 0.916935086, 0.166715518)
599
p27 = Instance.new("Part", m)
600
p27.BrickColor = BrickColor.new("Dark stone grey")
601
p27.Transparency = 1
602
p27.Name = "Handle3"
603
p27.FormFactor = Enum.FormFactor.Custom
604
p27.Size = Vector3.new(1, 1.4000001, 0.200000033)
605
p27.CFrame = CFrame.new(-4.08382893, 0.999998987, 28.0838623, 0.999999404, -1.18091657e-006, 5.96045709e-007, 5.96045652e-007, -6.55650126e-007, 0.999996662, 1.18091657e-006, -0.999998808, 6.55650069e-007)
606
p27.BottomSurface = Enum.SurfaceType.Smooth
607
p27.TopSurface = Enum.SurfaceType.Smooth
608
b29 = Instance.new("SpecialMesh", p27)
609
b29.MeshType = Enum.MeshType.Wedge
610
b29.Name = "Mesh"
611
b29.Scale = Vector3.new(0.25, 0.25, 0.200000003)
612
m.Parent = char
613
m:MakeJoints()
614
615
616
local m2 = Instance.new("Model")
617
m2.Name = "Fueltank"
618
p1 = Instance.new("Part", m2)
619
p1.BrickColor = BrickColor.new("Black")
620
p1.FormFactor = Enum.FormFactor.Custom
621
p1.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
622
p1.CFrame = CFrame.new(-0.283439994, 0.479694009, -15.516386, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
623
b1 = Instance.new("CylinderMesh", p1)
624
b1.Name = "Mesh"
625
b1.Scale = Vector3.new(2, 1.5, 1)
626
p2 = Instance.new("Part", m2)
627
p2.BrickColor = BrickColor.new("Institutional white")
628
p2.Material = Enum.Material.Neon
629
p2.Name = "ChangeColor"
630
p2.FormFactor = Enum.FormFactor.Custom
631
p2.Size = Vector3.new(0.400000036, 1.19999981, 1)
632
p2.CFrame = CFrame.new(0.116168, 1.10000396, -15.0161295, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
633
p2.CanCollide = false
634
b2 = Instance.new("CylinderMesh", p2)
635
b2.Name = "Mesh"
636
b2.Scale = Vector3.new(2, 1, 1)
637
p3 = Instance.new("Part", m2)
638
p3.BrickColor = BrickColor.new("Mid gray")
639
p3.Material = Enum.Material.Neon
640
p3.Name = "FuelCenter"
641
p3.FormFactor = Enum.FormFactor.Custom
642
p3.Size = Vector3.new(0.400000036, 0.799999833, 1)
643
p3.CFrame = CFrame.new(-0.283439994, 1.19967496, -15.5163736, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
644
b3 = Instance.new("CylinderMesh", p3)
645
b3.Name = "Mesh"
646
b3.Scale = Vector3.new(1.39999998, 1, 1)
647
p4 = Instance.new("Part", m2)
648
p4.BrickColor = BrickColor.new("Really black")
649
p4.FormFactor = Enum.FormFactor.Custom
650
p4.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
651
p4.CFrame = CFrame.new(0.125933915, 0.449839592, -15.0262089, 0.000333837903, 0.000261210633, 0.999998927, -0.999996006, -5.68053565e-007, 0.000335178163, -7.72354667e-007, -0.999998629, 0.000264377333)
652
p4.BottomSurface = Enum.SurfaceType.Smooth
653
p4.TopSurface = Enum.SurfaceType.Smooth
654
b4 = Instance.new("SpecialMesh", p4)
655
b4.MeshType = Enum.MeshType.Sphere
656
b4.Name = "Mesh"
657
p5 = Instance.new("Part", m2)
658
p5.BrickColor = BrickColor.new("Really black")
659
p5.FormFactor = Enum.FormFactor.Custom
660
p5.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
661
p5.CFrame = CFrame.new(-0.283836007, 1.60003495, -15.5161457, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006)
662
p5.BottomSurface = Enum.SurfaceType.Smooth
663
p5.TopSurface = Enum.SurfaceType.Smooth
664
b5 = Instance.new("SpecialMesh", p5)
665
b5.MeshType = Enum.MeshType.Sphere
666
b5.Name = "Mesh"
667
b5.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979)
668
p6 = Instance.new("Part", m2)
669
p6.BrickColor = BrickColor.new("Really black")
670
p6.FormFactor = Enum.FormFactor.Custom
671
p6.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
672
p6.CFrame = CFrame.new(0.116157003, 2.09999895, -15.0161324, 1.5385441e-006, -6.66825883e-007, 0.999999046, 6.85452505e-007, -0.999996066, 6.74276464e-007, 0.999998748, -7.15254316e-007, 1.53854353e-006)
673
b6 = Instance.new("CylinderMesh", p6)
674
b6.Name = "Mesh"
675
b6.Scale = Vector3.new(2, 1, 1)
676
p7 = Instance.new("Part", m2)
677
p7.BrickColor = BrickColor.new("Really black")
678
p7.FormFactor = Enum.FormFactor.Custom
679
p7.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
680
p7.CFrame = CFrame.new(0.116163999, 1.70000398, -15.0161362, 1.56834642e-006, -6.78001982e-007, 0.999999046, 5.96045879e-007, -0.999996066, 6.63100707e-007, 0.999998689, -8.64265758e-007, 1.59814817e-006)
681
p7.BottomSurface = Enum.SurfaceType.Smooth
682
p7.TopSurface = Enum.SurfaceType.Smooth
683
b7 = Instance.new("SpecialMesh", p7)
684
b7.MeshType = Enum.MeshType.Sphere
685
b7.Name = "Mesh"
686
p8 = Instance.new("Part", m2)
687
p8.BrickColor = BrickColor.new("Really black")
688
p8.FormFactor = Enum.FormFactor.Custom
689
p8.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
690
p8.CFrame = CFrame.new(-0.283437014, 0.779699028, -15.5163822, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006)
691
p8.BottomSurface = Enum.SurfaceType.Smooth
692
p8.TopSurface = Enum.SurfaceType.Smooth
693
b8 = Instance.new("SpecialMesh", p8)
694
b8.MeshType = Enum.MeshType.Sphere
695
b8.Name = "Mesh"
696
b8.Scale = Vector3.new(0.709999979, 0.709999979, 0.709999979)
697
p9 = Instance.new("Part", m2)
698
p9.BrickColor = BrickColor.new("Really black")
699
p9.FormFactor = Enum.FormFactor.Custom
700
p9.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
701
p9.CFrame = CFrame.new(-0.28343299, 0.279718012, -15.5163898, 7.71134239e-007, 0.999998987, -1.59814874e-006, 0.999996066, 6.18397394e-007, -5.96045879e-007, 9.23870459e-007, 1.59814817e-006, -0.999998748)
702
b9 = Instance.new("CylinderMesh", p9)
703
b9.Name = "Mesh"
704
b9.Scale = Vector3.new(2, 1.5, 1)
705
p10 = Instance.new("Part", m2)
706
p10.BrickColor = BrickColor.new("Really black")
707
p10.FormFactor = Enum.FormFactor.Custom
708
p10.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
709
p10.CFrame = CFrame.new(-0.68383199, 1.701056, -15.012146, -5.82017606e-007, 0.000486697129, 0.999998808, -0.999639988, -0.026683826, 1.37168181e-005, 0.0266824923, -0.999642611, 0.000489670201)
710
p10.BottomSurface = Enum.SurfaceType.Smooth
711
p10.TopSurface = Enum.SurfaceType.Smooth
712
b10 = Instance.new("SpecialMesh", p10)
713
b10.MeshType = Enum.MeshType.Sphere
714
b10.Name = "Mesh"
715
p11 = Instance.new("Part", m2)
716
p11.BrickColor = BrickColor.new("Institutional white")
717
p11.Material = Enum.Material.Neon
718
p11.Name = "ChangeColor2"
719
p11.FormFactor = Enum.FormFactor.Custom
720
p11.Size = Vector3.new(0.400000036, 1.19999981, 1)
721
p11.CFrame = CFrame.new(-0.683839977, 1.100003, -15.0161276, 1.3895326e-006, -6.48199716e-007, 0.999999166, 5.66243557e-007, -0.999996305, 6.33298498e-007, 0.999998689, -8.34463606e-007, 1.4491369e-006)
722
p11.CanCollide = false
723
b11 = Instance.new("CylinderMesh", p11)
724
b11.Name = "Mesh"
725
b11.Scale = Vector3.new(2, 1, 1)
726
p12 = Instance.new("Part", m2)
727
p12.BrickColor = BrickColor.new("Really black")
728
p12.FormFactor = Enum.FormFactor.Custom
729
p12.Size = Vector3.new(0.400000036, 0.200000003, 0.200000003)
730
p12.CFrame = CFrame.new(-0.683830023, 2.10087895, -15.0254364, -0.000486697129, -7.13852432e-006, 0.999998868, 0.0266838577, -0.999639928, 7.20503476e-006, 0.999642491, 0.0266825818, 0.00048978941)
731
b12 = Instance.new("CylinderMesh", p12)
732
b12.Name = "Mesh"
733
b12.Scale = Vector3.new(2, 1, 1)
734
p13 = Instance.new("Part", m2)
735
p13.BrickColor = BrickColor.new("Really black")
736
p13.FormFactor = Enum.FormFactor.Custom
737
p13.Size = Vector3.new(0.799999356, 0.799999356, 0.799999356)
738
p13.CFrame = CFrame.new(-0.683435977, 0.499675006, -15.0163736, -6.74276521e-007, -1.59814874e-006, 0.999998927, -0.999996066, -5.96045879e-007, 6.44474198e-007, -7.74858904e-007, -0.999998748, 1.56834574e-006)
739
p13.BottomSurface = Enum.SurfaceType.Smooth
740
p13.TopSurface = Enum.SurfaceType.Smooth
741
b13 = Instance.new("SpecialMesh", p13)
742
b13.MeshType = Enum.MeshType.Sphere
743
b13.Name = "Mesh"
744
m2.Parent = char
745
m2:MakeJoints()
746
747
local prev
748
local parts = char.Fueltank:GetChildren()
749
750
for i = 1,#parts do 
751
	if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then 
752
		if (prev ~= nil)then 
753
			local weld = Instance.new("Weld") 
754
			weld.Part0 = prev 
755
			weld.Part1 = parts[i] 
756
			weld.C0 = prev.CFrame:inverse() 
757
			weld.C1 = parts[i].CFrame:inverse() 
758
			weld.Parent = prev 
759
		end 
760
		prev = parts[i] 
761
	end 
762
end
763
764
local prev
765
local parts = char.Flamethrower:GetChildren()
766
767
for i = 1,#parts do 
768
	if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then 
769
		if (prev ~= nil)then 
770
			local weld = Instance.new("Weld") 
771
			weld.Part0 = prev 
772
			weld.Part1 = parts[i] 
773
			weld.C0 = prev.CFrame:inverse() 
774
			weld.C1 = parts[i].CFrame:inverse() 
775
			weld.Parent = prev 
776
		end 
777
		prev = parts[i] 
778
	end 
779
end
780
781
char.Fueltank.FuelCenter.CFrame = CFrame.new(char.Torso.Position)
782
783
local arms = nil
784
local torso = nil
785
local welds = {}
786
787
arms = {char:FindFirstChild("Left Arm"), char:FindFirstChild("Right Arm")}
788
torso = char:FindFirstChild("Torso")
789
if arms ~= nil and torso ~= nil then
790
local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
791
if sh ~= nil then
792
local yes = true
793
if yes then
794
yes = false
795
sh[1].Part1 = nil
796
sh[2].Part1 = nil
797
local weld1 = Instance.new("Weld")
798
weld1.Part0 = torso
799
weld1.Parent = torso
800
weld1.Part1 = arms[1]
801
weld1.C1 = CFrame.new(-0.249, 1.35, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
802
welds[1] = weld1
803
local weld2 = Instance.new("Weld")
804
weld2.Part0 = torso
805
weld2.Parent = torso
806
weld2.Part1 = arms[2]
807
weld2.C1 = CFrame.new(-1, -0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
808
welds[2] = weld2
809
end
810
end
811
end
812
813
char.Flamethrower.Handle.CFrame = CFrame.new(char["Left Arm"].Position)
814
815
local SWeld = Instance.new("Weld",char.Fueltank.FuelCenter)
816
SWeld.Name = "SWeld"
817
SWeld.Part0 = char.Fueltank.FuelCenter
818
SWeld.Part1 = char.Torso
819
SWeld.C0 = CFrame.new(1.35,0,0)*CFrame.fromEulerAnglesXYZ(0,-7.9,59.68)
820
821
local SWeld2 = Instance.new("Weld",char.Flamethrower.Handle)
822
SWeld2.Name = "SWeld2"
823
SWeld2.Part0 = char.Flamethrower.Handle
824
SWeld2.Part1 = char["Left Arm"]
825
SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0)
826
827
local auto = 0
828
829
830
local s1=Instance.new("Sound")
831
s1.SoundId="http://www.roblox.com/asset/?id=260131404"
832
s1.PlayOnRemove=false
833
s1.Volume=100
834
s1.Looped=false
835
s1.Pitch = 1
836
s1.Parent=char.Flamethrower.Handle
837
838
local s2=Instance.new("Sound")
839
s2.SoundId="http://www.roblox.com/asset/?id=260131485"
840
s2.PlayOnRemove=false
841
s2.Volume=100
842
s2.Looped=true
843
s2.Pitch = 1
844
s2.Parent=char.Flamethrower.Handle
845
846
local s3=Instance.new("Sound")
847
s3.SoundId="http://www.roblox.com/asset/?id=260131519"
848
s3.PlayOnRemove=false
849
s3.Volume=100
850
s3.Looped=false
851
s3.Pitch = 1
852
s3.Parent=char.Flamethrower.Handle
853
854
mouse.Button1Down:connect(function()
855
	if auto == 0 then
856
		s1:Stop()
857
		s2:Stop()
858
	end
859
	if auto == 1 then
860
		s1:Play()
861
		s1:Stop()
862
		s2:Play()
863
	end
864
end)
865
866
mouse.Button1Up:connect(function()
867
	if auto == 0 then
868
		s1:Stop()
869
		s2:Stop()
870
		s3:Play()
871
		if auto == 1 then
872
			s1:Stop()
873
			s2:Stop()
874
			s3:Stop()
875
		end
876
	end
877
end)
878
879
local burning = false
880
local burning2 = false
881
882
mouse.Button1Down:connect(function()
883
	SWeld2.C0 = CFrame.new(-.70,0,-.80)*CFrame.Angles(5,7.8,0)
884
char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Really red")
885
	char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Really red")
886
	char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Really red")
887
end)
888
889
mouse.Button1Down:connect(function()
890
	auto = 1
891
	while auto == 1 do
892
		wait(.20)
893
	local smoke = Instance.new("Smoke",char.Flamethrower.Barrel)
894
	game.Debris:AddItem(smoke,1)
895
local bullet = Instance.new("Part",workspace)
896
game.Debris:AddItem(bullet,.90)
897
bullet.Size = Vector3.new(2,2,2)
898
bullet.Shape = "Ball"
899
bullet.Transparency = 1
900
bullet.CanCollide = false
901
bullet.Name = "bullet"
902
bullet.CFrame = char.Flamethrower.Barrel.CFrame*CFrame.new(0,3,0)
903
local fire = Instance.new("Fire",bullet)
904
local light = Instance.new("PointLight", bullet)
905
light.Range = 5
906
light.Brightness = 20
907
light.Color = Color3.new(255, 85, 0)
908
local bvelocity = Instance.new("BodyVelocity",bullet)
909
bvelocity.maxForce = Vector3.new(math.huge,math.huge,850)
910
bvelocity.velocity = mouse.Hit.lookVector*47
911
bullet.Touched:connect(function(hit)
912
if hit.Parent:FindFirstChild("Humanoid") then
913
local fire1 = Instance.new("Fire",hit.Parent.Torso)
914
game.Debris:AddItem(fire1,3)
915
hit.Parent.Humanoid:TakeDamage(math.random(0.52,0.65))
916
wait(.30)
917
hit.Parent.Humanoid:TakeDamage(math.random(0.53,0.66))
918
wait(.30)
919
hit.Parent.Humanoid:TakeDamage(math.random(0.54,0.67))
920
elseif hit.Parent:FindFirstChild("Humanoid") == nil and not hit.Name:lower():find("base") and not hit.Name:lower():find("Base") and not hit.Name:lower():find("Baseplate") then
921
	local fire2 = Instance.new("Fire",hit)
922
	wait(3)
923
	hit.Transparency = .25
924
	wait(1)
925
	hit.Transparency = .50
926
	hit.BrickColor = BrickColor.new("Really black")
927
	wait(2)
928
	hit.Transparency = .75
929
	wait(1)
930
	hit.Transparency = 1
931
	fire2:Destroy()
932
	wait(.01)
933
	hit:Destroy()
934
	end
935
if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Torso:FindFirstChild("Fire") then
936
	burning = true
937
if burning == true then
938
	while burning do
939
	wait(.80)
940
	hit.Parent.Humanoid:TakeDamage(.44)
941
if hit.Parent.Torso:FindFirstChild("Fire")==nil then
942
	burning = false
943
end
944
end
945
end
946
	end
947
end)
948
	end
949
end)
950
951
mouse.Button1Up:connect(function()
952
	SWeld2.C0 = CFrame.new(-.70,0,-1)*CFrame.Angles(5,7.8,0)
953
	auto = 0
954
	char.Fueltank.ChangeColor.BrickColor = BrickColor.New("Institutional white")
955
	char.Fueltank.ChangeColor2.BrickColor = BrickColor.New("Institutional white")
956
	char.Fueltank.FuelCenter.BrickColor = BrickColor.New("Institutional white")
957
	if char.Flamethrower.Barrel:FindFirstChild("Smoke") then
958
		char.Flamethrower.Barrel.Smoke:Remove()
959
	end
960
end)
961
end)
962
963
Insane.MouseButton1Down:connect(function()
964
	while wait(0.1) do
965
for _,player in pairs(game.Players:GetPlayers()) do
966
AnimationId = "33796059"
967
local Anim = Instance.new("Animation")
968
Anim.AnimationId = "rbxassetid://"..AnimationId
969
local k = player.Character.Humanoid:LoadAnimation(Anim) -- script will error if Humanoid doesnt exist in character
970
k:Play() --Play the animation
971
k:AdjustSpeed(99) --Set '1' to any value you want to adjust the animation speed.
972
end
973
end
974
end)
975
976
TOPK3K.MouseButton1Down:connect(function()
977
	-- edited by bork so it works with proto XD
978
local topkek = {}
979
topkek.patch = '1.0.5a'
980
topkek.data = {}
981
topkek.commandbase = {}
982
topkek.navigation = {}
983
topkek.banmgr = {}
984
topkek.lplr = game:GetService('Players').LocalPlayer
985
986
topkek.tools = {}
987
topkek.tools.gui = {}
988
topkek.tools.util = {}
989
topkek.tools.animator = {}
990
991
topkek.windows = {}
992
topkek.windows.lplr = {}
993
topkek.windows.server = {}
994
topkek.windows.players = {}
995
topkek.windows.destruction = {}
996
topkek.windows.scripts = {}
997
topkek.windows.misc = {}
998
999
topkek.misc = {}
1000
1001
topkek.gui = game:GetObjects("rbxassetid://678309209")[1] 
1002
topkek.gui.Parent = game:GetService("CoreGui")
1003
1004
topkek.center = topkek.gui.Main
1005
topkek.holder = topkek.center.Holder
1006
topkek.topbar = topkek.center.Topbar
1007
topkek.template = topkek.holder.Template
1008
topkek.navigator = topkek.center.Navigation
1009
1010
AllowHovers = false
1011
PlayerChatHook, UpdateBanlist = nil
1012
cmd = {}
1013
1014
--// data //--
1015
topkek.data.windows = {
1016
	'Home',
1017
	'LocalPlayer',
1018
	'Server',
1019
	'Players',
1020
	'Destruction',
1021
	'Scripts',
1022
	'Catalog',
1023
	'Music',
1024
	'Hats',
1025
	'Faces',
1026
	'Settings',
1027
	'Commands',
1028
	'Banlist',
1029
}
1030
1031
color3 = function(r,g,b)
1032
	return Color3.new(r/255, g/255, b/255)
1033
end
1034
--// doggo dropdown //--
1035
-- thanks krystal
1036
GUI = {
1037
	TextBox = {
1038
		Settings = {
1039
			Font = Enum.Font.SourceSans;
1040
			FontSize = Enum.FontSize.Size14;
1041
		};
1042
		Color = {
1043
			Main = Color3.fromRGB(5,8,11);
1044
			Border = Color3.fromRGB(27,42,53);
1045
			Text = Color3.fromRGB(199,199,199);
1046
		};
1047
		New = function(Position, Size, Parent, ...)
1048
			local arguments = {...};
1049
			
1050
			local TextBox = Instance.new("TextBox", Parent);
1051
			TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
1052
			TextBox.BorderColor3 = GUI.DropDown.Color.Border;
1053
			TextBox.Font = GUI.TextBox.Settings.Font;
1054
			TextBox.FontSize = GUI.TextBox.Settings.FontSize;
1055
			TextBox.TextColor3 = GUI.TextBox.Color.Text;
1056
			TextBox.Position = Position;
1057
			TextBox.Size = Size;
1058
			if #arguments then
1059
				if arguments[1] then
1060
					TextBox.Text = tostring(arguments[1]);
1061
				else
1062
					TextBox.Text = "";
1063
				end	
1064
			end		
1065
			return TextBox;
1066
		end;
1067
	};
1068
	DropDown = {
1069
		Settings = {
1070
			ScrollerAmount = 5; --A scroller will appear at this amount.
1071
			ScrollBarThickness = 6;
1072
		};
1073
		Gfx = {
1074
			Scroller = "rbxassetid://606572419";
1075
		};
1076
		Color = {
1077
			Main = color3(107, 36, 36);
1078
			Secondary = color3(113, 39, 39);
1079
			Border = color3(127, 44, 44);
1080
			Text = Color3.fromRGB(199,199,199);
1081
		};
1082
		New = function(Position, Size, Parent, ...)
1083
			local vValue = {};
1084
			local arguments = {...};
1085
			local vSelected = Instance.new("StringValue");
1086
			vSelected.Value = "nil";
1087
			
1088
			if arguments then
1089
				if type(arguments) == "table" then
1090
					for i=1,#(arguments) do
1091
						if type(arguments[i]) == "table" then
1092
							for f=1,#(arguments[i]) do
1093
								table.insert(vValue, tostring((arguments[i])[f]));
1094
							end
1095
						else
1096
							table.insert(vValue, tostring(arguments[i]));
1097
						end
1098
					end
1099
					vSelected.Value = (vValue[1]);
1100
				end
1101
			end
1102
			
1103
			local Main = Instance.new("TextButton", Parent);
1104
			Main.BackgroundColor3 = GUI.DropDown.Color.Main;
1105
			Main.BorderColor3 = GUI.DropDown.Color.Border;
1106
			Main.Position = Position;
1107
			Main.Size = Size;
1108
			Main.TextColor3 = GUI.DropDown.Color.Text;
1109
			Main.FontSize = Enum.FontSize.Size14;
1110
			Main.TextStrokeTransparency = 0.5;
1111
			Main.TextXAlignment = Enum.TextXAlignment.Left;
1112
			Main.Font = Enum.Font.SourceSans;
1113
			Main.Text = "  "..tostring(vSelected.Value);
1114
			Main.ZIndex = 3
1115
			
1116
			local Icon = Instance.new("TextLabel", Main);
1117
			Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
1118
			Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
1119
			Icon.BorderColor3 = GUI.DropDown.Color.Border;
1120
			Icon.Position = UDim2.new(1,-2,1,-2);
1121
			Icon.Size = UDim2.new(-1,4,-1,4);
1122
			Icon.TextColor3 = GUI.DropDown.Color.Text;
1123
			Icon.FontSize = Enum.FontSize.Size14;
1124
			Icon.TextStrokeTransparency = 0.5;
1125
			Icon.Font = Enum.Font.SourceSans;
1126
			Icon.Text = "V"
1127
			Icon.ZIndex = 4
1128
1129
			local Holder, Search;
1130
			local ClearHolder = function()
1131
				if Holder then
1132
					Holder:ClearAllChildren();
1133
					Holder.Size = UDim2.new(1,0,0,0);
1134
					Holder.Visible = false;
1135
					if Search then
1136
						Search.Visible = false;
1137
					end
1138
				end
1139
			end;
1140
			
1141
			local CreateButton;
1142
			local RefreshDropDown = function()
1143
				if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
1144
					if not Holder or not Holder:IsA("Frame") then
1145
						Holder = nil; Search = nil;
1146
						Holder = Instance.new("Frame",Main);
1147
						Holder.Size = UDim2.new(1,0,0,0);
1148
						Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
1149
						Holder.BorderColor3 = GUI.DropDown.Color.Border;
1150
						Holder.Visible = false;
1151
						Holder.ZIndex = 3
1152
					end
1153
				elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
1154
					if not Holder or not Holder:IsA("ScrollingFrame") then
1155
						Holder = nil; Search = nil;
1156
						Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
1157
						Search.Visible = false;
1158
						Search.ZIndex = 4
1159
						Search.Changed:connect(function(p)
1160
							if p == "Text" then
1161
								CreateButton(Search.Text);
1162
							end
1163
						end)
1164
						Holder = Instance.new("ScrollingFrame",Main);
1165
						Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
1166
						Holder.BorderColor3 = GUI.DropDown.Color.Border;
1167
						Holder.TopImage = GUI.DropDown.Gfx.Scroller;
1168
						Holder.MidImage = GUI.DropDown.Gfx.Scroller;
1169
						Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
1170
						Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
1171
						Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
1172
						Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
1173
						Holder.Visible = false;
1174
						Holder.ZIndex = 3;
1175
					end
1176
				end
1177
				if #vValue == 1 and vSelected.Value ~= vValue[1] then
1178
					vSelected.Value = vValue[1];
1179
				elseif #vValue == 0 then
1180
					vSelected.Value = "nil";
1181
					warn("Table amount is nil.");
1182
				end
1183
				Main.Text = "  "..tostring(vSelected.Value);
1184
				--ClearHolder();
1185
			end;
1186
			
1187
			local Debounce = false;
1188
			CreateButton = function(searches)
1189
				if Debounce == false then
1190
					Debounce = true;
1191
					ClearHolder()
1192
					Holder.Visible = true;
1193
					local Searched = 0;
1194
					if #vValue > 0 then
1195
						for i=1,#vValue do
1196
							if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
1197
								Searched = Searched + 1;
1198
							end
1199
						end
1200
						for i=1,#vValue do
1201
							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
1202
								local Select = Instance.new("TextButton", Holder);
1203
								Select.BackgroundColor3 = GUI.DropDown.Color.Main;
1204
								Select.BorderColor3 = GUI.DropDown.Color.Border;
1205
								Select.BackgroundTransparency = 1;
1206
								Select.BorderSizePixel = 0;
1207
								Select.Position = Position;
1208
								if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
1209
									Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
1210
								else
1211
									Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
1212
								end
1213
								Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1)) 
1214
								Select.TextColor3 = GUI.DropDown.Color.Text;
1215
								Select.FontSize = Enum.FontSize.Size14;
1216
								Select.TextStrokeTransparency = 0.5;
1217
								Select.Font = Enum.Font.SourceSans;
1218
								Select.Text = tostring(vValue[i]);
1219
								Select.ZIndex = 3
1220
								Select.MouseButton1Click:connect(function()
1221
									vSelected.Value = vValue[i];
1222
									ClearHolder();
1223
									RefreshDropDown();
1224
								end)
1225
								if  #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
1226
									Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
1227
								elseif Holder:IsA("ScrollingFrame") then
1228
									Search.Visible = true;
1229
									if #Holder:GetChildren() >= 1 then
1230
										Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
1231
										Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
1232
										if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
1233
											Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
1234
											Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
1235
										end
1236
									elseif #Holder:GetChildren() < 1 then
1237
										Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
1238
										Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
1239
									end
1240
								end
1241
							end
1242
						end
1243
					end
1244
					Debounce = false;
1245
				end
1246
			end;
1247
			
1248
			RefreshDropDown();
1249
1250
			Main.MouseButton1Click:connect(function()
1251
				CreateButton()
1252
				if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
1253
					Search:CaptureFocus();
1254
					Search.Text = "";
1255
				end
1256
			end)
1257
			
1258
			topkek.lplr:GetMouse().Button1Down:connect(function()
1259
				ClearHolder()
1260
			end)
1261
1262
			return {
1263
				Update = function()
1264
					RefreshDropDown();
1265
				end;
1266
				GetValue = function()
1267
					RefreshDropDown();
1268
					return vValue;
1269
				end;
1270
				GetSelected = function()
1271
					RefreshDropDown();
1272
					return vSelected.Value;
1273
				end;
1274
				SetTable = function(F)
1275
					vValue = F;
1276
					RefreshDropDown(); 
1277
				end;
1278
				Changed = function(F)
1279
					vSelected.Changed:connect(function()
1280
						ypcall(function() 
1281
							F(vSelected.Value);
1282
						end)
1283
					end)
1284
					return "ChangedEvent Hooked";
1285
				end;
1286
				AddValue = function(obj)
1287
					local Type = type(obj);
1288
					if Type == "table" then
1289
						for i=1,#obj do
1290
							table.insert(vValue, obj[i])
1291
						end
1292
					elseif Type == "string" or Type == "number" or Type == "boolean" then
1293
						table.insert(vValue, obj)
1294
					end
1295
					RefreshDropDown();
1296
				end;
1297
				RemoveValue = function(obj)
1298
					local Type = type(obj);
1299
					if Type == "table" then
1300
						for i=1,#vValue do
1301
							for f=1,#obj do
1302
								if tostring(obj[f]) == tostring(vValue[i]) then
1303
									table.remove(vValue,i)
1304
								end
1305
							end
1306
						end
1307
					else
1308
						for i=1,#vValue do
1309
							if tostring(obj) == tostring(vValue[i]) then
1310
								table.remove(vValue,i)
1311
							end
1312
						end
1313
					end
1314
					RefreshDropDown();
1315
				end;
1316
				ClearValue = function()
1317
					vValue = {};
1318
					RefreshDropDown();
1319
				end;
1320
			}
1321
		end;
1322
	};
1323
};
1324
--// util //--
1325
function topkek.tools.util.Object(o, p)
1326
	local a, b = pcall(function()
1327
		Instance.new(o)
1328
	end)
1329
	if not a then
1330
		return
1331
	end
1332
	local obj = Instance.new(o)
1333
	for prop, val in pairs(p) do
1334
		pcall(function()
1335
			obj[prop] = val 
1336
		end)
1337
	end
1338
	return obj
1339
end
1340
1341
function topkek.tools.util.getContainer(n)
1342
	if topkek.holder:FindFirstChild(n) then
1343
		return topkek.holder[n]
1344
	else
1345
		print("menu not found; returning template")
1346
		return topkek.holder['Template']
1347
	end
1348
end
1349
1350
function topkek.tools.util.play(id)
1351
	local mu = Instance.new("Sound", game:GetService('Workspace'))
1352
	mu.Volume = 1
1353
	mu.Looped = true
1354
	mu.Pitch = 1
1355
	mu.SoundId = "rbxassetid://"..tostring(id)
1356
	mu:Play()
1357
end
1358
1359
function topkek.tools.util.getTorso(plr) --r15 compatibility lole
1360
	if plr.Character then
1361
		if plr.Character:FindFirstChild('UpperTorso') then
1362
			return plr.Character.UpperTorso
1363
		elseif plr.Character:FindFirstChild('Torso') then
1364
			return plr.Character.Torso
1365
		else
1366
			return nil
1367
		end
1368
	end
1369
end
1370
1371
function topkek.tools.util.recurseRemove(x,type_)
1372
	local function recurse(x)
1373
		for i, v in pairs(x:GetChildren()) do
1374
			pcall(function()
1375
				if v:IsA(type_) then
1376
					v:Destroy()
1377
				end
1378
				if #(v:GetChildren())>0 then
1379
					recurse(v)
1380
				end
1381
			end)
1382
		end
1383
	end
1384
	recurse(x)
1385
end
1386
1387
function topkek.tools.util.recurseFunc(type_,func)
1388
	local function recurse(x)
1389
		for i, v in pairs(x:GetChildren()) do
1390
			pcall(function()
1391
				if v:IsA(type_) then
1392
					func(v)
1393
				end
1394
				if #(v:GetChildren())>0 then
1395
					recurse(v)
1396
				end
1397
			end)
1398
		end
1399
	end
1400
	recurse(game)
1401
end
1402
function topkek.tools.util.trowel()
1403
	local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
1404
	T.Name = 'Custom Trowel'
1405
	
1406
	local p = Instance.new('Part')
1407
	p.Name = 'Handle'
1408
	p.Size = Vector3.new(1,4.4,1)
1409
	p.Parent = T
1410
	
1411
	local specialMesh = Instance.new('SpecialMesh')
1412
	specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
1413
	specialMesh.MeshType = 'FileMesh'
1414
	specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
1415
	specialMesh.Parent = T.Handle
1416
	
1417
	local sound = Instance.new'Sound'
1418
	sound.Name = 'build'
1419
	sound.SoundId = 'rbxasset://sounds//bass.wav'
1420
	sound.Volume = 1
1421
	sound.Parent = T.Handle
1422
	 
1423
	local brickHeight = 100
1424
	local trowelSpeed = 0.05
1425
	local brickWidth = 500
1426
	local mouseConnection
1427
	 
1428
	function newBrick(CF, P, color)
1429
	 local brick = Instance.new('Part')
1430
	 brick.BrickColor = color
1431
	 brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
1432
	 brick.Parent = game.Workspace
1433
	 brick:MakeJoints()
1434
	 brick.Material = 'Neon'
1435
	 brick.Name = 'DeleteMe'
1436
	 return  brick, P + brick.Size
1437
	end
1438
	 
1439
	function genBrick(cFrame)
1440
	 local randBrickColor = BrickColor.Random()
1441
	 assert(brickWidth > 0)
1442
	 
1443
	 local yPos = 0
1444
	 
1445
	 while yPos < brickHeight do
1446
	  local vPos
1447
	  local X = -brickWidth / 2
1448
	  while X < brickWidth / 2 do
1449
	   local brick
1450
	   brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
1451
	   X = vPos.x
1452
	   wait(trowelSpeed)
1453
	  end
1454
	  yPos = vPos.y
1455
	 end
1456
	end
1457
	 
1458
	function calcPos(vec)
1459
	 if (math.abs(vec.x) > math.abs(vec.z)) then
1460
	  if vec.x > 0 then
1461
	   return Vector3.new(1, 0, 0)
1462
	  else
1463
	   return Vector3.new(-1, 0, 0)
1464
	  end
1465
	 else
1466
	  if (vec.z > 0) then
1467
	   return Vector3.new(0, 0, 1)
1468
	  else
1469
	   return Vector3.new(0, 0, -1)
1470
	  end
1471
	 end
1472
	end
1473
	 
1474
	T.Enabled = true
1475
	
1476
	T.Activated:connect(function()
1477
	 if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
1478
	  T.Enabled = false
1479
	  T.Handle.build:Play()
1480
	  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)))
1481
	  T.Enabled = true
1482
	 end
1483
	end)
1484
	
1485
	T.Equipped:connect(function()
1486
	 mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
1487
	  if (key == 'r') then
1488
	   for i,v in next, workspace:children'' do
1489
	    if (v.Name == 'DeleteMe') then
1490
	     v:Destroy()
1491
	    end
1492
	   end
1493
	  end
1494
	 end)
1495
	end)
1496
	
1497
	T.Unequipped:connect(function()
1498
	 mouseConnection:disconnect()
1499
	end)
1500
end
1501
function topkek.tools.util.recurseSet(type_,prop,val)
1502
	local function recurse(x)
1503
		for i, v in pairs(x:GetChildren()) do
1504
			pcall(function()
1505
				if v:IsA(type_) then
1506
					v[prop]=val
1507
				end
1508
				if #(v:GetChildren())>0 then
1509
					recurse(v)
1510
				end
1511
			end)
1512
		end
1513
	end
1514
	recurse(game)
1515
end
1516
function topkek.tools.util.recurseUltimate(d)
1517
	topkek.tools.util.recurseDecal(d)
1518
	topkek.tools.util.recurseParticles(d)
1519
end
1520
function topkek.tools.util.recurseDecal(img)
1521
	img = 'rbxassetid://' .. img
1522
	local function skybox(x)
1523
		local sky = Instance.new("Sky",game.Lighting)
1524
		local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
1525
		for i,v in pairs(fcs) do
1526
			sky["Skybox"..v]=x
1527
		end
1528
	end
1529
	
1530
	local function decal(p, b)
1531
		local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
1532
		for i, v in pairs(sides) do
1533
			local a = Instance.new("Decal", p)
1534
			a.Texture = b
1535
			a.Face = v
1536
		end
1537
	end
1538
			
1539
	local function recurse(x)
1540
		for i, v in pairs(x:GetChildren()) do
1541
			pcall(function() -- 'error occured, no output from Lua' LOLE
1542
				if v:IsA("BasePart") then
1543
					decal(v, img)
1544
				end
1545
				if #(v:GetChildren())>0 then
1546
					recurse(v)
1547
				end
1548
			end)
1549
		end
1550
	end
1551
			
1552
	recurse(game)
1553
	skybox(img)
1554
end
1555
function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
1556
	img = 'rbxassetid://' .. img
1557
	local function skybox(x)
1558
		local sky = Instance.new("Sky",game.Lighting)
1559
		local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
1560
		for i,v in pairs(fcs) do
1561
			sky["Skybox"..v]=x
1562
		end
1563
	end
1564
	local function particle(p, b)
1565
		local a = Instance.new("ParticleEmitter", p)
1566
		a.Rate = 500
1567
		a.Lifetime = NumberRange.new(20, 30)
1568
		a.VelocitySpread = 200
1569
		a.Texture = b
1570
	end
1571
			
1572
	local function recurse(x)
1573
		for i, v in pairs(x:GetChildren()) do
1574
			pcall(function() -- 'error occured, no output from Lua' LOLE
1575
				if v:IsA("BasePart") then
1576
					particle(v, img)
1577
				end
1578
				if #(v:GetChildren())>0 then
1579
					recurse(v)
1580
				end
1581
			end)
1582
		end
1583
	end
1584
			
1585
	recurse(game)
1586
	skybox(img)
1587
end
1588
function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
1589
	local function recurse(x)
1590
		for i, v in pairs(x:GetChildren()) do
1591
			pcall(function()
1592
				if v:IsA(type_) then
1593
					v[prop]=val
1594
				end
1595
				if #(v:GetChildren())>0 then
1596
					recurse(v)
1597
				end
1598
			end)
1599
		end
1600
	end
1601
	recurse(obj)
1602
end
1603
function topkek.tools.util.doPlayers(cval, func)
1604
	local plrs = {}
1605
	if cval == 'All' then
1606
		plrs = game:GetService('Players'):GetPlayers()
1607
	else
1608
		plrs = {game:GetService('Players'):FindFirstChild(cval)}
1609
	end
1610
	for i, v in pairs(plrs) do
1611
		func(v)
1612
	end
1613
end
1614
function topkek.tools.util.scalePlayer(sc,plr)
1615
	local pchar = plr.Character
1616
	if pchar:FindFirstChild("UpperTorso") then
1617
		warn("Player [" ..plr.Name.. "] is R15.")
1618
		return
1619
	end
1620
	local function scale(chr,scl)
1621
	
1622
		for _,v in pairs(pchar:GetChildren()) do
1623
			if v:IsA("Hat") then
1624
				v:Clone()
1625
				v.Parent = game.Lighting
1626
			end
1627
		end
1628
			
1629
	    local Head = chr['Head']
1630
	    local Torso = chr['Torso']
1631
	    local LA = chr['Left Arm']
1632
	    local RA = chr['Right Arm']
1633
	    local LL = chr['Left Leg']
1634
	    local RL = chr['Right Leg']
1635
	    local HRP = chr['HumanoidRootPart']
1636
	
1637
	    wait(0.1)
1638
	   
1639
	    Head.formFactor = 3
1640
	    Torso.formFactor = 3
1641
	    LA.formFactor = 3
1642
	    RA.formFactor = 3
1643
	    LL.formFactor = 3
1644
	    RL.formFactor = 3
1645
	    HRP.formFactor = 3
1646
	    
1647
	    Head.Size = Vector3.new(scl * 2, scl, scl)
1648
	    Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
1649
	    LA.Size = Vector3.new(scl, scl * 2, scl)
1650
	    RA.Size = Vector3.new(scl, scl * 2, scl)
1651
	    LL.Size = Vector3.new(scl, scl * 2, scl)
1652
	    RL.Size = Vector3.new(scl, scl * 2, scl)
1653
	    HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
1654
	    
1655
	    local Motor1 = Instance.new('Motor6D', Torso)
1656
	    Motor1.Part0 = Torso
1657
	    Motor1.Part1 = Head
1658
    	Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
1659
    	Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
1660
    	Motor1.Name = "Neck"
1661
			    
1662
    	local Motor2 = Instance.new('Motor6D', Torso)
1663
    	Motor2.Part0 = Torso
1664
    	Motor2.Part1 = LA
1665
    	Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1666
    	Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1667
    	Motor2.Name = "Left Shoulder"
1668
    	
1669
    	local Motor3 = Instance.new('Motor6D', Torso)
1670
   		Motor3.Part0 = Torso
1671
    	Motor3.Part1 = RA
1672
    	Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1673
    	Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1674
    	Motor3.Name = "Right Shoulder"
1675
    	
1676
    	local Motor4 = Instance.new('Motor6D', Torso)
1677
    	Motor4.Part0 = Torso
1678
    	Motor4.Part1 = LL
1679
    	Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1680
    	Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
1681
    	Motor4.Name = "Left Hip"
1682
    	
1683
    	local Motor5 = Instance.new('Motor6D', Torso)
1684
    	Motor5.Part0 = Torso
1685
    	Motor5.Part1 = RL
1686
    	Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1687
    	Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
1688
    	Motor5.Name = "Right Hip"
1689
    	
1690
    	local Motor6 = Instance.new('Motor6D', HRP)
1691
    	Motor6.Part0 = HRP
1692
    	Motor6.Part1 = Torso
1693
    	Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
1694
    	Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
1695
    	    
1696
	end
1697
	
1698
	scale(pchar, sc)
1699
	
1700
	for _,v in pairs(game.Lighting:GetChildren()) do
1701
		if v:IsA("Hat") then
1702
			v.Parent = pchar
1703
		end
1704
	end
1705
end
1706
function topkek.tools.util.applyFace(id)
1707
	local Char = topkek.lplr.Character
1708
	if(Char)then
1709
		local Type = id
1710
		local Meme=id
1711
		local BBG_SIZE=Char.Head.Size.X*1.25;
1712
		local STUD_VECTOR_1=Char.Head.Size.Z/4;
1713
		local STUD_VECTOR_2=Char.Head.Size.Z;
1714
		local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
1715
			bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
1716
			bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
1717
			bbg.Adornee=Char.Head;
1718
			bbg.Name='BBGMEME';
1719
		local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
1720
			img.BackgroundTransparency=1;
1721
			img.Image="rbxassetid://"..Meme;
1722
			img.Size=UDim2.new(1,0,1,0)
1723
			img.Name='Meme';
1724
		for i,v in next,Char:children()do
1725
			if(v.className=='Hat')then
1726
				v=v:FindFirstChild'Handle';
1727
				if(v)then
1728
					v.Transparency=0
1729
				end;
1730
			end;
1731
		end;
1732
	end;
1733
end;
1734
function topkek.tools.util.weenieHutJunior(plr)
1735
	plr=plr.Character
1736
	Shaft=Instance.new("Part", plr)
1737
	Shaft.Name='Shaft'
1738
	Shaft.Size=Vector3.new(1, 2.5, 1)
1739
	Shaft.TopSurface=0
1740
	Shaft.BottomSurface=0
1741
	Shaft.CanCollide=true
1742
	Cyln=Instance.new("CylinderMesh", Shaft)
1743
	Cyln.Scale=Vector3.new(0.5,0.7,0.5)
1744
	Instance.new("Weld", plr)
1745
	plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
1746
	plr.Weld.Part1=plr.Shaft 
1747
	plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0) 
1748
	Shaft.BrickColor=BrickColor.new("Pastel brown")
1749
	Tip=Instance.new("Part", plr)
1750
	Tip.Name='Tip'
1751
	Tip.TopSurface=0
1752
	Tip.BottomSurface=0
1753
	Tip.Size=Vector3.new(1, 1, 1)
1754
	Tip.CanCollide=true
1755
	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)
1756
	Cyln2=Instance.new("SpecialMesh", Tip)
1757
	Cyln2.MeshType='Sphere'
1758
	Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
1759
	Instance.new("Weld", plr).Name='Weld2'
1760
	plr.Weld2.Part0=plr.Shaft
1761
	plr.Weld2.Part1=plr.Tip 
1762
	plr.Weld2.C0=CFrame.new(0,-.9,0)
1763
	Tip.BrickColor=BrickColor.new("Pink")
1764
	-----
1765
	Ball1=Instance.new("Part", plr)
1766
	Ball1.Name='Ball1'
1767
	Ball1.Size=Vector3.new(1, 1, 1)
1768
	Ball1.TopSurface=0
1769
	Ball1.BottomSurface=0
1770
	Cyln3=Instance.new("SpecialMesh", Ball1)
1771
	Cyln3.MeshType='Sphere'
1772
	Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
1773
	Instance.new("Weld", plr).Name='Weld3'
1774
	plr.Weld3.Part0=plr.Shaft
1775
	plr.Weld3.Part1=plr.Ball1 
1776
	plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
1777
	Ball1.BrickColor=BrickColor.new("Pastel brown")
1778
	-----
1779
	Ball2=Instance.new("Part", plr)
1780
	Ball2.Name='Ball2'
1781
	Ball2.Size=Vector3.new(1, 1, 1)
1782
	Ball2.TopSurface=0
1783
	Ball2.BottomSurface=0
1784
	Cyln3=Instance.new("SpecialMesh", Ball2)
1785
	Cyln3.MeshType='Sphere'
1786
	Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
1787
	Instance.new("Weld", plr).Name='Weld4'
1788
	plr.Weld4.Part0=plr.Shaft
1789
	plr.Weld4.Part1=plr.Ball2 
1790
	plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
1791
	Ball2.BrickColor=BrickColor.new("Pastel brown")
1792
end
1793
--// banmgr //--
1794
topkek.banmgr.isPrivate = false
1795
topkek.banmgr.whitelist = {}
1796
topkek.banmgr.bans = {}
1797
function topkek.banmgr.executeKick(z)
1798
	local function doKick()
1799
        if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
1800
            z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
1801
            local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
1802
            spawn(function()
1803
                repeat wait()
1804
                    if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
1805
                        SP.Position = z.Character.HumanoidRootPart.Position
1806
                    end
1807
                until not game:GetService('Players'):FindFirstChild(z.Name)
1808
            end)
1809
            z.Character.Torso.Anchored = true
1810
        end
1811
	end
1812
	repeat
1813
		doKick()
1814
		wait()
1815
	until not z
1816
end
1817
function topkek.banmgr.loadFromFile()
1818
	-- todo: read file
1819
	topkek.settings.get()
1820
	topkek.banmgr.bans = topkek.settingsTable['Bans']
1821
end
1822
function topkek.banmgr.addHardBan(p)
1823
	-- todo: write file
1824
	table.insert(topkek.banmgr.bans, p.Name)
1825
	topkek.settings.get()
1826
	table.insert(topkek.settingsTable['Bans'], p.Name)
1827
	topkek.settings.write()
1828
	print("Hardbanned " .. p.Name)
1829
	UpdateBanlist()
1830
	topkek.banmgr.executeKick(p)
1831
	topkek.banmgr.loadFromFile()
1832
end
1833
function topkek.banmgr.addSoftBan(p)
1834
	table.insert(topkek.banmgr.bans, p.Name)
1835
	topkek.banmgr.executeKick(p)
1836
end
1837
function topkek.banmgr.plrBanned(p)
1838
	for x, m in pairs(topkek.banmgr.bans) do
1839
		if m == p.Name then
1840
			return true
1841
		end
1842
	end	
1843
	return false
1844
end
1845
function topkek.banmgr.doWhitelist(p)
1846
	print(p .. " whitelisted")
1847
	table.insert(topkek.banmgr.whitelist, p)
1848
end
1849
function topkek.banmgr.unwhitelist(p)
1850
	for x, m in pairs(topkek.banmgr.whitelist) do
1851
		if m == p then
1852
			print(m .. " unwhitelisted")
1853
			table.remove(topkek.banmgr.whitelist, x)
1854
			if game:GetService('Players'):FindFirstChild(p) then
1855
				topkek.banmgr.executeKick(game:GetService('Players')[p])
1856
			end
1857
		end
1858
	end	
1859
end
1860
function topkek.banmgr.plrWhitelisted(p)
1861
	for x, m in pairs(topkek.banmgr.whitelist) do
1862
		if m == p.Name then
1863
			return true
1864
		end
1865
	end	
1866
	return false
1867
end
1868
function topkek.banmgr.makePrivate()
1869
	topkek.banmgr.isPrivate = true
1870
	for i, v in pairs(game:GetService('Players'):GetPlayers()) do
1871
		if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
1872
			spawn(function()
1873
				topkek.banmgr.executeKick(v)
1874
			end)
1875
		end
1876
	end
1877
end
1878
function topkek.banmgr.unprivate()
1879
	topkek.banmgr.isPrivate = false
1880
end
1881
function topkek.banmgr.init()
1882
	topkek.banmgr.loadFromFile()
1883
	game:GetService('Players').PlayerAdded:connect(function(p)
1884
		if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
1885
			print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
1886
			topkek.banmgr.executeKick(p)
1887
		end
1888
	end)
1889
end
1890
--// settings //--
1891
topkek.settings = {}
1892
topkek.settingsTable = {}
1893
function topkek.settings.write()
1894
	writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
1895
end
1896
function topkek.settings.get()
1897
if game.Players.LocalPlayer.Character then
1898
		print("No settings! Making new ...")
1899
		topkek.settingsTable = {
1900
			['Bans'] = {
1901
				
1902
			},
1903
			['Themes'] = {
1904
				{Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
1905
			};
1906
		}
1907
		topkek.settings.write()
1908
		return topkek.settingsTable
1909
	else
1910
		local lset = game:GetService('HttpService'):JSONDecode(set)
1911
		topkek.settingsTable = lset
1912
		return lset
1913
end
1914
end
1915
--// shortcuts //--
1916
tk = {}
1917
tk.ob = topkek.tools.util.Object
1918
tk.dp = topkek.tools.util.doPlayers
1919
tk.rcm = topkek.tools.util.recurseRemove
1920
tk.rcs = topkek.tools.util.recurseSet
1921
tk.rcf = topkek.tools.util.recurseFunc
1922
tk.rco = topkek.tools.util.recurseSetObj
1923
tk.play = topkek.tools.util.play
1924
tk.gt = topkek.tools.util.getTorso
1925
--// gui //--
1926
-- copying this from topkek3.0 because i'm
1927
-- too lazy to rewrite my lib
1928
topkek.tools.gui.seperation = 12
1929
function topkek.tools.gui:addLeftIcon(parent, img, sz)
1930
	topkek.tools.util.Object('ImageLabel', {
1931
		Parent = parent;
1932
		BackgroundTransparency = 1;
1933
		Position = UDim2.new(0, 2, 0, 2);
1934
		Size = UDim2.new(0, sz, 0, sz);
1935
		Image = img;
1936
	})
1937
end
1938
function topkek.tools.gui:makeContainer(n)
1939
	local temp = topkek.template:Clone()
1940
	temp.Name = n
1941
	temp.Parent = topkek.holder
1942
	temp.Container.Visible = false
1943
end
1944
function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
1945
	if not o:IsA("ScrollingFrame") and (not ncan) then
1946
		return nil
1947
	elseif o:IsA("ScrollingFrame") then
1948
		o.CanvasSize = UDim2.new(0, 0, 0, 0)
1949
	end
1950
	
1951
	local self = {}
1952
	self.main = o
1953
	self.drawX = 0
1954
	self.drawY = stt or topkek.tools.gui.seperation/2
1955
	self.drawHeight = 0
1956
	self.sepr = sepr or topkek.tools.gui.seperation
1957
	
1958
	function self:drawButton(sz, txt, func, ysz, cbgd)
1959
		local xposOffset = 0
1960
		local xposScale = self.drawX
1961
		local xszOffset = 0
1962
		local xszScale = sz
1963
		if not (self.drawX == 0)  then
1964
			xszOffset = -5
1965
			if sz + self.drawX > 0.998 then
1966
				xszOffset = -10
1967
			end
1968
		elseif sz == 1 then
1969
			local bzz = 4
1970
			if ncan then
1971
				bzz = 0
1972
			end
1973
			xszOffset = -(self.sepr) - bzz
1974
			xposOffset = self.sepr/2
1975
		else
1976
			xszOffset = -4 + -(self.sepr/2)
1977
			xposOffset = self.sepr/2
1978
		end
1979
		if not ysz then ysz = 20 end
1980
		local obj = topkek.tools.util.Object("TextButton", {
1981
			Parent = self.main;
1982
			BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
1983
			BorderSizePixel = 0;
1984
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
1985
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
1986
			Font = 'SourceSans';
1987
			FontSize = 'Size14';
1988
			Text = txt;
1989
			TextSize = 14;
1990
			TextColor3 = Color3.new(199/255, 199/255, 199/255);
1991
		})
1992
		obj.MouseButton1Down:connect(function()
1993
			spawn(func)
1994
		end)
1995
		if ysz > self.drawHeight then
1996
			self.drawHeight = ysz
1997
		end
1998
		self.drawX = self.drawX + sz
1999
		if self.drawX > 0.998 then
2000
			self.drawY = self.drawY + 3 + self.drawHeight
2001
			self.drawX = 0
2002
			self.drawHeight = 0
2003
			if (not ncan) then
2004
				self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
2005
			end
2006
		end
2007
		return obj
2008
	end
2009
	
2010
	function self:GetChildren()
2011
		return self.main:GetChildren()
2012
	end
2013
	
2014
	function self:getDrawY()
2015
		return self.drawY
2016
	end
2017
	
2018
	function self:setDrawY(y)
2019
		self.drawY = y
2020
	end
2021
	
2022
	function self:drawTextBox(sz, txt, ysz, cbgd)
2023
		local xposOffset = 0
2024
		local xposScale = self.drawX
2025
		local xszOffset = 0
2026
		local xszScale = sz
2027
		if not (self.drawX == 0)  then
2028
			xszOffset = -5
2029
			if sz + self.drawX > 0.998 then
2030
				xszOffset = -10
2031
			end
2032
		elseif sz == 1 then
2033
			xszOffset = -(self.sepr) - 5
2034
			xposOffset = self.sepr/2
2035
		else
2036
			xszOffset = -4 + -(self.sepr/2)
2037
			xposOffset = self.sepr/2
2038
		end
2039
		if not ysz then ysz = 20 end
2040
		local obj = topkek.tools.util.Object("TextBox", {
2041
			Parent = self.main;
2042
			BackgroundColor3 = cbgd or color3(153, 52, 52); 
2043
			BorderSizePixel = 0;
2044
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
2045
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
2046
			Font = 'SourceSans';
2047
			FontSize = 'Size14';
2048
			Text = txt;
2049
			TextSize = 14;
2050
			TextColor3 = Color3.new(199/255, 199/255, 199/255);
2051
		})
2052
		if ysz > self.drawHeight then
2053
			self.drawHeight = ysz
2054
		end
2055
		self.drawX = self.drawX + sz
2056
		if self.drawX > 0.998 then
2057
			self.drawY = self.drawY + 3 + self.drawHeight
2058
			self.drawX = 0
2059
			self.drawHeight = 0
2060
			self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
2061
		end
2062
		return obj
2063
	end
2064
	
2065
	function self:drawImage(sz, img, ysz)
2066
		local xposOffset = 0
2067
		local xposScale = self.drawX
2068
		local xszOffset = 0
2069
		local xszScale = sz
2070
		if not (self.drawX == 0)  then
2071
			xszOffset = -5
2072
			if sz + self.drawX > 0.998 then
2073
				xszOffset = -12
2074
			end
2075
		elseif sz == 1 then
2076
			xszOffset = -(self.sepr) - 5
2077
			xposOffset = self.sepr/2
2078
		else
2079
			xszOffset = -5 + -(self.sepr/2)
2080
			xposOffset = self.sepr/2
2081
		end
2082
		if not ysz then ysz = 20 end
2083
		local obj = topkek.tools.util.Object("ImageLabel", {
2084
			Parent = self.main;
2085
			BackgroundTransparency = 1;
2086
			BorderColor3 = Color3.new(27, 42, 53);
2087
			BorderSizePixel = 0;
2088
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
2089
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
2090
			Image = img;
2091
		})
2092
		if ysz > self.drawHeight then
2093
			self.drawHeight = ysz
2094
		end
2095
		self.drawX = self.drawX + sz
2096
		if self.drawX > 0.998 then
2097
			self.drawY = self.drawY + 3 + self.drawHeight
2098
			self.drawX = 0
2099
			self.drawHeight = 0
2100
			if (not ncan) then
2101
				self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
2102
			end
2103
		end
2104
		return obj
2105
	end
2106
	
2107
	function self:drawText(sz, txt, ysz)
2108
		local xposOffset = 0
2109
		local xposScale = self.drawX
2110
		local xszOffset = 0
2111
		local xszScale = sz
2112
		if not (self.drawX == 0)  then
2113
			xszOffset = -5
2114
			if sz + self.drawX > 0.998 then
2115
				xszOffset = -10
2116
			end
2117
		elseif sz == 1 then
2118
			local bzz = 5
2119
			if ncan then
2120
				bzz = 0
2121
			end
2122
			xszOffset = -(self.sepr) - bzz
2123
			xposOffset = self.sepr/2
2124
		else
2125
			xszOffset = -4 + -(self.sepr/2)
2126
			xposOffset = self.sepr/2
2127
		end
2128
		if not ysz then ysz = 20 end
2129
		local obj = topkek.tools.util.Object("TextLabel", {
2130
			Parent = self.main;
2131
			BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
2132
			BorderSizePixel = 0;
2133
			Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
2134
			Size = UDim2.new(xszScale, xszOffset, 0, ysz);
2135
			Font = 'SourceSans';
2136
			FontSize = 'Size14';
2137
			Text = txt;
2138
			TextSize = 14;
2139
			TextColor3 = Color3.new(199/255, 199/255, 199/255);
2140
2141
		})
2142
		if ysz > self.drawHeight then
2143
			self.drawHeight = ysz
2144
		end
2145
		self.drawX = self.drawX + sz
2146
		if self.drawX > 0.998 then
2147
			self.drawY = self.drawY + 3 + self.drawHeight
2148
			self.drawX = 0
2149
			self.drawHeight = 0
2150
			if (not ncan) then
2151
				self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
2152
			end
2153
		end
2154
		return obj
2155
	end
2156
	
2157
	
2158
	function self:drawScrollingContainer(ysz)
2159
		local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
2160
		local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
2161
		local obj = topkek.tools.util.Object("ScrollingFrame", {
2162
			Parent = self.main;
2163
			BackgroundColor3 = color3(117, 42, 42);
2164
			BorderSizePixel = 0;
2165
			Position = pos;
2166
			Size = sz;
2167
			BottomImage = 'rbxassetid://368504177';
2168
			MidImage = 'rbxassetid://368504177';
2169
			TopImage = 'rbxassetid://368504177';
2170
			ScrollBarThickness = 5;
2171
		})
2172
		
2173
		self.drawY = self.drawY + 5 + ysz
2174
		self.drawX = 0
2175
		self.drawHeight = 0
2176
		if (not ncan) then
2177
			self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
2178
		end
2179
		return topkek.tools.gui:hookContainer(obj, false, 10, 3)
2180
	end
2181
	
2182
	function self:drawContainer(xsz, ysz, xz, tz, sep)
2183
		local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
2184
		local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
2185
		local obj = topkek.tools.util.Object("Frame", {
2186
			Parent = self.main;
2187
			BackgroundColor3 = color3(117, 42, 42);
2188
			BorderSizePixel = 0;
2189
			Position = pos;
2190
			Size = sz;
2191
		})
2192
		if not xz then
2193
			self.drawY = self.drawY + 5 + ysz
2194
		end
2195
		self.drawX = 0
2196
		self.drawHeight = 0
2197
		if (not ncan) then
2198
			self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
2199
		end
2200
		return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
2201
	end
2202
	
2203
	function self:addSpacing()
2204
		self.drawY = self.drawY + 3
2205
	end
2206
	
2207
	function self:center()
2208
		local a,c,b=
2209
			self.main.Position.X.Scale,
2210
				self.main.Position.X.Offset,self.main.Size.Y.Offset
2211
		self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
2212
	end	
2213
	
2214
	return self
2215
end
2216
2217
--//anim//--
2218
topkek.tools.animator.animateTo = function(source, dest)
2219
	-- holder2holder:
2220
	-- invis holder
2221
	-- clone holder; vis
2222
	-- move holder to right
2223
	-- vis dest container
2224
	-- tween clone holder left
2225
	-- tween dest holder right
2226
	print("nav",source,dest)
2227
	topkek.holder.Visible = false
2228
	local hclone = topkek.holder:Clone()
2229
	hclone.Parent = topkek.center
2230
	hclone.Name = 'animclone'
2231
	hclone.Visible = true
2232
	topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
2233
	source.Visible = false
2234
	dest.Visible = true
2235
	dest.Container.Visible = true
2236
	dest.Container.ZIndex = 1
2237
	dest.ZIndex = 1
2238
	topkek.holder.Visible = true
2239
	topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
2240
	hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
2241
	wait(0.3)
2242
end
2243
topkek.tools.animator.initialAnimation = function()
2244
	-- initanim:
2245
	-- join both composites
2246
	-- delete composites; vis solid
2247
	-- tween solid to nav topbar
2248
	-- copy topbar plrname; move outside region
2249
	-- tween in clone topbar
2250
	-- delete clone and solid; vis topbar
2251
	-- tween down topbar
2252
	-- tween holder out
2253
	local function abspos(x)
2254
		return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
2255
	end
2256
	local function abssz(x)
2257
		return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
2258
	end
2259
	local holder = topkek.holder
2260
	local nav = topkek.navigator
2261
	local topnav = nav.Topbar
2262
	local topbar = topkek.topbar
2263
	local pname = topbar.PlayerName:Clone()
2264
	local solid = topkek.gui.Solid
2265
	topkek.center.Size = UDim2.new(0, 150, 0, 30)
2266
	topkek.gui.Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
2267
	topkek.gui.Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
2268
	wait(0.52)
2269
	solid.Visible = true
2270
	topkek.gui.Composite1:Destroy()
2271
	topkek.gui.Composite2:Destroy()
2272
	wait(3)
2273
	solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
2274
	solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
2275
	wait(0.52)
2276
	solid.Label:Destroy()
2277
	wait(0.12)
2278
	topkek.center.Visible = true
2279
	topnav.Visible = true
2280
	solid:Destroy()
2281
	pname.Position = UDim2.new(0, -170, 0, 0)
2282
	pname.Parent = topnav
2283
	pname.Visible = true
2284
	pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
2285
	wait(0.25)
2286
	topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
2287
	spawn(topkek.navigation.buildNavigator)
2288
	wait(0.35)
2289
	topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
2290
	wait(0.35)
2291
	topbar.PlayerName.Visible = true
2292
	pname:Destroy()
2293
	AllowHovers = true
2294
end
2295
--//nav//--
2296
topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
2297
topkek.navigation.windowState = 0
2298
topkek.navigation.gotoContainer = function(cont)
2299
	topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
2300
	topkek.navigation.currentContainer = cont
2301
end
2302
topkek.navigation.buildNavigator = function()
2303
	local nav = topkek.navigator
2304
	local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
2305
	local btns = {}
2306
	for l, x in pairs(topkek.data.windows) do
2307
		local container = topkek.tools.util.getContainer(x)
2308
		local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
2309
		local ZPos = btn.Position
2310
		btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
2311
		btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
2312
		btn.LayoutOrder = l
2313
		btn.ZIndex = 4
2314
		local OPos = btn.Position
2315
		btn.MouseEnter:connect(function()
2316
			if AllowHovers == false then
2317
				return
2318
			end
2319
			for i, v in pairs(btns) do
2320
				if v[1] ~= btn then
2321
					v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
2322
				end
2323
			end
2324
			btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
2325
		end)
2326
		btn.MouseLeave:connect(function()
2327
			btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
2328
		end)
2329
		table.insert(btns, {btn, OPos})
2330
		wait()	
2331
	end
2332
end
2333
topkek.navigation.buildTopbar = function()
2334
	local top = topkek.topbar
2335
	local FELabel = top.Controllers.IsFE
2336
	top.PlayerName.Text = topkek.lplr.Name
2337
	if game:GetService('Workspace').FilteringEnabled == true then
2338
		FELabel.Text = "FE Game"
2339
		FELabel.TextColor3 = BrickColor.new("Bright red").Color
2340
	else
2341
		FELabel.Text = "Not FE"
2342
		FELabel.TextColor3 = BrickColor.new("Bright green").Color
2343
	end
2344
	top.Controllers.Hide.MouseButton1Down:connect(function()
2345
		if topkek.navigation.windowState == 0 then
2346
			topkek.navigation.windowState = 1
2347
			topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
2348
		else
2349
			topkek.navigation.windowState = 0
2350
			topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
2351
		end
2352
	end)	
2353
	top.Controllers.Exit.MouseButton1Down:connect(function()
2354
		topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
2355
		wait(0.31)
2356
		topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
2357
		PlayerChatHook:disconnect()
2358
	end)
2359
	
2360
end
2361
topkek.navigation.initCommandBar = function()
2362
	DistributedCmdBar, cmd = topkek.holder.Command, {}
2363
	loadstring(game:GetObjects("rbxassetid://685510751")[1].Source)()
2364
	DistributedCmdBar.FocusLost:connect(function(e)
2365
		if e == true then
2366
			cmd.commands.run(DistributedCmdBar.Text)
2367
			DistributedCmdBar.Text = ''
2368
		end
2369
	end)
2370
	
2371
	PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
2372
		if cmd.util.isadmin(plr.Name) then
2373
			if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
2374
				cmd.commands.run(msg:sub(2, #msg))
2375
			end
2376
		end
2377
	end)
2378
end
2379
topkek.navigation.buildHomePage = function()
2380
	local count = 0
2381
	for _, _ in pairs(cmd.commands.store) do count = count + 1 end
2382
	local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
2383
	hook:drawText(1, 'T0PK3K 4.0 ProtoSmasher Edition edited by bork')
2384
	hook:drawText(1, 'Patch version 1.0.5')
2385
	hook:drawText(1, 'Commandbase patch version 1.0.0')
2386
	hook:drawText(1, 'Number of commands: ' .. tostring(count))
2387
	local stime = hook:drawText(1, 'Server Time: 0')
2388
	spawn(function()
2389
		while true do
2390
			stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
2391
			wait(0.5)
2392
		end
2393
	end)
2394
	local ssz = hook:drawText(1, 'Server Size: 0')
2395
	spawn(function()
2396
		while true do
2397
			ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
2398
			wait(0.5)
2399
		end
2400
	end)
2401
	local fe = game:GetService('Workspace').FilteringEnabled
2402
	hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
2403
	hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
2404
	hook:drawText(1, 'same', 55)
2405
end
2406
topkek.navigation.buildContainers = function()
2407
	for _, v in pairs(topkek.data.windows) do
2408
		topkek.tools.gui:makeContainer(v)
2409
	end
2410
end
2411
2412
topkek.navigation.initCommandBar()
2413
topkek.navigation.buildContainers()
2414
topkek.navigation.buildTopbar()
2415
topkek.navigation.buildHomePage()
2416
wait()
2417
2418
2419
--// actual code below lole //--
2420
2421
--// PLAYERS //--
2422
local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
2423
local search = plrwin:drawButton(1, '', function()end)
2424
drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
2425
function fixPlayerDrop()
2426
	local t = {'All'}
2427
	for i, v in pairs(game.Players:GetPlayers()) do
2428
		table.insert(t, v.Name)
2429
	end
2430
	drop.SetTable(t)
2431
end
2432
game.Players.PlayerAdded:connect(function()
2433
	fixPlayerDrop()
2434
end)
2435
game.Players.PlayerRemoving:connect(function()
2436
	fixPlayerDrop()
2437
end)
2438
plrFrame = plrwin:drawContainer(1, 100)
2439
headshotContainer = plrFrame:drawContainer(0.4, 94, true)
2440
headshotContainer:setDrawY(20)
2441
headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
2442
headshotContainer:setDrawY(0)
2443
userNameText = headshotContainer:drawText(1, "[All]")
2444
userNameText.ClipsDescendants = true
2445
userNameText.Font = Enum.Font.SourceSansBold
2446
infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
2447
infoContainer.BackgroundColor3 = color3(108, 38, 38)
2448
userIdText = infoContainer:drawText(1, "ID: 0")
2449
userAgeText = infoContainer:drawText(1, "Age: 0")
2450
userTeamText = infoContainer:drawText(1, "Team: Neutral")
2451
cval = 'All'
2452
fixPlayerDrop()
2453
2454
function updatePlayer(plri)
2455
	local plr = game:GetService('Players'):FindFirstChild(plri)
2456
	if not plr and plri ~= 'All' then
2457
		print("Couldn't find player!")
2458
		updatePlayer(topkek.lplr)
2459
	else
2460
		headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
2461
		userNameText.Text = "[All]"
2462
		userIdText.Text = 'ID: [multiple]'
2463
		userAgeText.Text = 'Age: [multiple]'
2464
		userTeamText.Text = 'Team: [multiple]'
2465
		cval = 'All'
2466
	end
2467
	local team = plr.TeamColor
2468
	if team == nil then
2469
		team = 'Neutral'
2470
	else
2471
		team = tostring(team)
2472
	end
2473
	headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
2474
	userNameText.Text = plr.Name
2475
	userIdText.Text = 'ID: ' .. tostring(plr.UserId)
2476
	userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
2477
	userTeamText.Text = 'Team: ' .. team
2478
	cval = plr.Name
2479
	
2480
end
2481
drop.Changed(updatePlayer)
2482
--actual code ------__-
2483
plrwin:addSpacing()
2484
plrwin:drawButton(1/2, 'Kick', function()
2485
	tk.dp(cval, function(p)
2486
		topkek.banmgr.executeKick(p)
2487
	end)
2488
end)
2489
2490
plrwin:drawButton(1/2, 'Ban', function()
2491
	tk.dp(cval, function(p)
2492
		topkek.banmgr.addSoftBan(p)
2493
	end)
2494
end)
2495
plrwin:drawButton(1/2,'Friendlag', function()
2496
	tk.dp(cval, function(p)
2497
		for i = 1, 10 do
2498
			spawn(function()
2499
				while wait() do
2500
		    		game.Players.LocalPlayer:RequestFriendship(p)
2501
		  	  		game.Players.LocalPlayer:RevokeFriendship(p)
2502
				end
2503
			end)
2504
		end
2505
	end)
2506
end)
2507
plrwin:drawButton(1/2, 'Hardban', function()
2508
	tk.dp(cval, function(p)
2509
		topkek.banmgr.addHardBan(p)
2510
	end)
2511
end)
2512
plrwin:addSpacing()
2513
plrwin:drawButton(1/2, 'Bring', function()
2514
	tk.dp(cval, function(z)
2515
		if z.Character then
2516
			z.Character.HumanoidRootPart.CFrame =
2517
				game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
2518
		end
2519
	end)
2520
end)
2521
plrwin:drawButton(1/2, 'Goto', function()
2522
	tk.dp(cval, function(z)
2523
		game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
2524
			z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
2525
	end)
2526
end)
2527
plrwin:addSpacing()
2528
plrwin:drawButton(1/3, 'Kill', function()
2529
	tk.dp(cval, function(p)
2530
		if p.Character and p.Character:FindFirstChild("Humanoid") then
2531
			p.Character.Humanoid.Health = 0
2532
		end
2533
	end)
2534
end)
2535
plrwin:drawButton(1/3, 'Seizure', function()
2536
	tk.dp(cval, function(p)
2537
		if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
2538
			spawn(function()
2539
				p.Character.Humanoid.PlatformStand = true
2540
				tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0) 
2541
				repeat 
2542
					wait()
2543
					p.Character.Humanoid.PlatformStand = true
2544
					tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) 
2545
					tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) 
2546
				until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
2547
			end)
2548
		end
2549
	end)
2550
end)
2551
plrwin:drawButton(1/3, 'Stun', function()
2552
	tk.dp(cval, function(p)
2553
		if p.Character and p.Character:FindFirstChild("Humanoid") then
2554
			p.Character.Humanoid.PlatformStand = true
2555
			p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0) 
2556
		end
2557
	end)
2558
end)
2559
plrwin:drawButton(1/3, 'Freeze', function()
2560
	tk.dp(cval, function(p)
2561
		if p.Character then
2562
			tk.gt(p).Anchored = true
2563
		end
2564
	end)
2565
end)
2566
plrwin:drawButton(1/3, 'Thaw', function()
2567
	tk.dp(cval, function(p)
2568
		if p.Character then
2569
			tk.gt(p).Anchored = false
2570
		end
2571
	end)
2572
end)
2573
plrwin:drawButton(1/3, 'Superslow', function()
2574
	tk.dp(cval, function(p)
2575
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2576
			p.Character.Humanoid.WalkSpeed = 1
2577
		end
2578
	end)
2579
end)
2580
plrwin:drawButton(1/3, 'Highjump', function()
2581
	tk.dp(cval, function(p)
2582
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2583
			p.Character.Humanoid.JumpPower = 125
2584
		end
2585
	end)
2586
end)
2587
plrwin:drawButton(1/3, 'God', function()
2588
	tk.dp(cval, function(p)
2589
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2590
			p.Character.Humanoid.MaxHealth = math.huge
2591
			p.Character.Humanoid.Health = math.huge
2592
		end
2593
	end)
2594
end)
2595
plrwin:drawButton(1/3, 'Semigod', function()
2596
	tk.dp(cval, function(p)
2597
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2598
			p.Character.Humanoid.MaxHealth = 9e9
2599
			p.Character.Humanoid.Health = 9e9
2600
		end
2601
	end)
2602
end)
2603
plrwin:drawButton(1/3, 'Fast', function()
2604
	tk.dp(cval, function(p)
2605
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2606
			p.Character.Humanoid.WalkSpeed = 50
2607
		end
2608
	end)
2609
end)
2610
Follow = false;
2611
plrwin:drawButton(1/3, 'Annoy', function()
2612
	tk.dp(cval, function(p)
2613
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2614
			if Follow == true then
2615
				Follow = false; return
2616
			else Follow = true end
2617
			while Follow == true do
2618
				game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
2619
					p.Character.HumanoidRootPart.CFrame
2620
				wait()
2621
			end
2622
		end
2623
	end)
2624
end)
2625
plrwin:drawButton(1/3, 'Freefall', function()
2626
	tk.dp(cval, function(p)
2627
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2628
			p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)		
2629
		end
2630
	end)
2631
end)
2632
plrwin:drawButton(1/3, 'Destroy', function()
2633
	tk.dp(cval, function(p)
2634
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2635
			p.Character.Humanoid:Destroy()
2636
		end
2637
	end)
2638
end)
2639
plrwin:drawButton(1/3, 'Fix', function()
2640
	tk.dp(cval, function(p)
2641
		if p.Character and p.Character:FindFirstChild('Humanoid') then
2642
			p.Character.Humanoid.Health = 100
2643
			p.Character.Humanoid.MaxHealth = 100
2644
			p.Character.Humanoid.JumpPower = 100
2645
			p.Character.Humanoid.WalkSpeed = 16
2646
			p.Character.Humanoid.PlatformStand = false
2647
			p.Character.Humanoid.Jump = true
2648
		end
2649
	end)
2650
end)
2651
plrwin:drawButton(1/3, 'Respawn', function()
2652
	tk.dp(cval, function(p)
2653
		if p.Character then
2654
			local a1 = Instance.new("Model", game:service'Workspace')
2655
			local a2 = Instance.new("Part", game:service'Workspace')
2656
			a2.CanCollide = true
2657
			a2.Anchored = true
2658
			a2.CFrame = CFrame.new(10000, 10000, 10000)
2659
			a2.Name = "Torso"
2660
			local a3 = Instance.new("Humanoid", a1)
2661
			a3.MaxHealth=100;a3.Health=100
2662
			p.Character = a1
2663
			a3.Health=0
2664
		end
2665
	end)
2666
end)
2667
plrwin:addSpacing()
2668
local nameInp
2669
plrwin:drawButton(1/3, 'Name', function()
2670
	tk.dp(cval, function(z)
2671
		local Character = z.Character
2672
		local newName = Instance.new("Model", z.Character)
2673
		newName.Name = nameInp.Text
2674
		local cl = Character:WaitForChild("Head"):Clone()
2675
		cl.Parent = newName
2676
		cl:WaitForChild("face"):Destroy()
2677
		local hum = Instance.new("Humanoid", newName)
2678
		hum.Name = "NameTag"
2679
		hum.MaxHealth = 0
2680
		hum.Health = 0
2681
		local weld = Instance.new("Weld", cl)
2682
		weld.Part0 = cl
2683
		weld.Part1 = Character:WaitForChild("Head")
2684
		Character:WaitForChild("Head").Transparency = 1
2685
		wait(.5)
2686
		cl.BrickColor = Character:WaitForChild("Head").BrickColor
2687
	end)
2688
end)
2689
nameInp = plrwin:drawTextBox(2/3, '')
2690
local chatInp
2691
plrwin:drawButton(1/3, 'Chat', function()
2692
	tk.dp(cval, function(z)
2693
		game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
2694
	end)
2695
end)
2696
chatInp = plrwin:drawTextBox(2/3, '')
2697
local disgInp
2698
plrwin:drawButton(1/3, 'Disguise', function()
2699
	tk.dp(cval, function(p)
2700
		local id = 0
2701
		if tonumber(disgInp.Text) then
2702
			id = tonumber(disgInp.Text)
2703
		else
2704
			id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
2705
		end
2706
		if p.Character:FindFirstChild("Humanoid") then
2707
			p.Character.Humanoid.Health = 0
2708
		end
2709
		p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
2710
	end)
2711
end)
2712
disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
2713
plrwin:addSpacing()
2714
clrR = plrwin:drawTextBox(1/3, '0')
2715
clrG = plrwin:drawTextBox(1/3, '0')
2716
clrB = plrwin:drawTextBox(1/3, '0')
2717
function getColor()
2718
	local r = tonumber(clrR.Text)
2719
	local g = tonumber(clrG.Text)
2720
	local b = tonumber(clrB.Text)
2721
	if not (r and g and b) then return Color3.new(0,0,0) end
2722
	return Color3.new(r/255, g/255, b/255)
2723
end
2724
plrwin:drawButton(1/3, 'Sparkles', function()
2725
	tk.dp(cval, function(z)
2726
		Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
2727
	end)
2728
end)
2729
plrwin:drawButton(1/3, 'Smoke', function()
2730
	tk.dp(cval, function(z)
2731
		Instance.new("Smoke", tk.gt(z)).Color = getColor()
2732
2733
	end)
2734
end)
2735
plrwin:drawButton(1/3, 'Fire', function()
2736
	tk.dp(cval, function(z)
2737
		local fr = Instance.new("Fire", tk.gt(z))
2738
		fr.Color = getColor()
2739
		fr.Heat = 30
2740
		fr.Size = 20
2741
	end)
2742
end)
2743
plrwin:drawButton(1/3, 'Forcefield', function()
2744
	tk.dp(cval, function(z)
2745
		if z.Character then
2746
			Instance.new("ForceField", z.Character)
2747
		end
2748
	end)
2749
end)
2750
plrwin:drawButton(1/3, 'Select', function()
2751
	tk.dp(cval, function(z)
2752
		if z.Character and tk.gt(z) then
2753
			Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
2754
		end
2755
	end)
2756
end)
2757
plrwin:drawButton(1/3, 'Sphere', function()
2758
	tk.dp(cval, function(z)
2759
		if z.Character and tk.gt(z) then
2760
			Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
2761
		end
2762
	end)
2763
end)
2764
plrwin:drawButton(1/3, 'Fling', function()
2765
	tk.dp(cval, function(z)
2766
		spawn(function() --kohls admin commands lol
2767
			if z.Character and tk.gt(z) then 
2768
				local xran, zran
2769
				repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
2770
				repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
2771
				z.Character.Humanoid.Sit = true 
2772
				tk.gt(z).Velocity = Vector3.new(0,0,0)
2773
				local frc = Instance.new("BodyForce", tk.gt(z))
2774
				frc.Name = "BFRC" 
2775
				frc.force = Vector3.new(xran*4,9999*5,zran*4) 
2776
				game:GetService("Debris"):AddItem(frc, 0.1)
2777
			end
2778
		end)
2779
	end)
2780
end)
2781
plrwin:drawButton(1/3, 'Explode', function()
2782
	tk.dp(cval, function(z)
2783
		if z.Character and tk.gt(z) then
2784
			local explosion = Instance.new("Explosion")
2785
			explosion.Position = tk.gt(z).Position
2786
			explosion.Parent = workspace
2787
		end
2788
	end)
2789
end)
2790
plrwin:drawButton(1/3, 'Nuke', function()
2791
	tk.dp(cval, function(z)
2792
		if z.Character and tk.gt(z) then
2793
			local torso = tk.gt(z)
2794
			local nuke = Instance.new("Part", game.Workspace)
2795
			local opos = torso.CFrame
2796
			nuke.BrickColor = BrickColor.new("Bright yellow")
2797
			nuke.TopSurface = Enum.SurfaceType.Smooth
2798
			nuke.BottomSurface = Enum.SurfaceType.Smooth
2799
			nuke.Anchored = true
2800
			nuke.CanCollide = false
2801
			nuke.Shape = "Ball"				
2802
			nuke.Transparency = 0.5
2803
			nuke.CFrame = torso.CFrame		
2804
			nuke.Size = Vector3.new(1, 1, 1)
2805
			nuke.Touched:connect(function(p)
2806
				local expl = Instance.new("Explosion", p)
2807
				expl.BlastPressure = 50000
2808
				expl.BlastRadius = 50
2809
				expl.Position = p.Position
2810
				p.Material = Enum.Material.CorrodedMetal
2811
				p:BreakJoints()
2812
			end)
2813
			for i = 1, 150 do
2814
				nuke.Size = Vector3.new(i, i, i)
2815
				nuke.CFrame = opos
2816
				wait(0.08)
2817
			end
2818
			nuke:Destroy()
2819
		end
2820
	end)
2821
end)
2822
plrwin:drawButton(1/3, 'No Tools', function()
2823
	tk.dp(cval, function(p)
2824
		for _, t in pairs(p.Backpack:GetChildren()) do
2825
			t:Destroy()
2826
		end
2827
	end)
2828
end)
2829
plrwin:drawButton(1/3, 'Take Tools', function()
2830
	tk.dp(cval, function(p)
2831
		for _, t in pairs(p.Backpack:GetChildren()) do
2832
			t.Parent = game:service'Players'.LocalPlayer.Backpack
2833
		end
2834
	end)
2835
end)
2836
plrwin:drawButton(1/3, 'BTools', function()
2837
	tk.dp(cval, function(p)
2838
		local a = Instance.new("HopperBin")
2839
		a.BinType = "GameTool"
2840
		a.Parent = p.Backpack
2841
		local a = Instance.new("HopperBin")
2842
		a.BinType = "Clone"
2843
		a.Parent = p.Backpack
2844
		local a = Instance.new("HopperBin")
2845
		a.BinType = "Hammer"
2846
		a.Parent = p.Backpack
2847
	end)
2848
end)
2849
plrwin:drawButton(1/3, 'Hotdog', function()
2850
	tk.dp(cval, function(p)
2851
		if p.Character and tk.gt(p) then
2852
			topkek.tools.util.weenieHutJunior(p)
2853
		end
2854
	end)
2855
end)
2856
plrwin:drawButton(1/3, 'Quicksand', function()
2857
	tk.dp(cval, function(z)
2858
		if z.Character and z.Character:FindFirstChild("Humanoid") then
2859
			local tor = tk.gt(z)
2860
			local hole = Instance.new("Part", z.Character)
2861
			hole.Anchored = true
2862
			hole.Name = "Hole"
2863
			hole.FormFactor = Enum.FormFactor.Custom
2864
			hole.Size = Vector3.new(7, 1, 7)
2865
			hole.CanCollide = false
2866
			hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
2867
			hole.BrickColor = BrickColor.new("Cool yellow")
2868
			hole.Material = Enum.Material.Sand
2869
			local hm = Instance.new("CylinderMesh", hole)
2870
			tor.Anchored = true
2871
			if z.Character:FindFirstChild("Humanoid") then
2872
				z.Character.Humanoid.Jump = true
2873
			end
2874
			for x,m in pairs(z.Character:GetChildren()) do
2875
				if m:IsA("BasePart") or m:IsA("MeshPart") then
2876
					m.CanCollide = false
2877
				end
2878
			end
2879
			for i=1,75 do
2880
				tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
2881
				wait(0.06)
2882
			end
2883
			tor.CFrame=tor.CFrame*CFrame.new(0,
2884
				-500,0
2885
			)
2886
			z.Character.Humanoid.Health = 0
2887
		end
2888
	end)
2889
end)
2890
plrwin:drawButton(1/3, 'Insane', function()
2891
	tk.dp(cval, function(p)
2892
		if p.Character and tk.gt(p) then
2893
			for i,v in pairs(tk.gt(p):GetChildren()) do
2894
				if v:IsA("Motor6D") then
2895
					spawn(function()
2896
						while v do
2897
							v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
2898
							wait()
2899
						end
2900
					end)
2901
				end
2902
			end
2903
		end
2904
	end)
2905
end)
2906
plrwin:drawButton(1/3, 'Invisible', function()
2907
	tk.dp(cval, function(p)
2908
		tk.rco(p.Character, 'BasePart', 'Transparency', 1)
2909
		tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
2910
	end)
2911
end)
2912
plrwin:drawButton(1/3, 'Visible', function()
2913
	tk.dp(cval, function(p)
2914
		tk.rco(p.Character, 'BasePart', 'Transparency', 0)
2915
		tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
2916
	end)
2917
end)
2918
plrwin:drawButton(1/3, 'Bighead', function()
2919
	tk.dp(cval, function(z)
2920
		if z.Character then
2921
			if z.Character:FindFirstChild('Head') then
2922
				z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
2923
			end
2924
		end
2925
	end)
2926
end)
2927
plrwin:drawButton(1/3, 'Goldify', function()
2928
	tk.dp(cval, function(z)
2929
		if z.Character then
2930
			tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
2931
			tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
2932
			tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
2933
			tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
2934
		end
2935
	end)
2936
end)
2937
plrwin:drawButton(1/3, 'Neon', function()
2938
	tk.dp(cval, function(z)
2939
		if z.Character then
2940
			tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
2941
			tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
2942
		end
2943
	end)
2944
end)
2945
plrwin:drawButton(1/3, 'Shiny', function()
2946
	tk.dp(cval, function(z)
2947
		if z.Character then
2948
			tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
2949
			tk.rcm(z.Character, 'MeshPart')
2950
		end
2951
	end)
2952
end)
2953
plrwin:drawButton(1/3, 'Shrek', function()
2954
	tk.dp(cval, function(z)
2955
		if z.Character then
2956
			local pchar = z.Character
2957
			for i,v in pairs(pchar:GetChildren()) do
2958
				if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
2959
					v:Destroy()
2960
				end
2961
			end
2962
			for i,v in pairs(pchar.Head:GetChildren()) do
2963
				if v:IsA("Decal") or v:IsA("SpecialMesh") then
2964
					v:Destroy()
2965
				end
2966
			end
2967
			
2968
			local mesh = Instance.new("SpecialMesh", pchar.Head)
2969
			mesh.MeshType = "FileMesh"
2970
			pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
2971
			pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
2972
			pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
2973
			
2974
			local Shirt = Instance.new("Shirt", z.Character)
2975
			local Pants = Instance.new("Pants", z.Character)
2976
			
2977
			Shirt.ShirtTemplate = "rbxassetid://133078194"
2978
			Pants.PantsTemplate = "rbxassetid://133078204"
2979
		end
2980
	end)
2981
end)
2982
plrwin:drawButton(1/3, 'Duck', function()
2983
	tk.dp(cval, function(z)
2984
		if z.Character then
2985
			local pchar = z.Character
2986
		    for i,v in pairs(pchar:GetChildren()) do
2987
			    if v:IsA("Hat") or v:IsA("Accessory") then
2988
				    v:Destroy()
2989
			    end
2990
		    end
2991
		    local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
2992
		    duck.MeshType = "FileMesh"
2993
		    duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
2994
		    duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
2995
		    duck.Scale = Vector3.new(5, 5, 5)
2996
		    tk.rco(z.Character, 'Instance', 'Transparency', 1)
2997
			z.Character.HumanoidRootPart.Transparency = 0
2998
		end
2999
	end)
3000
end)
3001
plrwin:drawButton(1/3, 'Spheres', function()
3002
	tk.dp(cval, function(z)
3003
		if z.Character then
3004
			tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
3005
		end
3006
	end)
3007
end)
3008
plrwin:drawButton(1/3, 'Big', function()
3009
	tk.dp(cval, function(z)
3010
		if z.Character then
3011
			topkek.tools.util.scalePlayer(5, z)
3012
		end
3013
	end)
3014
end)
3015
plrwin:drawButton(1/3, 'Small', function()
3016
	tk.dp(cval, function(z)
3017
		if z.Character then
3018
			topkek.tools.util.scalePlayer(5, z)
3019
		end
3020
	end)
3021
end)
3022
plrwin:drawButton(1/3, 'Giraffe', function()
3023
	tk.dp(cval, function(z)
3024
		if z.Character then
3025
			local char=z.Character
3026
			local h=char.Head
3027
			local tor=char:FindFirstChild("Torso")
3028
			if not tor then return end
3029
			tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
3030
			local fn=Instance.new("Part",char)
3031
			fn.Size=Vector3.new(1,5.5,1)
3032
			fn.Name="FakeNeck"
3033
			fn.Anchored=false
3034
			fn.CanCollide=false
3035
			if char:FindFirstChild("Body Colors") then
3036
				fn.BrickColor=char["Body Colors"].HeadColor
3037
			end
3038
			local cm=Instance.new("CylinderMesh",fn)
3039
			local we=Instance.new("Weld",h)
3040
			we.Part0=h
3041
			we.Part1=fn
3042
			we.C1=we.C1*CFrame.new(0,2.6,0)
3043
		end
3044
	end)
3045
end)
3046
plrwin:drawButton(1/3, 'Dab', function()
3047
	tk.dp(cval, function(z)
3048
		if z.Character and z.Character:FindFirstChild("Torso") then
3049
			local chr = z.Character
3050
			chr.Animate.Disabled = true
3051
	        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)
3052
	        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)
3053
	        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)
3054
		end
3055
	end)
3056
end)
3057
plrwin:drawButton(1/3, 'Force Follow', function()
3058
	tk.dp(cval, function(z)
3059
		game:GetService("RunService"):BindToRenderStep("_", 0, function()
3060
			z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
3061
		end)
3062
	end)
3063
end)
3064
plrwin:drawButton(1/3, 'Camlock', function()
3065
	tk.dp(cval, function(z)
3066
		z.CameraMode = "LockFirstPerson"
3067
	end)
3068
end)
3069
--// SERVER //--
3070
local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
3071
local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
3072
detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
3073
detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
3074
detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
3075
detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
3076
servwin:drawButton(1/2, 'Shutdown', function()
3077
	workspace.Gravity = 0/0
3078
end)
3079
servwin:drawButton(1/2, 'Clear', function()
3080
	for i,v in pairs(game:service'Workspace':GetChildren()) do
3081
		if (not v:IsA("Terrain"))and(v.Name~="Camera") then
3082
			v:Destroy()
3083
		end
3084
	end
3085
end)
3086
servwin:drawButton(1/2, 'Baseplate', function()
3087
	for X = -2500, 2500, 512 do
3088
		for Z = -2500, 2500, 512 do
3089
			local P = Instance.new("Part")
3090
		    P.Anchored = true
3091
		    P.Locked = true
3092
		    P.Size = Vector3.new(512,3,512)
3093
		    P.CFrame = CFrame.new(X,0,Z)
3094
		    P.BrickColor = BrickColor.Green()
3095
		    P.Parent = game:service'Workspace'
3096
		end
3097
	end
3098
end)
3099
servwin:drawButton(1/2, 'Reset', function()
3100
	for i,v in pairs(game:service'Workspace':GetChildren()) do
3101
		if (not v:IsA("Terrain"))and(v.Name~="Camera") then
3102
			v:Destroy()
3103
		end
3104
	end
3105
	for X = -2500, 2500, 512 do
3106
		for Z = -2500, 2500, 512 do
3107
			local P = Instance.new("Part")
3108
		    P.Anchored = true
3109
		    P.Locked = true
3110
		    P.Size = Vector3.new(512,3,512)
3111
		    P.CFrame = CFrame.new(X,0,Z)
3112
		    P.BrickColor = BrickColor.Green()
3113
		    P.Parent = game:service'Workspace'
3114
		end
3115
	end
3116
	for i, v in pairs(game:GetService('Players'):GetPlayers()) do
3117
		local a1 = Instance.new("Model", game:service'Workspace')
3118
		local a2 = Instance.new("Part", game:service'Workspace')
3119
		a2.CanCollide = true
3120
		a2.Anchored = true
3121
		a2.CFrame = CFrame.new(10000, 10000, 10000)
3122
		a2.Name = "Torso"
3123
		local a3 = Instance.new("Humanoid", a1)
3124
		a3.MaxHealth=100;a3.Health=100
3125
		v.Character = a1
3126
		a3.Health=0
3127
	end
3128
end)
3129
servwin:drawButton(1, 'Remove Sounds', function()
3130
	tk.rcm(game, 'Sound')
3131
end)
3132
servwin:addSpacing()
3133
servwin:drawButton(1, 'Break All', function()
3134
	workspace:BreakJoints(workspace:GetChildren())
3135
end)
3136
local gravInp
3137
servwin:drawButton(1/3, 'Gravity', function()
3138
	if not tonumber(gravInp.Text) then return end
3139
	workspace.Gravity = tonumber(gravInp.Text)
3140
end)
3141
gravInp = servwin:drawTextBox(2/3, '')
3142
servwin:addSpacing()
3143
servwin:drawButton(1, 'Reset Lighting', function()
3144
	local l = game:service'Lighting'
3145
	l.Ambient = Color3.new(0, 0, 0)
3146
	l.Brightness = 1
3147
	l.GlobalShadows = true
3148
	l.Outlines = true
3149
	l.FogEnd = 100000
3150
	l.FogStart = 0
3151
	l:SetMinutesAfterMidnight(12*60)
3152
end)
3153
local brightInp
3154
servwin:drawButton(1/3, 'Brightness', function()
3155
	if not tonumber(brightInp.Text) then return end
3156
	game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
3157
end)
3158
brightInp = servwin:drawTextBox(2/3, '100')
3159
local fogInp
3160
servwin:drawButton(1/3, 'Fog', function()
3161
	if not tonumber(fogInp.Text) then return end
3162
	game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
3163
end)
3164
fogInp = servwin:drawTextBox(2/3, '0')
3165
local timeInp
3166
servwin:drawButton(1/3, 'Hour', function()
3167
	if not tonumber(timeInp.Text) then return end
3168
	game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
3169
end)
3170
timeInp = servwin:drawTextBox(2/3, '12')
3171
servwin:addSpacing()
3172
-- private server crap
3173
local privateToggle
3174
local privStatus = false
3175
privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
3176
	if privStatus == false then
3177
		privStatus = true
3178
		privateToggle.Text = 'Private Server ON'
3179
		topkek.banmgr.makePrivate()
3180
	else
3181
		privateToggle.Text = 'Private Server OFF'
3182
		topkek.banmgr.unprivate()
3183
	end
3184
end)
3185
servwin:addSpacing()
3186
servwin:drawText(1, 'Whitelist')
3187
local plrAddInp
3188
servwin:drawButton(1/3, 'Add', function()
3189
	topkek.banmgr.doWhitelist(plrAddInp.Text)
3190
	ReorderWL()
3191
end)
3192
plrAddInp = servwin:drawTextBox(2/3, '')
3193
wlCont = servwin:drawScrollingContainer(100)
3194
function ReorderWL()
3195
	local wl = topkek.banmgr.whitelist
3196
	for i,v in pairs(wlCont:GetChildren()) do
3197
		v:Destroy()
3198
	end
3199
	wlCont:setDrawY(3)
3200
	for i,v in pairs(wl) do
3201
		wlCont:drawText(2/3, v)
3202
		wlCont:drawButton(1/3, 'Remove', function()
3203
			topkek.banmgr.unwhitelist(v)
3204
			ReorderWL()
3205
		end) 
3206
	end
3207
end
3208
ReorderWL()
3209
--// LOCALPLAYER //--
3210
local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
3211
lpwin:drawButton(1, 'Reset Camera', function()
3212
	game.Workspace.CurrentCamera:remove()
3213
	wait(.1)
3214
	game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or 
3215
		game.Workspace[topkek.lplr.Name].Humanoid
3216
	game.Workspace.CurrentCamera.CameraType = "Custom"
3217
end)
3218
lpwin:drawButton(1, 'Respawn', function()
3219
	local a1 = Instance.new("Model", game:service'Workspace')
3220
	local a2 = Instance.new("Part", game:service'Workspace')
3221
	a2.CanCollide = true
3222
	a2.Anchored = true
3223
	a2.CFrame = CFrame.new(10000, 10000, 10000)
3224
	a2.Name = "Torso"
3225
	local a3 = Instance.new("Humanoid", a1)
3226
	a3.MaxHealth=100;a3.Health=100
3227
	topkek.lplr.Character = a1
3228
	a3.Health=0
3229
end)
3230
lpwin:drawButton(1, 'Rejoin', function()
3231
	game:GetService('TeleportService'):Teleport(game.PlaceId)
3232
end)
3233
lpwin:addSpacing()
3234
lpwin:drawButton(1/2, 'God', function()
3235
	if topkek.lplr.Character:FindFirstChild("Humanoid") then
3236
		topkek.lplr.Character.Humanoid.MaxHealth = math.huge
3237
		topkek.lplr.Character.Humanoid.Health = math.huge
3238
	end
3239
end)
3240
lpwin:drawButton(1/2, 'Semigod', function()
3241
	if topkek.lplr.Character:FindFirstChild("Humanoid") then
3242
		topkek.lplr.Character.Humanoid.MaxHealth = 9e9
3243
		topkek.lplr.Character.Humanoid.Health = 9e9
3244
	end
3245
end)
3246
Loopgod = false
3247
lpwin:drawButton(1, 'Loopgod', function()
3248
	if Loopgod == false then
3249
		Loopgod = true
3250
		spawn(function()
3251
			repeat
3252
				topkek.lplr.Character.Humanoid.MaxHealth = math.huge
3253
				topkek.lplr.Character.Humanoid.Health = math.huge
3254
				wait()
3255
			until Loopgod == false
3256
		end)	
3257
	else
3258
		Loopgod = false
3259
	end
3260
end)
3261
lpwin:addSpacing()
3262
plrwin:addSpacing()
3263
local Lev, Clip, Fly
3264
lpwin:drawButton(1/2, 'Levitate', function()
3265
	if Lev == true then
3266
		Lev = false
3267
		return
3268
	end
3269
	Lev = true
3270
	repeat
3271
		topkek.lplr.Character.Humanoid:ChangeState(10)
3272
		wait(0)
3273
	until Lev == false
3274
end)
3275
lpwin:drawButton(1/2, 'Noclip', function()
3276
	if Clip == true then
3277
		Clip = false
3278
		return
3279
	end
3280
	Clip = true
3281
	game:GetService("RunService").Stepped:connect(function()
3282
		tk.gt(topkek.lplr).CanCollide = not Clip
3283
		topkek.lplr.Character.Head.CanCollide = not Clip
3284
		topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
3285
		if topkek.lplr.Character.UpperTorso then
3286
			topkek.lplr.Character.LowerTorso.CanCollide = not Clip
3287
		end
3288
	end)
3289
	topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
3290
		tk.gt(topkek.lplr).CanCollide = not Clip
3291
		topkek.lplr.Character.Head.CanCollide = not Clip
3292
		topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
3293
		if topkek.lplr.Character.UpperTorso then
3294
			topkek.lplr.Character.LowerTorso.CanCollide = not Clip
3295
		end
3296
	end)
3297
end)
3298
lpwin:drawButton(1/2, 'Fly', function()
3299
	if Fly == true then
3300
		Fly = false
3301
		return
3302
	end
3303
	Fly = true
3304
  local mouse=game.Players.LocalPlayer:GetMouse''
3305
  localplayer=game.Players.LocalPlayer
3306
  game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
3307
  local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
3308
  local speed=0
3309
  local keys={a=false,d=false,w=false,s=false} 
3310
  local e1
3311
  local e2
3312
  local function start()
3313
   local pos = Instance.new("BodyPosition",torso)
3314
   local gyro = Instance.new("BodyGyro",torso)
3315
   pos.Name="EPIXPOS"
3316
   pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
3317
   pos.position = torso.Position
3318
   gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9) 
3319
   gyro.cframe = torso.CFrame
3320
   repeat
3321
    wait()
3322
    localplayer.Character.Humanoid.PlatformStand=true
3323
    local new=gyro.cframe - gyro.cframe.p + pos.position
3324
    if not keys.w and not keys.s and not keys.a and not keys.d then
3325
     speed=1
3326
    end 
3327
    if keys.w then 
3328
     new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
3329
     speed=speed+0.01
3330
    end
3331
    if keys.s then 
3332
     new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
3333
     speed=speed+0.01
3334
    end
3335
    if keys.d then 
3336
     new = new * CFrame.new(speed,0,0)
3337
     speed=speed+0.01
3338
    end
3339
    if keys.a then 
3340
     new = new * CFrame.new(-speed,0,0)
3341
     speed=speed+0.01
3342
    end
3343
    if speed>5 then
3344
     speed=5
3345
    end
3346
    pos.position=new.p
3347
    if keys.w then
3348
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
3349
    elseif keys.s then
3350
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
3351
    else
3352
     gyro.cframe = workspace.CurrentCamera.CoordinateFrame
3353
    end
3354
   until not Fly
3355
   if gyro then gyro:Destroy() end
3356
   if pos then pos:Destroy() end
3357
   flying=false
3358
   localplayer.Character.Humanoid.PlatformStand=false
3359
   speed=0
3360
  end
3361
  e1=mouse.KeyDown:connect(function(key)
3362
   if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
3363
   if key=="w" then
3364
    keys.w=true
3365
   elseif key=="s" then
3366
    keys.s=true
3367
   elseif key=="a" then
3368
    keys.a=true
3369
   elseif key=="d" then
3370
    keys.d=true
3371
   end
3372
  end)
3373
  e2=mouse.KeyUp:connect(function(key)
3374
   if key=="w" then
3375
    keys.w=false
3376
   elseif key=="s" then
3377
    keys.s=false
3378
   elseif key=="a" then
3379
    keys.a=false
3380
   elseif key=="d" then
3381
    keys.d=false
3382
   end
3383
  end)
3384
  start()
3385
end)
3386
lpwin:drawButton(1/2, 'Highjump', function()
3387
	local thrust = Instance.new("BodyVelocity")
3388
	game:GetService('UserInputService').InputBegan:connect(function(i, b)
3389
		if i.KeyCode == Enum.KeyCode.Space then
3390
			print("Got jump")
3391
			coroutine.resume(coroutine.create(function()
3392
				thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
3393
				thrust.velocity = Vector3.new(0,50,0)
3394
				thrust.maxForce = Vector3.new(0,4e+050,0)
3395
				wait(0.2)
3396
				thrust.Parent = nil 
3397
			end))
3398
		end
3399
	end)
3400
end)
3401
lpwin:addSpacing()
3402
local apprInp
3403
lpwin:drawButton(1/3, 'Appearance', function()
3404
	local id = 0
3405
	if tonumber(apprInp.Text) then
3406
		id = tonumber(apprInp.Text)
3407
	else
3408
		id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
3409
	end
3410
	if topkek.lplr.Character:FindFirstChild("Humanoid") then
3411
		topkek.lplr.Character.Humanoid.Health = 0
3412
	end
3413
	topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
3414
end)
3415
apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
3416
local teamInp
3417
lpwin:drawButton(1/3, 'Team', function()
3418
	topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
3419
end)
3420
teamInp = lpwin:drawTextBox(2/3, 'Bright red')
3421
lpwin:drawButton(1/2, 'Naked', function()
3422
	topkek.lplr:ClearCharacterAppearance()
3423
end)
3424
lpwin:drawButton(1/2, 'Neutral', function()
3425
	topkek.lplr.Neutral = true
3426
end)
3427
lpwin:addSpacing()
3428
lpwin:drawButton(1/2, 'Orb', function()
3429
	game.Players.LocalPlayer.Character = nil
3430
	--lp:Destroy()
3431
	local cam = game.Workspace.CurrentCamera
3432
	local m = Instance.new("Model", game.Workspace)
3433
	m.Name = game.Players.LocalPlayer.Name
3434
	local hum = Instance.new("Humanoid", m)
3435
	hum.Health = 0
3436
	hum.MaxHealth = 0
3437
	local orb = Instance.new("Part", m)
3438
	orb.Size = Vector3.new(1, 1, 1)
3439
	orb.Shape = "Ball"
3440
	orb.Name = "Head"
3441
	orb.Anchored = true
3442
	orb.CanCollide = true
3443
	orb.BottomSurface = Enum.SurfaceType.Smooth
3444
	orb.TopSurface = Enum.SurfaceType.Smooth
3445
	orb.Transparency = 0
3446
	spawn(function()
3447
		while true do
3448
			wait(0.1)
3449
			if orb then
3450
				orb.BrickColor = BrickColor.Random()
3451
			else break end
3452
		end
3453
	end)
3454
	cam.CameraSubject = orb
3455
	cam.CameraType = Enum.CameraType.Fixed
3456
	game:GetService("RunService").RenderStepped:connect(function()
3457
		orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
3458
	end)
3459
	game.Players.LocalPlayer.Chatted:connect(function(a)
3460
		game:GetService("Chat"):Chat(orb, a)
3461
	end)
3462
end)
3463
lpwin:drawButton(1/2, 'Freecam', function()
3464
	local cam = game.Workspace.CurrentCamera
3465
	cam.CameraType = "Fixed"
3466
	cam.CameraSubject = nil
3467
	topkek.lplr.Character = nil
3468
end)
3469
lpwin:drawButton(1/2, 'NoGrav', function()
3470
	if topkek.lplr.Character then
3471
		for x,m in pairs(topkek.lplr.Character:GetChildren()) do
3472
			if m:IsA("BasePart") then
3473
				local bf = Instance.new("BodyForce", m)
3474
				bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
3475
			end
3476
			if m:IsA("Hat") or m:IsA("Accessory") then
3477
				if m:findFirstChild("Handle") then
3478
					local bf = Instance.new("BodyForce", m.Handle)
3479
					bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
3480
				end
3481
			end
3482
		end
3483
	end
3484
end)
3485
lpwin:drawButton(1/2, 'Trowel', function()
3486
	topkek.tools.util.trowel()
3487
end) 
3488
lpwin:addSpacing()
3489
lpwin:drawButton(1/2, 'Fedora', function()
3490
	local hats={
3491
		98346834,
3492
		215751161,
3493
		119916949,
3494
		72082328,
3495
		147180077,
3496
		100929604,
3497
		63043890,
3498
		1285307,
3499
		1029025,
3500
		334663683,
3501
		259423244
3502
	}
3503
	game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
3504
end)
3505
lpwin:drawButton(1/2, 'Rainbow Name', function()
3506
	topkek.lplr.Neutral = false
3507
	repeat
3508
		wait()
3509
		topkek.lplr.TeamColor = BrickColor.Random()
3510
	until not topkek.lplr.Character.Humanoid
3511
end)
3512
local tagInp
3513
lpwin:drawButton(1/3, 'Tag', function()
3514
	local len = 10
3515
	local bb = Instance.new("BillboardGui")
3516
	bb.Parent = topkek.lplr.Character.Head
3517
	bb.Adornee = topkek.lplr.Character.Head
3518
	bb.AlwaysOnTop = true
3519
	bb.Enabled = true
3520
	bb.Size = UDim2.new(len, 0, 1.5, 0)
3521
	bb.Name = "tag"
3522
	bb.StudsOffset = Vector3.new(0, 3, 0)
3523
	--local fr = Instance.new("Frame")
3524
	--fr.Parent = bb
3525
	--fr.Size = UDim2.new(1, 0, 1, 0)
3526
	--fr.Style = Enum.FrameStyle.RobloxRound
3527
	local tl = Instance.new("TextLabel")
3528
	tl.Parent = bb
3529
	tl.Font = Enum.Font.Code
3530
	tl.BackgroundTransparency = 1
3531
	tl.TextScaled = true
3532
	tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
3533
	tl.Size = UDim2.new(1, 0, 1, 0)
3534
	tl.Text = tagInp.Text
3535
	tl.Name = "trutag"
3536
	tl.Visible = true
3537
	tl.ZIndex = 2
3538
end)
3539
tagInp = lpwin:drawTextBox(2/3, '')
3540
--// SCRIPTS //--
3541
local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
3542
local search = scriptwin:drawTextBox(1,'')
3543
local origy = scriptwin:getDrawY()
3544
scriptwin:addSpacing()
3545
scriptwin:addSpacing()
3546
local scripts = game:GetObjects("rbxassetid://376553985")[1]
3547
local container = {}
3548
function MakeList(condition)
3549
	for i,v in pairs(scriptwin:GetChildren()) do
3550
		if v.Name == "Script" then
3551
			v:Destroy()
3552
		end
3553
	end
3554
	scriptwin:setDrawY(origy)
3555
	for i, v in pairs(scripts:GetChildren()) do
3556
		if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
3557
			local scr = scriptwin:drawButton(1, v.Name, function()
3558
				spawn(function() loadstring(v.Source)() end)
3559
			end, 25)
3560
			scr.Name = 'Script'
3561
		end
3562
	end
3563
end
3564
game:GetService("UserInputService").InputChanged:connect(function(inp)
3565
	if inp.UserInputType == Enum.UserInputType.TextInput then
3566
		if search:IsFocused() then
3567
			MakeList(search.Text)
3568
		end
3569
	end
3570
end)
3571
MakeList('')
3572
--// DESTRUCTION // --
3573
local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
3574
local decals, seldec = destwin:drawScrollingContainer(100)
3575
seldec = destwin:drawText(1, 'Selected Decal: None')
3576
cursel = nil
3577
local decs = {
3578
	{'Rain', '574772793'},
3579
	{'Robbie', '574773630'},
3580
	{'Pepe', '244905904'},
3581
	{'Troll Face', '48308661'},
3582
	{'Jeff', '109129888'},
3583
	{'Shrek', '170539018'},
3584
	{'Doge', '133720697'},
3585
	{'Dat Boi', '409578848'},
3586
}
3587
for _, v in pairs(decs) do
3588
	local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
3589
	topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
3590
end
3591
destwin:drawButton(1, 'Spam Decal', function()
3592
	if cursel ~= nil then
3593
		topkek.tools.util.recurseDecal(tonumber(cursel))
3594
	end
3595
end)
3596
destwin:drawButton(1, 'Spam Particles', function()
3597
	if cursel ~= nil then
3598
		topkek.tools.util.recurseParticles(tonumber(cursel))
3599
	end
3600
end)
3601
destwin:drawButton(1, 'Spam Both', function()
3602
	if cursel ~= nil then
3603
		topkek.tools.util.recurseUltimate(tonumber(cursel))
3604
	end
3605
end)
3606
destwin:drawButton(1, 'Rollback', function()
3607
	tk.rcm(workspace, 'Decal')
3608
	tk.rcm(workspace, 'ParticleEmitter')
3609
end)
3610
destwin:addSpacing()
3611
destwin:drawButton(1, '666', function()
3612
	for i,v in next,workspace:children''do
3613
	 	if(v:IsA'BasePart')then
3614
	    me=v;
3615
	    bbg=Instance.new('BillboardGui',me);
3616
	    bbg.Name='stuf';
3617
	    bbg.Adornee=me;
3618
	    bbg.Size=UDim2.new(2.5,0,2.5,0)
3619
	    --bbg.StudsOffset=Vector3.new(0,2,0)
3620
	    tlb=Instance.new'TextLabel';
3621
	    tlb.Text='666 666 666 666 666 666';
3622
	    tlb.Font='SourceSansBold';
3623
	    tlb.FontSize='Size48';
3624
	    tlb.TextColor3=Color3.new(1,0,0);
3625
	    tlb.Size=UDim2.new(1.25,0,1.25,0);
3626
	    tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
3627
	    tlb.BackgroundTransparency=1;
3628
	    tlb.Parent=bbg;
3629
	    end;end;
3630
	    --coroutine.wrap(function()while wait''do
3631
	      s=Instance.new'Sound';
3632
	      s.Parent=workspace;
3633
	      s.SoundId='rbxassetid://152840862';
3634
	      s.Pitch=1;
3635
	      s.Volume=1;
3636
	      s.Looped=true;
3637
	      s:play();
3638
	      --end;end)();
3639
	      function xds(dd)
3640
	        for i,v in next,dd:children''do
3641
	          if(v:IsA'BasePart')then
3642
	            v.BrickColor=BrickColor.new'Really black';
3643
	            v.TopSurface='Smooth';
3644
	            v.BottomSurface='Smooth';
3645
	            s=Instance.new('SelectionBox',v);
3646
	            s.Adornee=v;
3647
	            s.Color=BrickColor.new'Really red';
3648
	            a=Instance.new('PointLight',v);
3649
	            a.Color=Color3.new(1,0,0);
3650
	            a.Range=15;
3651
	            a.Brightness=5;
3652
	            f=Instance.new('Fire',v);
3653
	            f.Size=19;
3654
	            f.Heat=22;
3655
	            end;
3656
	            game.Lighting.TimeOfDay=0;
3657
	            game.Lighting.Brightness=0;
3658
	            game.Lighting.ShadowColor=Color3.new(0,0,0);
3659
	            game.Lighting.Ambient=Color3.new(1,0,0);
3660
	            game.Lighting.FogEnd=200;
3661
	            game.Lighting.FogColor=Color3.new(0,0,0);
3662
	        local dec = 'http://www.roblox.com/asset/?id=19399245';
3663
	            local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
3664
	            --coroutine.wrap(function()
3665
	            --for _,__ in pairs(fac) do
3666
	            --local ddec = Instance.new("Decal", v)
3667
	            --ddec.Face = __
3668
	            --ddec.Texture = dec
3669
	        --end end)()
3670
	            if #(v:GetChildren())>0 then
3671
	                   xds(v) 
3672
	              end
3673
	         end
3674
	    end
3675
	xds(game.Workspace)
3676
end)
3677
destwin:drawButton(1, 'Troll', function()
3678
	topkek.tools.util.recurseUltimate('48308661')
3679
	tk.play(154664102)
3680
end)
3681
destwin:addSpacing()
3682
destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
3683
	local materiallist = 
3684
	{Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
3685
		Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
3686
		Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
3687
		Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
3688
		Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
3689
	local function r(where) 
3690
		for _,v in pairs (where:GetChildren()) do 
3691
		if v:IsA("BasePart") then 
3692
		spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait()   end end) end r(v) end end r(workspace)
3693
end)
3694
destwin:drawButton(1/2,'Materialize',function()
3695
	local function r(where) 
3696
 	for _,v in pairs (where:GetChildren()) do 
3697
  	if v:IsA("BasePart") then 
3698
   	spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait()   end end) end r(v) end end r(workspace)
3699
end)
3700
destwin:drawButton(1/2,'Meshify',function()
3701
	local enums={
3702
		Enum.MeshType.Head;
3703
		Enum.MeshType.Torso;
3704
		Enum.MeshType.Wedge;
3705
		Enum.MeshType.Brick;
3706
		Enum.MeshType.Sphere;
3707
		Enum.MeshType.Cylinder;
3708
	}
3709
	tk.rcf('BasePart',function(o)
3710
		local mesh = Instance.new('SpecialMesh', o)
3711
		mesh.MeshType = enums[math.random(1,#enums)]
3712
	end)
3713
end)
3714
destwin:drawButton(1/2,'Loop-Meshify',function()
3715
	coroutine.wrap(function()
3716
		while true do
3717
			local enums={
3718
				Enum.MeshType.Head;
3719
				Enum.MeshType.Torso;
3720
				Enum.MeshType.Wedge;
3721
				Enum.MeshType.Brick;
3722
				Enum.MeshType.Sphere;
3723
				Enum.MeshType.Cylinder;
3724
			}
3725
			tk.rcf('BasePart',function(o)
3726
				if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
3727
				local mesh = Instance.new('SpecialMesh', o)
3728
				mesh.MeshType = enums[math.random(1,#enums)]
3729
			end)
3730
			wait(0.5)
3731
		end
3732
	end)()
3733
end)
3734
destwin:addSpacing()
3735
destwin:drawButton(1, 'Rotations', function()
3736
	tk.rcf('BasePart', function(o)
3737
		o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
3738
	end)
3739
end)
3740
destwin:drawButton(1, 'Collisions', function()
3741
	tk.rcf('BasePart', function(o)
3742
		o.CanCollide = false
3743
	end)
3744
end)
3745
destwin:drawButton(1, 'Velocity', function()
3746
	tk.rcf('BasePart', function(o)
3747
		o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
3748
	end)
3749
end)
3750
destwin:drawButton(1, 'Invisiblity', function()
3751
	tk.rcf('BasePart', function(o)
3752
		o.Transparency = 1
3753
	end)
3754
end)
3755
destwin:drawButton(1, 'BreakJoints', function()
3756
	tk.rcf('Model', function(o)
3757
		o:BreakJoints()
3758
	end)
3759
end)
3760
destwin:drawButton(1, 'Forces', function()
3761
	tk.rcf('BasePart', function(o)
3762
		local bf = Instance.new("BodyForce", o)
3763
		bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
3764
	end)
3765
end)
3766
destwin:drawButton(1, 'Brightness', function()
3767
	tk.rcf('BasePart', function(o)
3768
		local light = Instance.new("SpotLight", o)
3769
		light.Brightness = 9e9
3770
		light.Range = 60
3771
	end)
3772
end)
3773
--// CATALOG //--
3774
local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
3775
local page, currentkeyword = 1, ""
3776
local searchbar, search, makeCatalog, res = 0, 0, 0, {}
3777
local searchbar = catwin:drawTextBox(2/3,'')
3778
local search = catwin:drawButton(1/3, 'Search', function()
3779
	page = 1
3780
	currentkeyword = searchbar.Text
3781
	makeCatalog(currentkeyword, page)
3782
end)
3783
local previous = catwin:drawButton(1/2, 'Previous Page', function()
3784
	if page > 1 then
3785
		page = page - 1
3786
		makeCatalog(currentkeyword, page)
3787
	end
3788
end)
3789
local previous = catwin:drawButton(1/2, 'Next Page', function()
3790
	if page >= 1 then
3791
		page = page + 1
3792
		makeCatalog(currentkeyword, page)
3793
	end
3794
end)
3795
local catalog_start = catwin:getDrawY()
3796
function split(str,divider)
3797
	local found = ""
3798
	local results = {}
3799
	for i=1,string.len(str) do
3800
		if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
3801
			table.insert(results, found)
3802
			found = ""
3803
		else
3804
			found = found..string.sub(str,i,i)
3805
		end
3806
	end
3807
	table.insert(results, found)
3808
	return results
3809
end
3810
function GetName(nm)
3811
	local spl = split(nm," ")
3812
	local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
3813
	return (a.." "..b.." "..c.." "..d.." "..e)
3814
end
3815
function makeCatalog(keyword, page)
3816
	local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
3817
	local results = game:HttpGet(endpoint, true)
3818
	local parse = game:GetService('HttpService'):JSONDecode(results)
3819
	for i, v in pairs(res) do
3820
		v:Destroy()
3821
	end
3822
	catwin:setDrawY(catalog_start)
3823
	catwin:addSpacing()
3824
	for i, v in pairs(parse) do
3825
		local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
3826
		local below = topkek.tools.util.Object("TextButton", {
3827
			Parent = img;
3828
			BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
3829
			BorderSizePixel = 0;
3830
			Position = UDim2.new(0, -45, 1, 5);
3831
			Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
3832
			Font = 'SourceSans';
3833
			FontSize = 'Size14';
3834
			Text = GetName(v['Name']);
3835
			TextSize = 14;
3836
			TextColor3 = color3(199, 199, 199);
3837
			TextStrokeTransparency = 0.5;
3838
			ClipsDescendants = true;
3839
		})
3840
		below.MouseButton1Down:connect(function()
3841
			local Model = Instance.new("Model", workspace)
3842
			game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
3843
			Model:MakeJoints()
3844
			Model:MoveTo(topkek.lplr.Character.Head.Position)
3845
		end)
3846
		img.Size=UDim2.new(0,50,0,50)
3847
		img.Position=img.Position+UDim2.new(0,45,0,0)
3848
		if (i%2)==0 then
3849
			catwin:setDrawY(catwin:getDrawY() + 25)
3850
		end
3851
		if (i==10) then
3852
			catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
3853
		end
3854
		table.insert(res,img)
3855
	end
3856
end
3857
makeCatalog("", 1)
3858
--// CMDS //--
3859
cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
3860
count = 0
3861
for _, _ in pairs(cmd.commands.store) do count = count + 1 end
3862
cmdwin:drawText(1, tostring(count) .. " Commands")
3863
cmdwin:drawText(1, 'Chat Prefix: /')
3864
local cmdlist = cmdwin:drawScrollingContainer(260)
3865
for i, v in pairs(cmd.commands.fmtstore) do
3866
	local xfmt = {}
3867
	local str = "  ;" .. i .. " "
3868
	for form in v:gmatch("[^%%]+") do
3869
		if form ~= 'cmd' then
3870
			if form == 'inf' then form = 'str' end
3871
			str = str .. "{" .. form .. "} " 
3872
		end
3873
	end
3874
	cmdlist:drawText(1, str)
3875
end
3876
--// MUSIC //--
3877
musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
3878
Sounds = {
3879
	{"caramell", 2303479};
3880
	{"epic", 27697743};
3881
	{"rick", 2027611};	
3882
	{"halo", 1034065};
3883
	{"pokemon", 1372261};
3884
	{"cursed", 1372257};
3885
	{"extreme", 11420933};
3886
	{"awaken", 27697277};
3887
	{"alone", 27697392};
3888
	{"mario", 1280470};
3889
	{"choir", 1372258};
3890
	{"chrono" ,1280463};
3891
	{"dotr", 11420922};
3892
	{"entertain", 27697267};
3893
	{"fantasy", 1280473};
3894
	{"final", 787};
3895
	{"organ", 11231513};
3896
	{"tunnel", 9650822}
3897
}
3898
3899
local cursel
3900
local xcursel = 0
3901
scr = musicwin:drawScrollingContainer(230)
3902
for i, v in pairs(Sounds) do
3903
	scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
3904
		cursel.Text = "Currently Selected - " .. v[1]
3905
		xcursel = v[2]
3906
	end)
3907
end
3908
3909
cursel = musicwin:drawText(1, "Currently Selected - None")
3910
local setInp
3911
musicwin:drawButton(1/3, "Set", function()
3912
	if tonumber(setInp.Text) then
3913
		cursel.Text = "Currently Selected - " .. setInp.Text
3914
		xcursel = tonumber(setInp.Text)
3915
	end
3916
end)
3917
setInp = musicwin:drawTextBox(2/3, '')
3918
musicwin:drawButton(1, "Play", function()
3919
	tk.rcm(game, 'Sound')
3920
	tk.play(xcursel)	
3921
end)
3922
musicwin:drawButton(1, "Stop", function()
3923
	tk.rcm(game, 'Sound')
3924
end)
3925
--// FACES //--
3926
facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
3927
local faces = {	
3928
	{name='Rofl',id=47595647},
3929
	{name='Sparta',id=74142203},
3930
	{name='UJelly',id=48989071},
3931
	{name='Troll',id=45120559},
3932
	{name='Horse',id=62079221},
3933
	{name='Angry',id=48258623},
3934
	{name='Okey',id=62830600},
3935
	{name='Yeaw',id=53646377},
3936
	{name='Here',id=62677045},
3937
	{name='Har',id=48260066},
3938
	{name='Baby Sun',id=47596170},
3939
	{name='LOL',id=48293007},
3940
	{name='Sad',id=53645378},
3941
	{name='Joseph Stalin',id=48290678},
3942
	{name='Doge',id=130742396},
3943
	{name='Forever Alone',id=156886272},
3944
	{name='RickRoll',id=5104631},
3945
	{name='Jim Carrey',id=74885351},
3946
	{name='Meh IRL',id=237553381}
3947
}
3948
local cursel, xcursel = nil, 0
3949
faclist = facwin:drawScrollingContainer(260)
3950
for i,v in pairs(faces) do
3951
	local btn = faclist:drawButton(1, v['name'], function()
3952
		xcursel = v['id']
3953
		cursel.Text = 'Currently Selected: ' .. v['name']
3954
	end)
3955
	topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
3956
end
3957
cursel = facwin:drawText(1, 'Currently Selected: None')
3958
facwin:drawButton(1, 'Wear', function()
3959
	if not (xcursel == 0) then
3960
		if topkek.lplr.Character then
3961
			tk.rcm(topkek.lplr.Character, 'Accessory')
3962
			tk.rcm(topkek.lplr.Character, 'Hat')
3963
			topkek.tools.util.applyFace(xcursel)
3964
		end
3965
	end
3966
end)
3967
--// SETTINGS // --
3968
setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
3969
setwin:drawText(1, 'Patch: ' .. topkek.patch)
3970
setwin:drawText(1, 'Devnote: foh skids')
3971
setwin:drawText(1, [[
3972
	=== CREDITS ===
3973
	
3974
	Variable - retard that created Stella
3975
	KrystalTeam - provided critical design tips & advice
3976
	Circumvention - lol joey salads
3977
	
3978
	Thanks to everyone that supported T0PK3K 4.0!
3979
	
3980
]], 260)
3981
--// BANLIST //--
3982
banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
3983
local plrBanInp
3984
banwin:drawButton(1/3, 'Add', function()
3985
	topkek.settings.get()
3986
	table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
3987
	topkek.settings.write()
3988
	UpdateBanlist()
3989
end)
3990
plrBanInp = banwin:drawTextBox(2/3, '')
3991
banCont = banwin:drawScrollingContainer(288)
3992
function UpdateBanlist(x)
3993
	topkek.settings.get()
3994
	local wl = x or topkek.settingsTable['Bans']
3995
	for i,v in pairs(banCont:GetChildren()) do
3996
		v:Destroy()
3997
	end
3998
	banCont:setDrawY(3)
3999
	for i,v in pairs(wl) do
4000
		banCont:drawText(2/3, v)
4001
		banCont:drawButton(1/3, 'Remove', function()
4002
			for x, m in pairs(wl) do
4003
				if m == v then
4004
					table.remove(topkek.settingsTable['Bans'], x)
4005
					topkek.settings.write()
4006
					UpdateBanlist()
4007
					topkek.banmgr.bans = topkek.settingsTable['Bans']
4008
				end
4009
			end
4010
		end) 
4011
	end
4012
end
4013
UpdateBanlist()
4014
--// HATS //--
4015
hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
4016
local hats={	
4017
	{name='Dominus Empyreus',id=21070012},
4018
	{name='Dominus Vespertilio',id=96103379},
4019
	{name='Dominus Infernus',id=31101391},
4020
	{name='Dominus Rex',id=250395631},
4021
	{name='Dominus Frigidus',id=48545806},
4022
	{name='Dominus Astra',id=162067148},
4023
	{name='Dominus Aureus',id=138932314},
4024
	{name='DIY Dominus Empyreus',id=151789690},
4025
	{name='Dominus Messor',id=64444871},
4026
	{name='Demon Skeleton Wings',id=133554007},
4027
	{name='Gilded Wings of Glory',id=250405532},
4028
	{name='Majestic Ice Wings',id=188702967},
4029
	{name='Black Wings',id=215719598},
4030
	{name='Clockworks Shades',id=11748356},
4031
	{name='Faerie Wings',id=19399896},
4032
	{name='Orinthian Wings',id=223751505},
4033
	{name='Clockworks Headphones',id=1235488},
4034
	{name='Perfectly Legitimate Business Hat',id=19027209},
4035
	{name='Sparkling Angel Wings',id=192557913},
4036
	{name='Commander Crows Wings',id=133553855},
4037
	{name='Sunfire Wings',id=158068470},
4038
	{name='Royal Faerie Wings',id=119916756},
4039
	{name='Wings of Freedom',id=164174048},
4040
	{name='Firebrand Wings',id=128160626},
4041
	{name='Frozen Wings',id=136758613},
4042
	{name='Webbed Wings',id=120507280},
4043
	{name='Gargoyle Wings',id=120507201},
4044
	{name='Bat Wings',id=19399858},
4045
	{name='Wings of Fire',id=136758532},
4046
	{name='Headrow',id=1082935},
4047
	{name='Rubber Duckie',id=9254254},
4048
	{name='Valkyrie Helm',id=1365767},
4049
{name='Hockey Mask',id=5161514}}
4050
local searchi = hatwin:drawButton(1, '', function()end)
4051
dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
4052
function fixPlayerDropi()
4053
	local t = {'All'}
4054
	for i, v in pairs(game.Players:GetPlayers()) do
4055
		table.insert(t, v.Name)
4056
	end
4057
	dropx.SetTable(t)
4058
end
4059
game.Players.PlayerAdded:connect(function()
4060
	fixPlayerDropi()
4061
end)
4062
game.Players.PlayerRemoving:connect(function()
4063
	fixPlayerDropi()
4064
end)
4065
local eval = 'All'
4066
dropx.Changed(function(p) eval = p end)
4067
fixPlayerDrop()
4068
4069
local hatInp
4070
hatlist = hatwin:drawScrollingContainer(260)
4071
for i,v in pairs(hats) do
4072
	hatlist:drawButton(1, v['name'], function()
4073
		hatInp.Text = tostring(v['id']) 
4074
	end)
4075
end
4076
hatwin:drawButton(1/3, 'Wear', function()
4077
	local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
4078
	tk.dp(eval, function(x)
4079
		if x.Character then
4080
			hat:Clone().Parent = x.Character
4081
		end
4082
	end)
4083
end)
4084
4085
4086
hatInp = hatwin:drawTextBox(2/3, '')
4087
topkek.tools.animator.initialAnimation()
4088
topkek.banmgr.init()
4089
end)