Advertisement
num6456

Untitled

Feb 28th, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.54 KB | None | 0 0
  1. -- edited by bork so it works with proto XD
  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.  
  25. local NewGuiPart1 = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  26. NewGuiPart1.Name = "4.0"
  27. -------
  28. local NewGuiPart2 = Instance.new("Frame")
  29. NewGuiPart2.Active = true
  30. NewGuiPart2.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  31. NewGuiPart2.BorderSizePixel = 0
  32. NewGuiPart2.Name = "Main"
  33. NewGuiPart2.Position = UDim2.new(0, 300, 0, 50)
  34. NewGuiPart2.Selectable = true
  35. NewGuiPart2.Size = UDim2.new(0, 470, 0, 395)
  36. NewGuiPart2.Visible = false
  37. NewGuiPart2.ClipsDescendants = true
  38. NewGuiPart2.Draggable = true
  39. NewGuiPart2.Parent = NewGuiPart1
  40. -------
  41. local NewGuiPart3 = Instance.new("Frame")
  42. NewGuiPart3.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  43. NewGuiPart3.BorderSizePixel = 0
  44. NewGuiPart3.Name = "Topbar"
  45. NewGuiPart3.Position = UDim2.new(0, 150, 0, 0)
  46. NewGuiPart3.Size = UDim2.new(0, 320, 0, 30)
  47. NewGuiPart3.Parent = NewGuiPart2
  48. -------
  49. local NewGuiPart4 = Instance.new("TextLabel")
  50. NewGuiPart4.BackgroundTransparency = 1
  51. NewGuiPart4.Name = "PlayerName"
  52. NewGuiPart4.Position = UDim2.new(0, -140, 0, 0)
  53. NewGuiPart4.Size = UDim2.new(0.5, 0, 1, 0)
  54. NewGuiPart4.Visible = false
  55. NewGuiPart4.ZIndex = 4
  56. NewGuiPart4.Font = Enum.Font.Arcade
  57. NewGuiPart4.FontSize = Enum.FontSize.Size18
  58. NewGuiPart4.Text = "Player1"
  59. NewGuiPart4.TextColor3 = Color3.new(1, 1, 1)
  60. NewGuiPart4.TextXAlignment = Enum.TextXAlignment.Left
  61. NewGuiPart4.Parent = NewGuiPart3
  62. -------
  63. local NewGuiPart5 = Instance.new("Frame")
  64. NewGuiPart5.BackgroundTransparency = 1
  65. NewGuiPart5.Name = "Controllers"
  66. NewGuiPart5.Position = UDim2.new(1, -128, 0, 3)
  67. NewGuiPart5.Size = UDim2.new(0, 125, 1, -6)
  68. NewGuiPart5.Parent = NewGuiPart3
  69. -------
  70. local NewGuiPart6 = Instance.new("TextButton")
  71. NewGuiPart6.Active = true
  72. NewGuiPart6.AutoButtonColor = false
  73. NewGuiPart6.BackgroundColor3 = Color3.new(0.552941, 0.105882, 0.105882)
  74. NewGuiPart6.BorderSizePixel = 0
  75. NewGuiPart6.Name = "Exit"
  76. NewGuiPart6.Position = UDim2.new(1, -24, 0, 0)
  77. NewGuiPart6.Selectable = true
  78. NewGuiPart6.Size = UDim2.new(0, 24, 0, 24)
  79. NewGuiPart6.Style = Enum.ButtonStyle.Custom
  80. NewGuiPart6.FontSize = Enum.FontSize.Size14
  81. NewGuiPart6.Text = ""
  82. NewGuiPart6.Parent = NewGuiPart5
  83. -------
  84. local NewGuiPart7 = Instance.new("TextButton")
  85. NewGuiPart7.Active = true
  86. NewGuiPart7.AutoButtonColor = false
  87. NewGuiPart7.BackgroundColor3 = Color3.new(0.780392, 0.34902, 0)
  88. NewGuiPart7.BorderSizePixel = 0
  89. NewGuiPart7.Name = "Hide"
  90. NewGuiPart7.Position = UDim2.new(1, -50, 0, 0)
  91. NewGuiPart7.Selectable = true
  92. NewGuiPart7.Size = UDim2.new(0, 24, 0, 24)
  93. NewGuiPart7.Style = Enum.ButtonStyle.Custom
  94. NewGuiPart7.FontSize = Enum.FontSize.Size14
  95. NewGuiPart7.Text = ""
  96. NewGuiPart7.Parent = NewGuiPart5
  97. -------
  98. local NewGuiPart8 = Instance.new("TextLabel")
  99. NewGuiPart8.BackgroundTransparency = 1
  100. NewGuiPart8.Name = "IsFE"
  101. NewGuiPart8.Size = UDim2.new(0, 65, 1, 0)
  102. NewGuiPart8.FontSize = Enum.FontSize.Size18
  103. NewGuiPart8.Text = "Not FE"
  104. NewGuiPart8.TextColor3 = Color3.new(0.333333, 0.666667, 0)
  105. NewGuiPart8.TextStrokeTransparency = 0.69999998807907
  106. NewGuiPart8.TextXAlignment = Enum.TextXAlignment.Right
  107. NewGuiPart8.Parent = NewGuiPart5
  108. -------
  109. local NewGuiPart9 = Instance.new("TextLabel")
  110. NewGuiPart9.BackgroundTransparency = 1
  111. NewGuiPart9.Name = "Stella"
  112. NewGuiPart9.Position = UDim2.new(0, -150, 0, 0)
  113. NewGuiPart9.Size = UDim2.new(1, 150, 1, 0)
  114. NewGuiPart9.ZIndex = 2
  115. NewGuiPart9.Font = Enum.Font.Arcade
  116. NewGuiPart9.FontSize = Enum.FontSize.Size18
  117. NewGuiPart9.Text = "[Stella]"
  118. NewGuiPart9.TextColor3 = Color3.new(0.054902, 0.0745098, 0.498039)
  119. NewGuiPart9.Parent = NewGuiPart3
  120. -------
  121. local NewGuiPart10 = Instance.new("Frame")
  122. NewGuiPart10.BackgroundTransparency = 1
  123. NewGuiPart10.Name = "Holder"
  124. NewGuiPart10.Position = UDim2.new(0, 150, 0, 30)
  125. NewGuiPart10.Size = UDim2.new(0, 320, 0, 365)
  126. NewGuiPart10.Parent = NewGuiPart2
  127. -------
  128. local NewGuiPart11 = Instance.new("Frame")
  129. NewGuiPart11.BackgroundTransparency = 1
  130. NewGuiPart11.Name = "Home"
  131. NewGuiPart11.Size = UDim2.new(1, 0, 1, 0)
  132. NewGuiPart11.Parent = NewGuiPart10
  133. -------
  134. local NewGuiPart12 = Instance.new("TextLabel")
  135. NewGuiPart12.BackgroundTransparency = 1
  136. NewGuiPart12.BorderSizePixel = 0
  137. NewGuiPart12.Name = "Title1"
  138. NewGuiPart12.Position = UDim2.new(0, 30, 0, 3)
  139. NewGuiPart12.Selectable = true
  140. NewGuiPart12.Size = UDim2.new(1, -30, 0, 40)
  141. NewGuiPart12.Font = Enum.Font.SourceSansBold
  142. NewGuiPart12.FontSize = Enum.FontSize.Size42
  143. NewGuiPart12.Text = "T0PK3K 4.0"
  144. NewGuiPart12.TextColor3 = Color3.new(1, 1, 1)
  145. NewGuiPart12.TextStrokeTransparency = 0.5
  146. NewGuiPart12.TextXAlignment = Enum.TextXAlignment.Left
  147. NewGuiPart12.Parent = NewGuiPart11
  148. -------
  149. local NewGuiPart13 = Instance.new("TextLabel")
  150. NewGuiPart13.BackgroundTransparency = 1
  151. NewGuiPart13.BorderSizePixel = 0
  152. NewGuiPart13.Name = "Title2"
  153. NewGuiPart13.Position = UDim2.new(0.600000024, 5, 0, -5)
  154. NewGuiPart13.Size = UDim2.new(0.400000006, 0, 1, 0)
  155. NewGuiPart13.Font = Enum.Font.SourceSansBold
  156. NewGuiPart13.FontSize = Enum.FontSize.Size18
  157. NewGuiPart13.Text = "by nosyliam"
  158. NewGuiPart13.TextColor3 = Color3.new(1, 1, 1)
  159. NewGuiPart13.TextStrokeTransparency = 0.5
  160. NewGuiPart13.TextXAlignment = Enum.TextXAlignment.Left
  161. NewGuiPart13.TextYAlignment = Enum.TextYAlignment.Bottom
  162. NewGuiPart13.Parent = NewGuiPart12
  163. -------
  164. local NewGuiPart14 = Instance.new("Frame")
  165. NewGuiPart14.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  166. NewGuiPart14.BorderColor3 = Color3.new(0.32549, 0, 0)
  167. NewGuiPart14.Name = "Container"
  168. NewGuiPart14.Position = UDim2.new(0, 16, 0, 50)
  169. NewGuiPart14.Size = UDim2.new(1, -30, 0, 250)
  170. NewGuiPart14.Parent = NewGuiPart11
  171. -------
  172. local NewGuiPart15 = Instance.new("TextLabel")
  173. NewGuiPart15.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  174. NewGuiPart15.BorderSizePixel = 0
  175. NewGuiPart15.Name = "Message"
  176. NewGuiPart15.Position = UDim2.new(0, 15, 0, 305)
  177. NewGuiPart15.Size = UDim2.new(1, -30, 0, 25)
  178. NewGuiPart15.Font = Enum.Font.Highway
  179. NewGuiPart15.FontSize = Enum.FontSize.Size14
  180. NewGuiPart15.Text = "Server Message: variable is gay"
  181. NewGuiPart15.TextColor3 = Color3.new(0.886275, 0.886275, 0.886275)
  182. NewGuiPart15.TextStrokeTransparency = 0.69999998807907
  183. NewGuiPart15.Parent = NewGuiPart11
  184. -------
  185. local NewGuiPart16 = Instance.new("TextBox")
  186. NewGuiPart16.BackgroundColor3 = Color3.new(0.639216, 0.223529, 0.223529)
  187. NewGuiPart16.BorderColor3 = Color3.new(0.32549, 0, 0)
  188. NewGuiPart16.Name = "Command"
  189. NewGuiPart16.Position = UDim2.new(0, 15, 0, 335)
  190. NewGuiPart16.Size = UDim2.new(1, -30, 0, 20)
  191. NewGuiPart16.Font = Enum.Font.Code
  192. NewGuiPart16.FontSize = Enum.FontSize.Size12
  193. NewGuiPart16.Text = "Press ; to enter a command"
  194. NewGuiPart16.TextColor3 = Color3.new(0.819608, 0.819608, 0.819608)
  195. NewGuiPart16.TextStrokeTransparency = 0.80000001192093
  196. NewGuiPart16.TextTransparency = 0.30000001192093
  197. NewGuiPart16.Parent = NewGuiPart10
  198. -------
  199. local NewGuiPart17 = Instance.new("Frame")
  200. NewGuiPart17.BackgroundTransparency = 1
  201. NewGuiPart17.Name = "Template"
  202. NewGuiPart17.Size = UDim2.new(1, 0, 1, 0)
  203. NewGuiPart17.Visible = false
  204. NewGuiPart17.ZIndex = 2
  205. NewGuiPart17.Parent = NewGuiPart10
  206. -------
  207. local NewGuiPart18 = Instance.new("ScrollingFrame")
  208. NewGuiPart18.Active = true
  209. NewGuiPart18.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  210. NewGuiPart18.BorderColor3 = Color3.new(0.32549, 0, 0)
  211. NewGuiPart18.Name = "Container"
  212. NewGuiPart18.Position = UDim2.new(0, 15, 0, 10)
  213. NewGuiPart18.Selectable = true
  214. NewGuiPart18.Size = UDim2.new(1, -30, 0, 320)
  215. NewGuiPart18.ZIndex = 2
  216. NewGuiPart18.BottomImage = "rbxassetid://368504177"
  217. NewGuiPart18.CanvasSize = UDim2.new(0, 0, 0, 0)
  218. NewGuiPart18.MidImage = "rbxassetid://368504177"
  219. NewGuiPart18.ScrollBarThickness = 5
  220. NewGuiPart18.TopImage = "rbxassetid://368504177"
  221. NewGuiPart18.ClipsDescendants = true
  222. NewGuiPart18.Parent = NewGuiPart17
  223. -------
  224. local NewGuiPart19 = Instance.new("Frame")
  225. NewGuiPart19.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  226. NewGuiPart19.BackgroundTransparency = 1
  227. NewGuiPart19.BorderColor3 = Color3.new(0.32549, 0, 0)
  228. NewGuiPart19.Name = "Navigator"
  229. NewGuiPart19.Position = UDim2.new(0, 16, 0, 10)
  230. NewGuiPart19.Size = UDim2.new(1, -30, 0, 60)
  231. NewGuiPart19.Visible = false
  232. NewGuiPart19.Parent = NewGuiPart10
  233. -------
  234. local NewGuiPart20 = Instance.new("Frame")
  235. NewGuiPart20.BackgroundColor3 = Color3.new(0.509804, 0.184314, 0.184314)
  236. NewGuiPart20.BorderColor3 = Color3.new(0.32549, 0, 0)
  237. NewGuiPart20.Name = "NavMain"
  238. NewGuiPart20.Position = UDim2.new(0, 22, 0, 0)
  239. NewGuiPart20.Size = UDim2.new(1, -44, 0, 60)
  240. NewGuiPart20.Parent = NewGuiPart19
  241. -------
  242. local NewGuiPart21 = Instance.new("TextButton")
  243. NewGuiPart21.Active = true
  244. NewGuiPart21.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  245. NewGuiPart21.BorderSizePixel = 0
  246. NewGuiPart21.Name = "NavLeft"
  247. NewGuiPart21.Selectable = true
  248. NewGuiPart21.Size = UDim2.new(0, 17, 1, 0)
  249. NewGuiPart21.Style = Enum.ButtonStyle.Custom
  250. NewGuiPart21.FontSize = Enum.FontSize.Size14
  251. NewGuiPart21.Text = ""
  252. NewGuiPart21.Parent = NewGuiPart19
  253. -------
  254. local NewGuiPart22 = Instance.new("TextButton")
  255. NewGuiPart22.Active = true
  256. NewGuiPart22.BackgroundColor3 = Color3.new(0.631373, 0.223529, 0.223529)
  257. NewGuiPart22.BorderSizePixel = 0
  258. NewGuiPart22.Name = "NavRight"
  259. NewGuiPart22.Position = UDim2.new(1, -17, 0, 0)
  260. NewGuiPart22.Selectable = true
  261. NewGuiPart22.Size = UDim2.new(0, 17, 1, 0)
  262. NewGuiPart22.Style = Enum.ButtonStyle.Custom
  263. NewGuiPart22.FontSize = Enum.FontSize.Size14
  264. NewGuiPart22.Text = ""
  265. NewGuiPart22.Parent = NewGuiPart19
  266. -------
  267. local NewGuiPart23 = Instance.new("Frame")
  268. NewGuiPart23.Active = true
  269. NewGuiPart23.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  270. NewGuiPart23.BorderSizePixel = 0
  271. NewGuiPart23.Name = "Navigation"
  272. NewGuiPart23.Size = UDim2.new(0, 150, 1, 0)
  273. NewGuiPart23.ZIndex = 2
  274. NewGuiPart23.Parent = NewGuiPart2
  275. -------
  276. local NewGuiPart24 = Instance.new("Frame")
  277. NewGuiPart24.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  278. NewGuiPart24.BorderSizePixel = 0
  279. NewGuiPart24.Name = "Topbar"
  280. NewGuiPart24.Size = UDim2.new(1, 0, 0, 30)
  281. NewGuiPart24.ZIndex = 3
  282. NewGuiPart24.Parent = NewGuiPart23
  283. -------
  284. local NewGuiPart25 = Instance.new("ScrollingFrame")
  285. NewGuiPart25.BackgroundColor3 = Color3.new(0.470588, 0.164706, 0.164706)
  286. NewGuiPart25.BorderSizePixel = 0
  287. NewGuiPart25.Name = "Scroll"
  288. NewGuiPart25.Position = UDim2.new(0, 0, 0, 30)
  289. NewGuiPart25.Selectable = true
  290. NewGuiPart25.Size = UDim2.new(1, 0, 1, -30)
  291. NewGuiPart25.ZIndex = 3
  292. NewGuiPart25.BottomImage = "rbxassetid://368504177"
  293. NewGuiPart25.MidImage = "rbxassetid://368504177"
  294. NewGuiPart25.ScrollBarThickness = 6
  295. NewGuiPart25.TopImage = "rbxassetid://368504177"
  296. NewGuiPart25.ClipsDescendants = true
  297. NewGuiPart25.Parent = NewGuiPart23
  298. -------
  299. local NewGuiPart26 = Instance.new("Frame")
  300. NewGuiPart26.BackgroundTransparency = 1
  301. NewGuiPart26.Name = "Composite1"
  302. NewGuiPart26.Position = UDim2.new(-1, 0, 0.5, -50)
  303. NewGuiPart26.Size = UDim2.new(0, 50, 0, 100)
  304. NewGuiPart26.ClipsDescendants = true
  305. NewGuiPart26.Parent = NewGuiPart1
  306. -------
  307. local NewGuiPart27 = Instance.new("TextLabel")
  308. NewGuiPart27.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  309. NewGuiPart27.BorderSizePixel = 0
  310. NewGuiPart27.Name = "Label"
  311. NewGuiPart27.Size = UDim2.new(2, 0, 1, 0)
  312. NewGuiPart27.Font = Enum.Font.SourceSansBold
  313. NewGuiPart27.FontSize = Enum.FontSize.Size96
  314. NewGuiPart27.Text = "T"
  315. NewGuiPart27.TextColor3 = Color3.new(1, 1, 1)
  316. NewGuiPart27.Parent = NewGuiPart26
  317. -------
  318. local NewGuiPart28 = Instance.new("Frame")
  319. NewGuiPart28.BackgroundTransparency = 1
  320. NewGuiPart28.Name = "Composite2"
  321. NewGuiPart28.Position = UDim2.new(1, 0, 0.5, -50)
  322. NewGuiPart28.Size = UDim2.new(0, 50, 0, 100)
  323. NewGuiPart28.ClipsDescendants = true
  324. NewGuiPart28.Parent = NewGuiPart1
  325. -------
  326. local NewGuiPart29 = Instance.new("TextLabel")
  327. NewGuiPart29.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  328. NewGuiPart29.BorderSizePixel = 0
  329. NewGuiPart29.Name = "Label"
  330. NewGuiPart29.Position = UDim2.new(-1, 0, 0, 0)
  331. NewGuiPart29.Size = UDim2.new(2, 0, 1, 0)
  332. NewGuiPart29.Font = Enum.Font.SourceSansBold
  333. NewGuiPart29.FontSize = Enum.FontSize.Size96
  334. NewGuiPart29.Text = "T"
  335. NewGuiPart29.TextColor3 = Color3.new(1, 1, 1)
  336. NewGuiPart29.Parent = NewGuiPart28
  337. -------
  338. local NewGuiPart30 = Instance.new("Frame")
  339. NewGuiPart30.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  340. NewGuiPart30.Name = "Solid"
  341. NewGuiPart30.Position = UDim2.new(0.5, -50, 0.5, -50)
  342. NewGuiPart30.Visible = false
  343. NewGuiPart30.ClipsDescendants = true
  344. NewGuiPart30.Parent = NewGuiPart1
  345. -------
  346. local NewGuiPart31 = Instance.new("TextLabel")
  347. NewGuiPart31.BackgroundColor3 = Color3.new(0.623529, 0.223529, 0.223529)
  348. NewGuiPart31.BorderSizePixel = 0
  349. NewGuiPart31.Name = "Label"
  350. NewGuiPart31.Size = UDim2.new(1, 0, 1, 0)
  351. NewGuiPart31.Font = Enum.Font.SourceSansBold
  352. NewGuiPart31.FontSize = Enum.FontSize.Size96
  353. NewGuiPart31.Text = "T"
  354. NewGuiPart31.TextColor3 = Color3.new(1, 1, 1)
  355. NewGuiPart31.Parent = NewGuiPart30
  356.  
  357.  
  358.  
  359. topkek.center = game.Players.LocalPlayer.PlayerGui["4.0"].Main
  360. topkek.holder = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder
  361. topkek.topbar = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar
  362. topkek.template = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Template
  363. topkek.navigator = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder.Navigator
  364.  
  365. AllowHovers = false
  366. PlayerChatHook, UpdateBanlist = nil
  367. cmd = {}
  368.  
  369. --// data //--
  370. topkek.data.windows = {
  371. 'Home',
  372. 'LocalPlayer',
  373. 'Server',
  374. 'Players',
  375. 'Destruction',
  376. 'Scripts',
  377. 'Catalog',
  378. 'Music',
  379. 'Hats',
  380. 'Faces',
  381. 'Settings',
  382. 'Commands',
  383. 'Banlist',
  384. }
  385.  
  386. color3 = function(r,g,b)
  387. return Color3.new(r/255, g/255, b/255)
  388. end
  389. --// doggo dropdown //--
  390. -- thanks krystal
  391. GUI = {
  392. TextBox = {
  393. Settings = {
  394. Font = Enum.Font.SourceSans;
  395. FontSize = Enum.FontSize.Size14;
  396. };
  397. Color = {
  398. Main = Color3.fromRGB(5,8,11);
  399. Border = Color3.fromRGB(27,42,53);
  400. Text = Color3.fromRGB(199,199,199);
  401. };
  402. New = function(Position, Size, Parent, ...)
  403. local arguments = {...};
  404.  
  405. local TextBox = Instance.new("TextBox", Parent);
  406. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  407. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  408. TextBox.Font = GUI.TextBox.Settings.Font;
  409. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  410. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  411. TextBox.Position = Position;
  412. TextBox.Size = Size;
  413. if #arguments then
  414. if arguments[1] then
  415. TextBox.Text = tostring(arguments[1]);
  416. else
  417. TextBox.Text = "";
  418. end
  419. end
  420. return TextBox;
  421. end;
  422. };
  423. DropDown = {
  424. Settings = {
  425. ScrollerAmount = 5; --A scroller will appear at this amount.
  426. ScrollBarThickness = 6;
  427. };
  428. Gfx = {
  429. Scroller = "rbxassetid://606572419";
  430. };
  431. Color = {
  432. Main = color3(107, 36, 36);
  433. Secondary = color3(113, 39, 39);
  434. Border = color3(127, 44, 44);
  435. Text = Color3.fromRGB(199,199,199);
  436. };
  437. New = function(Position, Size, Parent, ...)
  438. local vValue = {};
  439. local arguments = {...};
  440. local vSelected = Instance.new("StringValue");
  441. vSelected.Value = "nil";
  442.  
  443. if arguments then
  444. if type(arguments) == "table" then
  445. for i=1,#(arguments) do
  446. if type(arguments[i]) == "table" then
  447. for f=1,#(arguments[i]) do
  448. table.insert(vValue, tostring((arguments[i])[f]));
  449. end
  450. else
  451. table.insert(vValue, tostring(arguments[i]));
  452. end
  453. end
  454. vSelected.Value = (vValue[1]);
  455. end
  456. end
  457.  
  458. local Main = Instance.new("TextButton", Parent);
  459. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  460. Main.BorderColor3 = GUI.DropDown.Color.Border;
  461. Main.Position = Position;
  462. Main.Size = Size;
  463. Main.TextColor3 = GUI.DropDown.Color.Text;
  464. Main.FontSize = Enum.FontSize.Size14;
  465. Main.TextStrokeTransparency = 0.5;
  466. Main.TextXAlignment = Enum.TextXAlignment.Left;
  467. Main.Font = Enum.Font.SourceSans;
  468. Main.Text = " "..tostring(vSelected.Value);
  469. Main.ZIndex = 3
  470.  
  471. local Icon = Instance.new("TextLabel", Main);
  472. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  473. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  474. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  475. Icon.Position = UDim2.new(1,-2,1,-2);
  476. Icon.Size = UDim2.new(-1,4,-1,4);
  477. Icon.TextColor3 = GUI.DropDown.Color.Text;
  478. Icon.FontSize = Enum.FontSize.Size14;
  479. Icon.TextStrokeTransparency = 0.5;
  480. Icon.Font = Enum.Font.SourceSans;
  481. Icon.Text = "V"
  482. Icon.ZIndex = 4
  483.  
  484. local Holder, Search;
  485. local ClearHolder = function()
  486. if Holder then
  487. Holder:ClearAllChildren();
  488. Holder.Size = UDim2.new(1,0,0,0);
  489. Holder.Visible = false;
  490. if Search then
  491. Search.Visible = false;
  492. end
  493. end
  494. end;
  495.  
  496. local CreateButton;
  497. local RefreshDropDown = function()
  498. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  499. if not Holder or not Holder:IsA("Frame") then
  500. Holder = nil; Search = nil;
  501. Holder = Instance.new("Frame",Main);
  502. Holder.Size = UDim2.new(1,0,0,0);
  503. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  504. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  505. Holder.Visible = false;
  506. Holder.ZIndex = 3
  507. end
  508. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  509. if not Holder or not Holder:IsA("ScrollingFrame") then
  510. Holder = nil; Search = nil;
  511. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  512. Search.Visible = false;
  513. Search.ZIndex = 4
  514. Search.Changed:connect(function(p)
  515. if p == "Text" then
  516. CreateButton(Search.Text);
  517. end
  518. end)
  519. Holder = Instance.new("ScrollingFrame",Main);
  520. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  521. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  522. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  523. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  524. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  525. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  526. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  527. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  528. Holder.Visible = false;
  529. Holder.ZIndex = 3;
  530. end
  531. end
  532. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  533. vSelected.Value = vValue[1];
  534. elseif #vValue == 0 then
  535. vSelected.Value = "nil";
  536. warn("Table amount is nil.");
  537. end
  538. Main.Text = " "..tostring(vSelected.Value);
  539. --ClearHolder();
  540. end;
  541.  
  542. local Debounce = false;
  543. CreateButton = function(searches)
  544. if Debounce == false then
  545. Debounce = true;
  546. ClearHolder()
  547. Holder.Visible = true;
  548. local Searched = 0;
  549. if #vValue > 0 then
  550. for i=1,#vValue do
  551. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  552. Searched = Searched + 1;
  553. end
  554. end
  555. for i=1,#vValue do
  556. 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
  557. local Select = Instance.new("TextButton", Holder);
  558. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  559. Select.BorderColor3 = GUI.DropDown.Color.Border;
  560. Select.BackgroundTransparency = 1;
  561. Select.BorderSizePixel = 0;
  562. Select.Position = Position;
  563. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  564. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  565. else
  566. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  567. end
  568. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  569. Select.TextColor3 = GUI.DropDown.Color.Text;
  570. Select.FontSize = Enum.FontSize.Size14;
  571. Select.TextStrokeTransparency = 0.5;
  572. Select.Font = Enum.Font.SourceSans;
  573. Select.Text = tostring(vValue[i]);
  574. Select.ZIndex = 3
  575. Select.MouseButton1Click:connect(function()
  576. vSelected.Value = vValue[i];
  577. ClearHolder();
  578. RefreshDropDown();
  579. end)
  580. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  581. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  582. elseif Holder:IsA("ScrollingFrame") then
  583. Search.Visible = true;
  584. if #Holder:GetChildren() >= 1 then
  585. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  586. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  587. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  588. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  589. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  590. end
  591. elseif #Holder:GetChildren() < 1 then
  592. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  593. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  594. end
  595. end
  596. end
  597. end
  598. end
  599. Debounce = false;
  600. end
  601. end;
  602.  
  603. RefreshDropDown();
  604.  
  605. Main.MouseButton1Click:connect(function()
  606. CreateButton()
  607. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  608. Search:CaptureFocus();
  609. Search.Text = "";
  610. end
  611. end)
  612.  
  613. topkek.lplr:GetMouse().Button1Down:connect(function()
  614. ClearHolder()
  615. end)
  616.  
  617. return {
  618. Update = function()
  619. RefreshDropDown();
  620. end;
  621. GetValue = function()
  622. RefreshDropDown();
  623. return vValue;
  624. end;
  625. GetSelected = function()
  626. RefreshDropDown();
  627. return vSelected.Value;
  628. end;
  629. SetTable = function(F)
  630. vValue = F;
  631. RefreshDropDown();
  632. end;
  633. Changed = function(F)
  634. vSelected.Changed:connect(function()
  635. ypcall(function()
  636. F(vSelected.Value);
  637. end)
  638. end)
  639. return "ChangedEvent Hooked";
  640. end;
  641. AddValue = function(obj)
  642. local Type = type(obj);
  643. if Type == "table" then
  644. for i=1,#obj do
  645. table.insert(vValue, obj[i])
  646. end
  647. elseif Type == "string" or Type == "number" or Type == "boolean" then
  648. table.insert(vValue, obj)
  649. end
  650. RefreshDropDown();
  651. end;
  652. RemoveValue = function(obj)
  653. local Type = type(obj);
  654. if Type == "table" then
  655. for i=1,#vValue do
  656. for f=1,#obj do
  657. if tostring(obj[f]) == tostring(vValue[i]) then
  658. table.remove(vValue,i)
  659. end
  660. end
  661. end
  662. else
  663. for i=1,#vValue do
  664. if tostring(obj) == tostring(vValue[i]) then
  665. table.remove(vValue,i)
  666. end
  667. end
  668. end
  669. RefreshDropDown();
  670. end;
  671. ClearValue = function()
  672. vValue = {};
  673. RefreshDropDown();
  674. end;
  675. }
  676. end;
  677. };
  678. };
  679. --// util //--
  680. function topkek.tools.util.Object(o, p)
  681. local a, b = pcall(function()
  682. Instance.new(o)
  683. end)
  684. if not a then
  685. return
  686. end
  687. local obj = Instance.new(o)
  688. for prop, val in pairs(p) do
  689. pcall(function()
  690. obj[prop] = val
  691. end)
  692. end
  693. return obj
  694. end
  695.  
  696. function topkek.tools.util.getContainer(n)
  697. if game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder:FindFirstChild(n) then
  698. return game.Players.LocalPlayer.PlayerGui["4.0"].Main.Holder[n]
  699. else
  700. print("menu not found; returning template")
  701. return topkek.holder['Template']
  702. end
  703. end
  704.  
  705. function topkek.tools.util.play(id)
  706. local mu = Instance.new("Sound", game:GetService('Workspace'))
  707. mu.Volume = 1
  708. mu.Looped = true
  709. mu.Pitch = 1
  710. mu.SoundId = "rbxassetid://"..tostring(id)
  711. mu:Play()
  712. end
  713.  
  714. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  715. if plr.Character then
  716. if plr.Character:FindFirstChild('UpperTorso') then
  717. return plr.Character.UpperTorso
  718. elseif plr.Character:FindFirstChild('Torso') then
  719. return plr.Character.Torso
  720. else
  721. return nil
  722. end
  723. end
  724. end
  725.  
  726. function topkek.tools.util.recurseRemove(x,type_)
  727. local function recurse(x)
  728. for i, v in pairs(x:GetChildren()) do
  729. pcall(function()
  730. if v:IsA(type_) then
  731. v:Destroy()
  732. end
  733. if #(v:GetChildren())>0 then
  734. recurse(v)
  735. end
  736. end)
  737. end
  738. end
  739. recurse(x)
  740. end
  741.  
  742. function topkek.tools.util.recurseFunc(type_,func)
  743. local function recurse(x)
  744. for i, v in pairs(x:GetChildren()) do
  745. pcall(function()
  746. if v:IsA(type_) then
  747. func(v)
  748. end
  749. if #(v:GetChildren())>0 then
  750. recurse(v)
  751. end
  752. end)
  753. end
  754. end
  755. recurse(game)
  756. end
  757. function topkek.tools.util.trowel()
  758. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  759. T.Name = 'Custom Trowel'
  760.  
  761. local p = Instance.new('Part')
  762. p.Name = 'Handle'
  763. p.Size = Vector3.new(1,4.4,1)
  764. p.Parent = T
  765.  
  766. local specialMesh = Instance.new('SpecialMesh')
  767. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  768. specialMesh.MeshType = 'FileMesh'
  769. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  770. specialMesh.Parent = T.Handle
  771.  
  772. local sound = Instance.new'Sound'
  773. sound.Name = 'build'
  774. sound.SoundId = 'rbxasset://sounds//bass.wav'
  775. sound.Volume = 1
  776. sound.Parent = T.Handle
  777.  
  778. local brickHeight = 100
  779. local trowelSpeed = 0.05
  780. local brickWidth = 500
  781. local mouseConnection
  782.  
  783. function newBrick(CF, P, color)
  784. local brick = Instance.new('Part')
  785. brick.BrickColor = color
  786. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  787. brick.Parent = game.Workspace
  788. brick:MakeJoints()
  789. brick.Material = 'Neon'
  790. brick.Name = 'DeleteMe'
  791. return brick, P + brick.Size
  792. end
  793.  
  794. function genBrick(cFrame)
  795. local randBrickColor = BrickColor.Random()
  796. assert(brickWidth > 0)
  797.  
  798. local yPos = 0
  799.  
  800. while yPos < brickHeight do
  801. local vPos
  802. local X = -brickWidth / 2
  803. while X < brickWidth / 2 do
  804. local brick
  805. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  806. X = vPos.x
  807. wait(trowelSpeed)
  808. end
  809. yPos = vPos.y
  810. end
  811. end
  812.  
  813. function calcPos(vec)
  814. if (math.abs(vec.x) > math.abs(vec.z)) then
  815. if vec.x > 0 then
  816. return Vector3.new(1, 0, 0)
  817. else
  818. return Vector3.new(-1, 0, 0)
  819. end
  820. else
  821. if (vec.z > 0) then
  822. return Vector3.new(0, 0, 1)
  823. else
  824. return Vector3.new(0, 0, -1)
  825. end
  826. end
  827. end
  828.  
  829. T.Enabled = true
  830.  
  831. T.Activated:connect(function()
  832. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  833. T.Enabled = false
  834. T.Handle.build:Play()
  835. 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)))
  836. T.Enabled = true
  837. end
  838. end)
  839.  
  840. T.Equipped:connect(function()
  841. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  842. if (key == 'r') then
  843. for i,v in next, workspace:children'' do
  844. if (v.Name == 'DeleteMe') then
  845. v:Destroy()
  846. end
  847. end
  848. end
  849. end)
  850. end)
  851.  
  852. T.Unequipped:connect(function()
  853. mouseConnection:disconnect()
  854. end)
  855. end
  856. function topkek.tools.util.recurseSet(type_,prop,val)
  857. local function recurse(x)
  858. for i, v in pairs(x:GetChildren()) do
  859. pcall(function()
  860. if v:IsA(type_) then
  861. v[prop]=val
  862. end
  863. if #(v:GetChildren())>0 then
  864. recurse(v)
  865. end
  866. end)
  867. end
  868. end
  869. recurse(game)
  870. end
  871. function topkek.tools.util.recurseUltimate(d)
  872. topkek.tools.util.recurseDecal(d)
  873. topkek.tools.util.recurseParticles(d)
  874. end
  875. function topkek.tools.util.recurseDecal(img)
  876. img = 'rbxassetid://' .. img
  877. local function skybox(x)
  878. local sky = Instance.new("Sky",game.Lighting)
  879. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  880. for i,v in pairs(fcs) do
  881. sky["Skybox"..v]=x
  882. end
  883. end
  884.  
  885. local function decal(p, b)
  886. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  887. for i, v in pairs(sides) do
  888. local a = Instance.new("Decal", p)
  889. a.Texture = b
  890. a.Face = v
  891. end
  892. end
  893.  
  894. local function recurse(x)
  895. for i, v in pairs(x:GetChildren()) do
  896. pcall(function() -- 'error occured, no output from Lua' LOLE
  897. if v:IsA("BasePart") then
  898. decal(v, img)
  899. end
  900. if #(v:GetChildren())>0 then
  901. recurse(v)
  902. end
  903. end)
  904. end
  905. end
  906.  
  907. recurse(game)
  908. skybox(img)
  909. end
  910. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  911. img = 'rbxassetid://' .. img
  912. local function skybox(x)
  913. local sky = Instance.new("Sky",game.Lighting)
  914. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  915. for i,v in pairs(fcs) do
  916. sky["Skybox"..v]=x
  917. end
  918. end
  919. local function particle(p, b)
  920. local a = Instance.new("ParticleEmitter", p)
  921. a.Rate = 500
  922. a.Lifetime = NumberRange.new(20, 30)
  923. a.VelocitySpread = 200
  924. a.Texture = b
  925. end
  926.  
  927. local function recurse(x)
  928. for i, v in pairs(x:GetChildren()) do
  929. pcall(function() -- 'error occured, no output from Lua' LOLE
  930. if v:IsA("BasePart") then
  931. particle(v, img)
  932. end
  933. if #(v:GetChildren())>0 then
  934. recurse(v)
  935. end
  936. end)
  937. end
  938. end
  939.  
  940. recurse(game)
  941. skybox(img)
  942. end
  943. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  944. local function recurse(x)
  945. for i, v in pairs(x:GetChildren()) do
  946. pcall(function()
  947. if v:IsA(type_) then
  948. v[prop]=val
  949. end
  950. if #(v:GetChildren())>0 then
  951. recurse(v)
  952. end
  953. end)
  954. end
  955. end
  956. recurse(obj)
  957. end
  958. function topkek.tools.util.doPlayers(cval, func)
  959. local plrs = {}
  960. if cval == 'All' then
  961. plrs = game:GetService('Players'):GetPlayers()
  962. else
  963. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  964. end
  965. for i, v in pairs(plrs) do
  966. func(v)
  967. end
  968. end
  969. function topkek.tools.util.scalePlayer(sc,plr)
  970. local pchar = plr.Character
  971. if pchar:FindFirstChild("UpperTorso") then
  972. warn("Player [" ..plr.Name.. "] is R15.")
  973. return
  974. end
  975. local function scale(chr,scl)
  976.  
  977. for _,v in pairs(pchar:GetChildren()) do
  978. if v:IsA("Hat") then
  979. v:Clone()
  980. v.Parent = game.Lighting
  981. end
  982. end
  983.  
  984. local Head = chr['Head']
  985. local Torso = chr['Torso']
  986. local LA = chr['Left Arm']
  987. local RA = chr['Right Arm']
  988. local LL = chr['Left Leg']
  989. local RL = chr['Right Leg']
  990. local HRP = chr['HumanoidRootPart']
  991.  
  992. wait(0.1)
  993.  
  994. Head.formFactor = 3
  995. Torso.formFactor = 3
  996. LA.formFactor = 3
  997. RA.formFactor = 3
  998. LL.formFactor = 3
  999. RL.formFactor = 3
  1000. HRP.formFactor = 3
  1001.  
  1002. Head.Size = Vector3.new(scl * 2, scl, scl)
  1003. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1004. LA.Size = Vector3.new(scl, scl * 2, scl)
  1005. RA.Size = Vector3.new(scl, scl * 2, scl)
  1006. LL.Size = Vector3.new(scl, scl * 2, scl)
  1007. RL.Size = Vector3.new(scl, scl * 2, scl)
  1008. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1009.  
  1010. local Motor1 = Instance.new('Motor6D', Torso)
  1011. Motor1.Part0 = Torso
  1012. Motor1.Part1 = Head
  1013. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1014. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  1015. Motor1.Name = "Neck"
  1016.  
  1017. local Motor2 = Instance.new('Motor6D', Torso)
  1018. Motor2.Part0 = Torso
  1019. Motor2.Part1 = LA
  1020. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1021. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1022. Motor2.Name = "Left Shoulder"
  1023.  
  1024. local Motor3 = Instance.new('Motor6D', Torso)
  1025. Motor3.Part0 = Torso
  1026. Motor3.Part1 = RA
  1027. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1028. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1029. Motor3.Name = "Right Shoulder"
  1030.  
  1031. local Motor4 = Instance.new('Motor6D', Torso)
  1032. Motor4.Part0 = Torso
  1033. Motor4.Part1 = LL
  1034. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1035. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  1036. Motor4.Name = "Left Hip"
  1037.  
  1038. local Motor5 = Instance.new('Motor6D', Torso)
  1039. Motor5.Part0 = Torso
  1040. Motor5.Part1 = RL
  1041. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1042. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  1043. Motor5.Name = "Right Hip"
  1044.  
  1045. local Motor6 = Instance.new('Motor6D', HRP)
  1046. Motor6.Part0 = HRP
  1047. Motor6.Part1 = Torso
  1048. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1049. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  1050.  
  1051. end
  1052.  
  1053. scale(pchar, sc)
  1054.  
  1055. for _,v in pairs(game.Lighting:GetChildren()) do
  1056. if v:IsA("Hat") then
  1057. v.Parent = pchar
  1058. end
  1059. end
  1060. end
  1061. function topkek.tools.util.applyFace(id)
  1062. local Char = topkek.lplr.Character
  1063. if(Char)then
  1064. local Type = id
  1065. local Meme=id
  1066. local BBG_SIZE=Char.Head.Size.X*1.25;
  1067. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  1068. local STUD_VECTOR_2=Char.Head.Size.Z;
  1069. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  1070. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  1071. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  1072. bbg.Adornee=Char.Head;
  1073. bbg.Name='BBGMEME';
  1074. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  1075. img.BackgroundTransparency=1;
  1076. img.Image="rbxassetid://"..Meme;
  1077. img.Size=UDim2.new(1,0,1,0)
  1078. img.Name='Meme';
  1079. for i,v in next,Char:children()do
  1080. if(v.className=='Hat')then
  1081. v=v:FindFirstChild'Handle';
  1082. if(v)then
  1083. v.Transparency=0
  1084. end;
  1085. end;
  1086. end;
  1087. end;
  1088. end;
  1089. function topkek.tools.util.weenieHutJunior(plr)
  1090. plr=plr.Character
  1091. Shaft=Instance.new("Part", plr)
  1092. Shaft.Name='Shaft'
  1093. Shaft.Size=Vector3.new(1, 2.5, 1)
  1094. Shaft.TopSurface=0
  1095. Shaft.BottomSurface=0
  1096. Shaft.CanCollide=true
  1097. Cyln=Instance.new("CylinderMesh", Shaft)
  1098. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  1099. Instance.new("Weld", plr)
  1100. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  1101. plr.Weld.Part1=plr.Shaft
  1102. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  1103. Shaft.BrickColor=BrickColor.new("Pastel brown")
  1104. Tip=Instance.new("Part", plr)
  1105. Tip.Name='Tip'
  1106. Tip.TopSurface=0
  1107. Tip.BottomSurface=0
  1108. Tip.Size=Vector3.new(1, 1, 1)
  1109. Tip.CanCollide=true
  1110. 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)
  1111. Cyln2=Instance.new("SpecialMesh", Tip)
  1112. Cyln2.MeshType='Sphere'
  1113. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  1114. Instance.new("Weld", plr).Name='Weld2'
  1115. plr.Weld2.Part0=plr.Shaft
  1116. plr.Weld2.Part1=plr.Tip
  1117. plr.Weld2.C0=CFrame.new(0,-.9,0)
  1118. Tip.BrickColor=BrickColor.new("Pink")
  1119. -----
  1120. Ball1=Instance.new("Part", plr)
  1121. Ball1.Name='Ball1'
  1122. Ball1.Size=Vector3.new(1, 1, 1)
  1123. Ball1.TopSurface=0
  1124. Ball1.BottomSurface=0
  1125. Cyln3=Instance.new("SpecialMesh", Ball1)
  1126. Cyln3.MeshType='Sphere'
  1127. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1128. Instance.new("Weld", plr).Name='Weld3'
  1129. plr.Weld3.Part0=plr.Shaft
  1130. plr.Weld3.Part1=plr.Ball1
  1131. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  1132. Ball1.BrickColor=BrickColor.new("Pastel brown")
  1133. -----
  1134. Ball2=Instance.new("Part", plr)
  1135. Ball2.Name='Ball2'
  1136. Ball2.Size=Vector3.new(1, 1, 1)
  1137. Ball2.TopSurface=0
  1138. Ball2.BottomSurface=0
  1139. Cyln3=Instance.new("SpecialMesh", Ball2)
  1140. Cyln3.MeshType='Sphere'
  1141. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  1142. Instance.new("Weld", plr).Name='Weld4'
  1143. plr.Weld4.Part0=plr.Shaft
  1144. plr.Weld4.Part1=plr.Ball2
  1145. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  1146. Ball2.BrickColor=BrickColor.new("Pastel brown")
  1147. end
  1148. --// banmgr //--
  1149. topkek.banmgr.isPrivate = false
  1150. topkek.banmgr.whitelist = {}
  1151. topkek.banmgr.bans = {}
  1152. function topkek.banmgr.executeKick(z)
  1153. local function doKick()
  1154. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  1155. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1156. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  1157. spawn(function()
  1158. repeat wait()
  1159. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  1160. SP.Position = z.Character.HumanoidRootPart.Position
  1161. end
  1162. until not game:GetService('Players'):FindFirstChild(z.Name)
  1163. end)
  1164. z.Character.Torso.Anchored = true
  1165. end
  1166. end
  1167. repeat
  1168. doKick()
  1169. wait()
  1170. until not z
  1171. end
  1172. function topkek.banmgr.loadFromFile()
  1173. -- todo: read file
  1174. topkek.settings.get()
  1175. topkek.banmgr.bans = topkek.settingsTable['Bans']
  1176. end
  1177. function topkek.banmgr.addHardBan(p)
  1178. -- todo: write file
  1179. table.insert(topkek.banmgr.bans, p.Name)
  1180. topkek.settings.get()
  1181. table.insert(topkek.settingsTable['Bans'], p.Name)
  1182. topkek.settings.write()
  1183. print("Hardbanned " .. p.Name)
  1184. UpdateBanlist()
  1185. topkek.banmgr.executeKick(p)
  1186. topkek.banmgr.loadFromFile()
  1187. end
  1188. function topkek.banmgr.addSoftBan(p)
  1189. table.insert(topkek.banmgr.bans, p.Name)
  1190. topkek.banmgr.executeKick(p)
  1191. end
  1192. function topkek.banmgr.plrBanned(p)
  1193. for x, m in pairs(topkek.banmgr.bans) do
  1194. if m == p.Name then
  1195. return true
  1196. end
  1197. end
  1198. return false
  1199. end
  1200. function topkek.banmgr.doWhitelist(p)
  1201. print(p .. " whitelisted")
  1202. table.insert(topkek.banmgr.whitelist, p)
  1203. end
  1204. function topkek.banmgr.unwhitelist(p)
  1205. for x, m in pairs(topkek.banmgr.whitelist) do
  1206. if m == p then
  1207. print(m .. " unwhitelisted")
  1208. table.remove(topkek.banmgr.whitelist, x)
  1209. if game:GetService('Players'):FindFirstChild(p) then
  1210. topkek.banmgr.executeKick(game:GetService('Players')[p])
  1211. end
  1212. end
  1213. end
  1214. end
  1215. function topkek.banmgr.plrWhitelisted(p)
  1216. for x, m in pairs(topkek.banmgr.whitelist) do
  1217. if m == p.Name then
  1218. return true
  1219. end
  1220. end
  1221. return false
  1222. end
  1223. function topkek.banmgr.makePrivate()
  1224. topkek.banmgr.isPrivate = true
  1225. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  1226. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  1227. spawn(function()
  1228. topkek.banmgr.executeKick(v)
  1229. end)
  1230. end
  1231. end
  1232. end
  1233. function topkek.banmgr.unprivate()
  1234. topkek.banmgr.isPrivate = false
  1235. end
  1236. function topkek.banmgr.init()
  1237. topkek.banmgr.loadFromFile()
  1238. game:GetService('Players').PlayerAdded:connect(function(p)
  1239. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  1240. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  1241. topkek.banmgr.executeKick(p)
  1242. end
  1243. end)
  1244. end
  1245. --// settings //--
  1246. topkek.settings = {}
  1247. topkek.settingsTable = {}
  1248. function topkek.settings.write()
  1249. --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  1250. end
  1251. function topkek.settings.get()
  1252. if game.Players.LocalPlayer.Character then
  1253. print("No settings! Making new ...")
  1254. topkek.settingsTable = {
  1255. ['Bans'] = {
  1256.  
  1257. },
  1258. ['Themes'] = {
  1259. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  1260. };
  1261. }
  1262. topkek.settings.write()
  1263. return topkek.settingsTable
  1264. else
  1265. local lset = game:GetService('HttpService'):JSONDecode(set)
  1266. topkek.settingsTable = lset
  1267. return lset
  1268. end
  1269. end
  1270. --// shortcuts //--
  1271. tk = {}
  1272. tk.ob = topkek.tools.util.Object
  1273. tk.dp = topkek.tools.util.doPlayers
  1274. tk.rcm = topkek.tools.util.recurseRemove
  1275. tk.rcs = topkek.tools.util.recurseSet
  1276. tk.rcf = topkek.tools.util.recurseFunc
  1277. tk.rco = topkek.tools.util.recurseSetObj
  1278. tk.play = topkek.tools.util.play
  1279. tk.gt = topkek.tools.util.getTorso
  1280. --// gui //--
  1281. -- copying this from topkek3.0 because i'm
  1282. -- too lazy to rewrite my lib
  1283. topkek.tools.gui.seperation = 12
  1284. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  1285. topkek.tools.util.Object('ImageLabel', {
  1286. Parent = parent;
  1287. BackgroundTransparency = 1;
  1288. Position = UDim2.new(0, 2, 0, 2);
  1289. Size = UDim2.new(0, sz, 0, sz);
  1290. Image = img;
  1291. })
  1292. end
  1293. function topkek.tools.gui:makeContainer(n)
  1294. local temp = topkek.template:Clone()
  1295. temp.Name = n
  1296. temp.Parent = topkek.holder
  1297. temp.Container.Visible = false
  1298. end
  1299. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  1300. if not o:IsA("ScrollingFrame") and (not ncan) then
  1301. return nil
  1302. elseif o:IsA("ScrollingFrame") then
  1303. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  1304. end
  1305.  
  1306. local self = {}
  1307. self.main = o
  1308. self.drawX = 0
  1309. self.drawY = stt or topkek.tools.gui.seperation/2
  1310. self.drawHeight = 0
  1311. self.sepr = sepr or topkek.tools.gui.seperation
  1312.  
  1313. function self:drawButton(sz, txt, func, ysz, cbgd)
  1314. local xposOffset = 0
  1315. local xposScale = self.drawX
  1316. local xszOffset = 0
  1317. local xszScale = sz
  1318. if not (self.drawX == 0) then
  1319. xszOffset = -5
  1320. if sz + self.drawX > 0.998 then
  1321. xszOffset = -10
  1322. end
  1323. elseif sz == 1 then
  1324. local bzz = 4
  1325. if ncan then
  1326. bzz = 0
  1327. end
  1328. xszOffset = -(self.sepr) - bzz
  1329. xposOffset = self.sepr/2
  1330. else
  1331. xszOffset = -4 + -(self.sepr/2)
  1332. xposOffset = self.sepr/2
  1333. end
  1334. if not ysz then ysz = 20 end
  1335. local obj = topkek.tools.util.Object("TextButton", {
  1336. Parent = self.main;
  1337. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  1338. BorderSizePixel = 0;
  1339. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1340. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1341. Font = 'SourceSans';
  1342. FontSize = 'Size14';
  1343. Text = txt;
  1344. TextSize = 14;
  1345. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1346. })
  1347. obj.MouseButton1Down:connect(function()
  1348. spawn(func)
  1349. end)
  1350. if ysz > self.drawHeight then
  1351. self.drawHeight = ysz
  1352. end
  1353. self.drawX = self.drawX + sz
  1354. if self.drawX > 0.998 then
  1355. self.drawY = self.drawY + 3 + self.drawHeight
  1356. self.drawX = 0
  1357. self.drawHeight = 0
  1358. if (not ncan) then
  1359. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1360. end
  1361. end
  1362. return obj
  1363. end
  1364.  
  1365. function self:GetChildren()
  1366. return self.main:GetChildren()
  1367. end
  1368.  
  1369. function self:getDrawY()
  1370. return self.drawY
  1371. end
  1372.  
  1373. function self:setDrawY(y)
  1374. self.drawY = y
  1375. end
  1376.  
  1377. function self:drawTextBox(sz, txt, ysz, cbgd)
  1378. local xposOffset = 0
  1379. local xposScale = self.drawX
  1380. local xszOffset = 0
  1381. local xszScale = sz
  1382. if not (self.drawX == 0) then
  1383. xszOffset = -5
  1384. if sz + self.drawX > 0.998 then
  1385. xszOffset = -10
  1386. end
  1387. elseif sz == 1 then
  1388. xszOffset = -(self.sepr) - 5
  1389. xposOffset = self.sepr/2
  1390. else
  1391. xszOffset = -4 + -(self.sepr/2)
  1392. xposOffset = self.sepr/2
  1393. end
  1394. if not ysz then ysz = 20 end
  1395. local obj = topkek.tools.util.Object("TextBox", {
  1396. Parent = self.main;
  1397. BackgroundColor3 = cbgd or color3(153, 52, 52);
  1398. BorderSizePixel = 0;
  1399. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1400. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1401. Font = 'SourceSans';
  1402. FontSize = 'Size14';
  1403. Text = txt;
  1404. TextSize = 14;
  1405. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1406. })
  1407. if ysz > self.drawHeight then
  1408. self.drawHeight = ysz
  1409. end
  1410. self.drawX = self.drawX + sz
  1411. if self.drawX > 0.998 then
  1412. self.drawY = self.drawY + 3 + self.drawHeight
  1413. self.drawX = 0
  1414. self.drawHeight = 0
  1415. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1416. end
  1417. return obj
  1418. end
  1419.  
  1420. function self:drawImage(sz, img, ysz)
  1421. local xposOffset = 0
  1422. local xposScale = self.drawX
  1423. local xszOffset = 0
  1424. local xszScale = sz
  1425. if not (self.drawX == 0) then
  1426. xszOffset = -5
  1427. if sz + self.drawX > 0.998 then
  1428. xszOffset = -12
  1429. end
  1430. elseif sz == 1 then
  1431. xszOffset = -(self.sepr) - 5
  1432. xposOffset = self.sepr/2
  1433. else
  1434. xszOffset = -5 + -(self.sepr/2)
  1435. xposOffset = self.sepr/2
  1436. end
  1437. if not ysz then ysz = 20 end
  1438. local obj = topkek.tools.util.Object("ImageLabel", {
  1439. Parent = self.main;
  1440. BackgroundTransparency = 1;
  1441. BorderColor3 = Color3.new(27, 42, 53);
  1442. BorderSizePixel = 0;
  1443. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1444. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1445. Image = img;
  1446. })
  1447. if ysz > self.drawHeight then
  1448. self.drawHeight = ysz
  1449. end
  1450. self.drawX = self.drawX + sz
  1451. if self.drawX > 0.998 then
  1452. self.drawY = self.drawY + 3 + self.drawHeight
  1453. self.drawX = 0
  1454. self.drawHeight = 0
  1455. if (not ncan) then
  1456. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1457. end
  1458. end
  1459. return obj
  1460. end
  1461.  
  1462. function self:drawText(sz, txt, ysz)
  1463. local xposOffset = 0
  1464. local xposScale = self.drawX
  1465. local xszOffset = 0
  1466. local xszScale = sz
  1467. if not (self.drawX == 0) then
  1468. xszOffset = -5
  1469. if sz + self.drawX > 0.998 then
  1470. xszOffset = -10
  1471. end
  1472. elseif sz == 1 then
  1473. local bzz = 5
  1474. if ncan then
  1475. bzz = 0
  1476. end
  1477. xszOffset = -(self.sepr) - bzz
  1478. xposOffset = self.sepr/2
  1479. else
  1480. xszOffset = -4 + -(self.sepr/2)
  1481. xposOffset = self.sepr/2
  1482. end
  1483. if not ysz then ysz = 20 end
  1484. local obj = topkek.tools.util.Object("TextLabel", {
  1485. Parent = self.main;
  1486. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  1487. BorderSizePixel = 0;
  1488. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  1489. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  1490. Font = 'SourceSans';
  1491. FontSize = 'Size14';
  1492. Text = txt;
  1493. TextSize = 14;
  1494. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  1495.  
  1496. })
  1497. if ysz > self.drawHeight then
  1498. self.drawHeight = ysz
  1499. end
  1500. self.drawX = self.drawX + sz
  1501. if self.drawX > 0.998 then
  1502. self.drawY = self.drawY + 3 + self.drawHeight
  1503. self.drawX = 0
  1504. self.drawHeight = 0
  1505. if (not ncan) then
  1506. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1507. end
  1508. end
  1509. return obj
  1510. end
  1511.  
  1512.  
  1513. function self:drawScrollingContainer(ysz)
  1514. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  1515. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  1516. local obj = topkek.tools.util.Object("ScrollingFrame", {
  1517. Parent = self.main;
  1518. BackgroundColor3 = color3(117, 42, 42);
  1519. BorderSizePixel = 0;
  1520. Position = pos;
  1521. Size = sz;
  1522. BottomImage = 'rbxassetid://368504177';
  1523. MidImage = 'rbxassetid://368504177';
  1524. TopImage = 'rbxassetid://368504177';
  1525. ScrollBarThickness = 5;
  1526. })
  1527.  
  1528. self.drawY = self.drawY + 5 + ysz
  1529. self.drawX = 0
  1530. self.drawHeight = 0
  1531. if (not ncan) then
  1532. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1533. end
  1534. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  1535. end
  1536.  
  1537. function self:drawContainer(xsz, ysz, xz, tz, sep)
  1538. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  1539. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  1540. local obj = topkek.tools.util.Object("Frame", {
  1541. Parent = self.main;
  1542. BackgroundColor3 = color3(117, 42, 42);
  1543. BorderSizePixel = 0;
  1544. Position = pos;
  1545. Size = sz;
  1546. })
  1547. if not xz then
  1548. self.drawY = self.drawY + 5 + ysz
  1549. end
  1550. self.drawX = 0
  1551. self.drawHeight = 0
  1552. if (not ncan) then
  1553. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  1554. end
  1555. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  1556. end
  1557.  
  1558. function self:addSpacing()
  1559. self.drawY = self.drawY + 3
  1560. end
  1561.  
  1562. function self:center()
  1563. local a,c,b=
  1564. self.main.Position.X.Scale,
  1565. self.main.Position.X.Offset,self.main.Size.Y.Offset
  1566. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  1567. end
  1568.  
  1569. return self
  1570. end
  1571.  
  1572. --//anim//--
  1573. topkek.tools.animator.animateTo = function(source, dest)
  1574. -- holder2holder:
  1575. -- invis holder
  1576. -- clone holder; vis
  1577. -- move holder to right
  1578. -- vis dest container
  1579. -- tween clone holder left
  1580. -- tween dest holder right
  1581. print("nav",source,dest)
  1582. topkek.holder.Visible = false
  1583. local hclone = topkek.holder:Clone()
  1584. hclone.Parent = topkek.center
  1585. hclone.Name = 'animclone'
  1586. hclone.Visible = true
  1587. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  1588. source.Visible = false
  1589. dest.Visible = true
  1590. dest.Container.Visible = true
  1591. dest.Container.ZIndex = 1
  1592. dest.ZIndex = 1
  1593. topkek.holder.Visible = true
  1594. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  1595. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  1596. wait(0.3)
  1597. end
  1598. topkek.tools.animator.initialAnimation = function()
  1599. -- initanim:
  1600. -- join both composites
  1601. -- delete composites; vis solid
  1602. -- tween solid to nav topbar
  1603. -- copy topbar plrname; move outside region
  1604. -- tween in clone topbar
  1605. -- delete clone and solid; vis topbar
  1606. -- tween down topbar
  1607. -- tween holder out
  1608. local function abspos(x)
  1609. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  1610. end
  1611. local function abssz(x)
  1612. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  1613. end
  1614. local holder = topkek.holder
  1615. local nav = topkek.navigator
  1616. local topnav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation.Topbar
  1617. local topbar = topkek.topbar
  1618. local pname = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Topbar.PlayerName:Clone()
  1619. local solid = game.Players.LocalPlayer.PlayerGui["4.0"].Solid
  1620. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  1621. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  1622. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  1623. wait(0.52)
  1624. solid.Visible = true
  1625. game.Players.LocalPlayer.PlayerGui["4.0"].Composite1:Destroy()
  1626. game.Players.LocalPlayer.PlayerGui["4.0"].Composite2:Destroy()
  1627. wait(3)
  1628. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  1629. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  1630. wait(0.52)
  1631. solid.Label:Destroy()
  1632. wait(0.12)
  1633. topkek.center.Visible = true
  1634. topnav.Visible = true
  1635. solid:Destroy()
  1636. pname.Position = UDim2.new(0, -170, 0, 0)
  1637. pname.Parent = topnav
  1638. pname.Visible = true
  1639. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  1640. wait(0.25)
  1641. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  1642. spawn(topkek.navigation.buildNavigator)
  1643. wait(0.35)
  1644. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  1645. wait(0.35)
  1646. topbar.PlayerName.Visible = true
  1647. pname:Destroy()
  1648. AllowHovers = true
  1649. end
  1650. --//nav//--
  1651. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  1652. topkek.navigation.windowState = 0
  1653. topkek.navigation.gotoContainer = function(cont)
  1654. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  1655. topkek.navigation.currentContainer = cont
  1656. end
  1657. topkek.navigation.buildNavigator = function()
  1658. local nav = game.Players.LocalPlayer.PlayerGui["4.0"].Main.Navigation
  1659. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  1660. local btns = {}
  1661. for l, x in pairs(topkek.data.windows) do
  1662. local container = topkek.tools.util.getContainer(x)
  1663. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  1664. local ZPos = btn.Position
  1665. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  1666. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  1667. btn.LayoutOrder = l
  1668. btn.ZIndex = 4
  1669. local OPos = btn.Position
  1670. btn.MouseEnter:connect(function()
  1671. if AllowHovers == false then
  1672. return
  1673. end
  1674. for i, v in pairs(btns) do
  1675. if v[1] ~= btn then
  1676. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  1677. end
  1678. end
  1679. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  1680. end)
  1681. btn.MouseLeave:connect(function()
  1682. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  1683. end)
  1684. table.insert(btns, {btn, OPos})
  1685. wait()
  1686. end
  1687. end
  1688. topkek.navigation.buildTopbar = function()
  1689. local top = topkek.topbar
  1690. local FELabel = top.Controllers.IsFE
  1691. top.PlayerName.Text = topkek.lplr.Name
  1692. if game:GetService('Workspace').FilteringEnabled == true then
  1693. FELabel.Text = "FE Game"
  1694. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  1695. else
  1696. FELabel.Text = "Not FE"
  1697. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  1698. end
  1699. top.Controllers.Hide.MouseButton1Down:connect(function()
  1700. if topkek.navigation.windowState == 0 then
  1701. topkek.navigation.windowState = 1
  1702. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  1703. else
  1704. topkek.navigation.windowState = 0
  1705. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  1706. end
  1707. end)
  1708. top.Controllers.Exit.MouseButton1Down:connect(function()
  1709. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  1710. wait(0.31)
  1711. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  1712. PlayerChatHook:disconnect()
  1713. end)
  1714.  
  1715. end
  1716. topkek.navigation.initCommandBar = function()
  1717. DistributedCmdBar, cmd = topkek.holder.Command, {}
  1718. --weathered-down version of my cmdscript for topkek
  1719. cmd = {}
  1720.  
  1721. -- ** defines ** --
  1722. cmd.service = (function(a) return game:service(a) end)
  1723. cmd.gplayers = (function() return cmd.service'Players':GetPlayers() end)
  1724. cmd.players = cmd.service('Players')
  1725. cmd.localplayer = cmd.players.LocalPlayer
  1726.  
  1727. cmd.prefix = ';'
  1728. cmd.hidden = '/'
  1729.  
  1730. cmd.commands = {}
  1731. cmd.util = {}
  1732. cmd.interface = {}
  1733.  
  1734. cmd.admins = {}
  1735. cmd.noclip = false
  1736.  
  1737. -- ** util ** --
  1738. cmd.util.pos = function(str, pos)
  1739. local increment = 1
  1740. for spc in str:gmatch("[^ ]+") do
  1741. if increment == pos then
  1742. return spc
  1743. end
  1744. increment = increment + 1
  1745. end
  1746. return ''
  1747. end
  1748. cmd.util.pstr = function(str, re_enc)
  1749. str = string.lower(str)
  1750. local players = {}
  1751. if re_enc == true then
  1752. if str == 'me' then
  1753. return {game.Players.LocalPlayer}
  1754. end
  1755. if str == 'all' then
  1756. return game.Players:GetPlayers()
  1757. end
  1758. if str == 'others' then
  1759. for i, v in pairs(game.Players:GetPlayers()) do
  1760. if v ~= cmd.localplayer then
  1761. table.insert(players, v)
  1762. end
  1763. end
  1764. end
  1765. for i, v in pairs(game.Players:GetPlayers()) do
  1766. if string.lower(v.Name):sub(1, #str) == str then
  1767. table.insert(players, v)
  1768. end
  1769. end
  1770. return players
  1771. else
  1772. for seper in str:gmatch("[^,]+") do
  1773. for i, v in pairs(cmd.util.pstr(seper, true)) do
  1774. table.insert(players, v)
  1775. end
  1776. end
  1777. return players
  1778. end
  1779. end
  1780. cmd.util.parse = function(str, fmt)
  1781. local args = {}
  1782. local encountered = 0
  1783. local position = 1
  1784. for form in fmt:gmatch("[^%%]+") do
  1785. if position == 1 then
  1786. args['command'] = cmd.util.pos(str, position)
  1787. end
  1788. if form == 'inf' then
  1789. args[position] = str:sub(encountered, #str)
  1790. end
  1791. if form == 'int' then
  1792. local fetch = cmd.util.pos(str, position)
  1793. if tonumber(fetch) == nil then
  1794. return nil
  1795. end
  1796. args[position] = {'integer', data = fetch}
  1797. end
  1798. if form == 'str' then
  1799. local fetch = cmd.util.pos(str, position)
  1800. args[position] = {'string', data = fetch}
  1801. end
  1802. if form == 'plrs' then
  1803. args[position] = cmd.util.pstr(cmd.util.pos(str, position), false)
  1804. end
  1805. encountered = encountered + ((#cmd.util.pos(str, position)) + 1)
  1806. position = position + 1
  1807. end
  1808. return args
  1809. end
  1810. cmd.util.isadmin = function(p)
  1811. if p == cmd.localplayer.Name then
  1812. return true
  1813. else
  1814. for i, v in pairs(cmd.admins) do
  1815. if v == p.Name then
  1816. return true
  1817. end
  1818. end
  1819. return false
  1820. end
  1821. end
  1822. cmd.util.BombVest = function(Players)
  1823. -- modified by nosyliam
  1824. local TickWait = 1
  1825. local Dead = false
  1826. local BeltPositions = { }
  1827. local ExplodeSounds = { }
  1828.  
  1829. for ___, player in pairs(Players) do
  1830. pcall(function()
  1831. local Me = player
  1832. local Char = Me.Character
  1833. local Torso = Char.Torso
  1834. local Color = "Medium stone gray"
  1835. local Dead = false
  1836.  
  1837.  
  1838. local Position = Vector3.new(0,100,0)
  1839. local function NewPart(Parent)
  1840. local Part = Instance.new("Part", Parent)
  1841. Part.CanCollide = false
  1842. Part.FormFactor = "Custom"
  1843. Part.Position = Position
  1844. Part.TopSurface = "Smooth"
  1845. Part.BottomSurface = "Smooth"
  1846. Part.BrickColor = BrickColor.new(Color)
  1847. Position = Position + Vector3.new(0,Part.Size.Y + 10,0)
  1848. return Part
  1849. end
  1850.  
  1851. local Model = Char:FindFirstChild("Bomb")
  1852. if Model then Model:Destroy() end
  1853.  
  1854. Model = Instance.new("Model", Char)
  1855. Model.Name = "Bomb"
  1856.  
  1857. local Belt = NewPart(Model)
  1858. Belt.Size = Vector3.new(2.2,0.5,1.2)
  1859. table.insert(BeltPositions, Belt)
  1860. local Weld = Instance.new("Weld", Belt)
  1861. Weld.Part0 = Belt
  1862. Weld.Part1 = Torso
  1863. Weld.C0 = CFrame.new(0,1.1,0)
  1864. local Light = Instance.new("PointLight", Belt)
  1865. Light.Range = 15
  1866. Light.Brightness = 5
  1867. Light.Color = Color3.new(1,0,0)
  1868. local Beep = Instance.new("Sound", Belt)
  1869. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  1870. local ExplodeSound = Instance.new("Sound", Belt)
  1871. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003 --144507765
  1872. ExplodeSound.Pitch = 2.8
  1873. ExplodeSound.Volume = 3
  1874. table.insert(ExplodeSounds, ExplodeSound)
  1875.  
  1876. local Back = NewPart(Model)
  1877. Back.Size = Vector3.new(1.5,1.5,0.5)
  1878. local Weld = Instance.new("Weld", Back)
  1879. Weld.Part0 = Back
  1880. Weld.Part1 = Torso
  1881. Weld.C0 = CFrame.new(0,0.1,-0.75)
  1882.  
  1883. local StrapLeft = NewPart(Model)
  1884. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  1885. local Weld = Instance.new("Weld", StrapLeft)
  1886. Weld.Part0 = StrapLeft
  1887. Weld.Part1 = Torso
  1888. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  1889.  
  1890. local BuckleLeft = NewPart(Model)
  1891. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  1892. local Weld = Instance.new("Weld", BuckleLeft)
  1893. Weld.Part0 = BuckleLeft
  1894. Weld.Part1 = Torso
  1895. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  1896.  
  1897. local StrapRight = NewPart(Model)
  1898. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  1899. local Weld = Instance.new("Weld", StrapRight)
  1900. Weld.Part0 = StrapRight
  1901. Weld.Part1 = Torso
  1902. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  1903.  
  1904. local BuckleRight = NewPart(Model)
  1905. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  1906. local Weld = Instance.new("Weld", BuckleRight)
  1907. Weld.Part0 = BuckleRight
  1908. Weld.Part1 = Torso
  1909. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  1910.  
  1911.  
  1912. coroutine.wrap(function()
  1913. repeat
  1914. wait(TickWait)
  1915. Light.Enabled = not Light.Enabled
  1916. Beep:Play()
  1917. until Dead == true
  1918. end)()
  1919. end)
  1920. end
  1921.  
  1922. local Tool = Instance.new("HopperBin", cmd.localplayer.Backpack)
  1923. Tool.Name = "Bomb Vest"
  1924.  
  1925. Tool.Selected:connect(function(Mouse)
  1926. TickWait = 0.3
  1927. Mouse.Icon = "http://www.roblox.com/asset/?id=9109985"
  1928.  
  1929. Mouse.Button1Down:connect(function()
  1930. if Dead == false then
  1931. Dead = true
  1932. for i, Belt in pairs(BeltPositions) do
  1933. coroutine.wrap(function()
  1934. pcall(function() ExplodeSounds[i]:Play() end)
  1935. wait(1.4)
  1936. local Explosion = Instance.new("Explosion", workspace)
  1937. Explosion.Position = Belt.Position
  1938. Explosion.BlastPressure = 100000
  1939. Explosion.DestroyJointRadiusPercent = 0.7
  1940. Explosion.ExplosionType = "CratersAndDebris"
  1941. Explosion.BlastRadius = 50
  1942. Explosion.Hit:connect(function(Part, Distance)
  1943. Part.Anchored = false
  1944. if Distance <= 10 then
  1945. Part:BreakJoints()
  1946. end
  1947. end)
  1948. end)()
  1949. end
  1950. end
  1951. end)
  1952. end)
  1953.  
  1954. Tool.Deselected:connect(function()
  1955. TickWait = 1
  1956. end)
  1957. end
  1958. cmd.util.hulk = function(p)
  1959. function giant(p, size)
  1960. local pchar = p.Character
  1961. if pchar then
  1962. local function scale(chr,scl)
  1963.  
  1964. for _,v in pairs(pchar:GetChildren()) do
  1965. if v:IsA("Hat") then
  1966. v:Clone()
  1967. v.Parent = game.Lighting
  1968. end
  1969. end
  1970.  
  1971. local Head = chr['Head']
  1972. local Torso = chr['Torso']
  1973. local LA = chr['Left Arm']
  1974. local RA = chr['Right Arm']
  1975. local LL = chr['Left Leg']
  1976. local RL = chr['Right Leg']
  1977. local HRP = chr['HumanoidRootPart']
  1978.  
  1979. wait(0.1)
  1980.  
  1981. Head.formFactor = 3
  1982. Torso.formFactor = 3
  1983. LA.formFactor = 3
  1984. RA.formFactor = 3
  1985. LL.formFactor = 3
  1986. RL.formFactor = 3
  1987. HRP.formFactor = 3
  1988.  
  1989. Head.Size = Vector3.new(scl * 2, scl, scl)
  1990. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  1991. LA.Size = Vector3.new(scl, scl * 2, scl)
  1992. RA.Size = Vector3.new(scl, scl * 2, scl)
  1993. LL.Size = Vector3.new(scl, scl * 2, scl)
  1994. RL.Size = Vector3.new(scl, scl * 2, scl)
  1995. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  1996.  
  1997. local Motor1 = Instance.new('Motor6D', Torso)
  1998. Motor1.Part0 = Torso
  1999. Motor1.Part1 = Head
  2000. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2001. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  2002. Motor1.Name = "Neck"
  2003.  
  2004. local Motor2 = Instance.new('Motor6D', Torso)
  2005. Motor2.Part0 = Torso
  2006. Motor2.Part1 = LA
  2007. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2008. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2009. Motor2.Name = "Left Shoulder"
  2010.  
  2011. local Motor3 = Instance.new('Motor6D', Torso)
  2012. Motor3.Part0 = Torso
  2013. Motor3.Part1 = RA
  2014. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2015. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2016. Motor3.Name = "Right Shoulder"
  2017.  
  2018. local Motor4 = Instance.new('Motor6D', Torso)
  2019. Motor4.Part0 = Torso
  2020. Motor4.Part1 = LL
  2021. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2022. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  2023. Motor4.Name = "Left Hip"
  2024.  
  2025. local Motor5 = Instance.new('Motor6D', Torso)
  2026. Motor5.Part0 = Torso
  2027. Motor5.Part1 = RL
  2028. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2029. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  2030. Motor5.Name = "Right Hip"
  2031.  
  2032. local Motor6 = Instance.new('Motor6D', HRP)
  2033. Motor6.Part0 = HRP
  2034. Motor6.Part1 = Torso
  2035. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2036. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  2037.  
  2038. end
  2039.  
  2040. scale(pchar, size)
  2041. pchar.Humanoid.WalkSpeed = 15 * size
  2042.  
  2043. for _,v in pairs(game.Lighting:GetChildren()) do
  2044. if v:IsA("Hat") then
  2045. v.Parent = pchar
  2046. end
  2047. end
  2048. end
  2049. end
  2050.  
  2051. local plr = p
  2052. giant(plr, 3)
  2053. for i, v in pairs(plr.Character:GetChildren()) do
  2054. if v:IsA("BasePart") then
  2055. v.Touched:connect(function(p)
  2056. if p.Size.X<30 then
  2057. p.Anchored = false
  2058. p:BreakJoints()
  2059. end
  2060. end)
  2061. end
  2062. end
  2063.  
  2064. local csize = 3
  2065.  
  2066. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  2067. local base = Instance.new("Frame", sgui)
  2068. base.BackgroundTransparency = 1
  2069. base.Size = UDim2.new(0, 110, 0, 200)
  2070. base.Position = UDim2.new(1, -120, 1, -180)
  2071. local indicator = Instance.new("TextLabel", base)
  2072. indicator.Size = UDim2.new(1, 0, 0, 25)
  2073. indicator.TextColor3 = Color3.new(1, 1, 1)
  2074. indicator.BackgroundTransparency = 0
  2075. indicator.FontSize = Enum.FontSize.Size18
  2076. indicator.Font = Enum.Font.SourceSans
  2077. indicator.Text = "Current Size: 3"
  2078. local PlusOne = Instance.new("TextButton", base)
  2079. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2080. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  2081. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2082. PlusOne.BorderSizePixel = 2
  2083. PlusOne.Font = Enum.Font.SourceSansBold
  2084. PlusOne.FontSize = Enum.FontSize.Size24
  2085. PlusOne.Text = "+1 Size"
  2086. local MinusOne = Instance.new("TextButton", base)
  2087. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  2088. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  2089. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  2090. MinusOne.Text = "-1 Size"
  2091. MinusOne.BorderSizePixel = 2
  2092. MinusOne.Font = Enum.Font.SourceSansBold
  2093. MinusOne.FontSize = Enum.FontSize.Size24
  2094.  
  2095. PlusOne.MouseButton1Down:connect(function()
  2096. csize = csize + 1
  2097. giant(plr, csize)
  2098. indicator.Text = "Current Size: "..tostring(csize)
  2099. end)
  2100.  
  2101. MinusOne.MouseButton1Down:connect(function()
  2102. csize = csize - 1
  2103. giant(plr, csize)
  2104. indicator.Text = "Current Size: "..tostring(csize)
  2105. end)
  2106. end
  2107. cmd.util.R15 = function()
  2108. rcode=[[local function Init()
  2109. wait()
  2110. local function ConChar(P)
  2111. Character = P.Character
  2112.  
  2113. local R15Model = Instance.new("Model")
  2114. R15Model.Name = "R15Model"
  2115. R15Model.Parent = Character
  2116.  
  2117. local function CreateLimb(Name,Color,Size,Transparency,ConnectToLimb,MotorName,C0,C1,MeshId)
  2118. local Part = Instance.new("Part")
  2119. Part.FormFactor = "Custom"
  2120. Part.Size = Size
  2121. Part.BrickColor = Color
  2122. Part.CanCollide = false
  2123. Part.Name = Name
  2124. Part.Transparency = (Transparency == 0.001 and 0 or Transparency)
  2125. Part.TopSurface = "Smooth"
  2126. Part.BottomSurface = "Smooth"
  2127.  
  2128. local Motor = Instance.new("Motor6D")
  2129. Motor.C0 = C0
  2130. Motor.C1 = C1
  2131. Motor.Part0 = ConnectToLimb
  2132. Motor.Part1 = Part
  2133. Motor.Name = MotorName
  2134. Motor.MaxVelocity = 0.1
  2135. Motor.Parent = ConnectToLimb
  2136.  
  2137. if MeshId then
  2138. local Mesh = Instance.new("SpecialMesh")
  2139. Mesh.MeshType = "FileMesh"
  2140. Mesh.MeshId = MeshId
  2141. Mesh.Scale = Vector3.new(0.99,0.99,0.99)
  2142. Mesh.Parent = Part
  2143. end
  2144.  
  2145. if MeshId and Transparency == 0.001 then
  2146. local ShirtTexturePart = Instance.new("Part")
  2147. ShirtTexturePart.FormFactor = "Custom"
  2148. ShirtTexturePart.Size = Size
  2149. ShirtTexturePart.BrickColor = Color
  2150. ShirtTexturePart.CanCollide = false
  2151. ShirtTexturePart.Name = "ShirtTexturePart"
  2152. ShirtTexturePart.Transparency = Transparency
  2153. ShirtTexturePart.TopSurface = "Smooth"
  2154. ShirtTexturePart.BottomSurface = "Smooth"
  2155.  
  2156. local Mesh = Instance.new("SpecialMesh")
  2157. Mesh.MeshType = "FileMesh"
  2158. Mesh.MeshId = MeshId
  2159. Mesh.Parent = ShirtTexturePart
  2160.  
  2161. local Weld = Instance.new("Weld")
  2162. Weld.Part0 = Part
  2163. Weld.Part1 = ShirtTexturePart
  2164. Weld.Parent = ShirtTexturePart
  2165.  
  2166. ShirtTexturePart.Parent = Part
  2167. end
  2168. Part.Parent = R15Model
  2169. return Part
  2170. end
  2171.  
  2172.  
  2173. 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))
  2174. 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")
  2175. 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")
  2176. 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")
  2177. 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")
  2178. 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")
  2179. 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")
  2180. 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")
  2181. 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")
  2182. 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")
  2183. 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")
  2184. 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")
  2185. 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")
  2186. 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")
  2187. 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")
  2188. local RightFoot = CreateLimb("RightFoot",BrickColor.new("Br.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement