ttyyuu12345

topkek

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