Oscar55555

Untitled

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