Advertisement
BonelessHotline

2k GUI Beta

Jul 16th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.06 KB | None | 0 0
  1. -- Stuff that needs to be added:
  2. -- Interactable script values etc (sliders, textboxes, checkboxes)
  3. -- Toggleable misc scripts and auto-farm
  4. -- Better menu visuals and toggle visuals
  5. -- Fix Hotline label color changing
  6. -- More scripts (own ones?)
  7.  
  8. -- Farewell Infortality.
  9. -- Version: 2.82
  10. -- Instances:
  11. local gui = Instance.new("ScreenGui")
  12. local mainframe = Instance.new("ImageLabel")
  13. local sidebar = Instance.new("Frame")
  14. local limsimbutton = Instance.new("TextButton")
  15. local limsimframe = Instance.new("Frame")
  16. local autofarm = Instance.new("TextButton")
  17. local autobuy = Instance.new("TextButton")
  18. local limtycbutton = Instance.new("TextButton")
  19. local antiaimbutton = Instance.new("TextButton")
  20. local SkinsButton = Instance.new("TextButton")
  21. local miscbutton = Instance.new("TextButton")
  22. local miscframe = Instance.new("Frame")
  23. local walkspeed = Instance.new("TextButton")
  24. local jumppower = Instance.new("TextButton")
  25. local MadeByLabel = Instance.new("TextLabel")
  26. local HotlineLabel = Instance.new("TextLabel")
  27. local closebutton = Instance.new("TextButton")
  28. local loginframe = Instance.new("Frame")
  29. local loginmenu = Instance.new("Frame")
  30. local username = Instance.new("TextBox")
  31. local password = Instance.new("TextBox")
  32. local loginbutton = Instance.new("TextButton")
  33. local openframe = Instance.new("Frame")
  34. local openbutton = Instance.new("TextButton")
  35. --Properties:
  36. gui.Name = "gui"
  37. gui.Parent = game.CoreGui
  38.  
  39. mainframe.Name = "mainframe"
  40. mainframe.Parent = gui
  41. mainframe.Active = true
  42. mainframe.BackgroundColor3 = Color3.new(1, 1, 1)
  43. mainframe.BackgroundTransparency = 1
  44. mainframe.Position = UDim2.new(0.126854956, 0, 0.275184274, 0)
  45. mainframe.Size = UDim2.new(0, 546, 0, 365)
  46. mainframe.Visible = false
  47. mainframe.Image = "rbxassetid://2851926732"
  48. mainframe.ImageColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  49. mainframe.ScaleType = Enum.ScaleType.Slice
  50. mainframe.SliceCenter = Rect.new(12, 12, 12, 12)
  51. mainframe.Draggable = true
  52.  
  53.  
  54. sidebar.Name = "sidebar"
  55. sidebar.Parent = mainframe
  56. sidebar.Active = true
  57. sidebar.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  58. sidebar.BorderColor3 = Color3.new(1, 0, 0)
  59. sidebar.Position = UDim2.new(0, 1, 0, 1)
  60. sidebar.Size = UDim2.new(0, 118, 0, 364)
  61.  
  62. limsimbutton.Name = "limsimbutton"
  63. limsimbutton.Parent = sidebar
  64. limsimbutton.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  65. limsimbutton.BorderSizePixel = 0
  66. limsimbutton.Size = UDim2.new(0, 118, 0, 50)
  67. limsimbutton.Font = Enum.Font.SourceSansBold
  68. limsimbutton.Text = "Limited Simulator"
  69. limsimbutton.TextColor3 = Color3.new(1, 0, 0)
  70. limsimbutton.TextSize = 24
  71. limsimbutton.TextWrapped = true
  72. limsimbutton.MouseButton1Down:connect(function()
  73.     limsimframe.Visible = true
  74.     miscframe.Visible = false
  75. end)
  76.  
  77. limsimframe.Name = "limsimframe"
  78. limsimframe.Parent = limsimbutton
  79. limsimframe.BackgroundColor3 = Color3.new(1, 1, 1)
  80. limsimframe.BackgroundTransparency = 1
  81. limsimframe.Position = UDim2.new(1.09322035, 0, 0.160000101, 0)
  82. limsimframe.Size = UDim2.new(0, 402, 0, 350)
  83.  
  84. autofarm.Name = "autofarm"
  85. autofarm.Parent = limsimframe
  86. autofarm.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  87. autofarm.BorderColor3 = Color3.new(1, 0, 0)
  88. autofarm.Position = UDim2.new(0.104477592, 0, 0.131428599, 0)
  89. autofarm.Size = UDim2.new(0, 139, 0, 42)
  90. autofarm.Font = Enum.Font.SourceSans
  91. autofarm.Text = "Auto-Farm"
  92. autofarm.TextColor3 = Color3.new(1, 0, 0)
  93. autofarm.TextSize = 14
  94. -- Auto-Farm script
  95. autofarm.MouseButton1Down:connect(function()
  96.     loadstring(game:HttpGet('https://pastebin.com/raw/JWxPnYK1', true))()
  97. end)
  98.  
  99. autobuy.Name = "autobuy"
  100. autobuy.Parent = limsimframe
  101. autobuy.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  102. autobuy.BorderColor3 = Color3.new(1, 0, 0)
  103. autobuy.Position = UDim2.new(0.554726362, 0, 0.131428599, 0)
  104. autobuy.Size = UDim2.new(0, 139, 0, 42)
  105. autobuy.Font = Enum.Font.SourceSans
  106. autobuy.Text = "Auto-Buy"
  107. autobuy.TextColor3 = Color3.new(1, 0, 0)
  108. autobuy.TextSize = 14
  109. autobuy.MouseButton1Down:connect(function()
  110.     local send = game.ReplicatedStorage:WaitForChild('Items')
  111.  
  112. game.ReplicatedStorage.Limitteds.ChildAdded:connect(function(c)
  113.      if c:IsA('Folder') then
  114.           local id = c:WaitForChild('AssetID')
  115.           local price = c:WaitForChild('Price')
  116.           if id and price then
  117.                local result
  118.                local succ, err = pcall(function()
  119.                     result = send:InvokeServer(price.Value, id.Value, c.Name)
  120.                end)
  121.                if succ then
  122.                     if result then
  123.                          warn('Successfully bought: ' .. c.Name)
  124.                     else
  125.                          warn('Failed to buy: ' .. c.Name)
  126.                     end
  127.  
  128.                else
  129.                     warn('Ran into an error when trying to buy ' .. c.Name .. ': ' .. err)
  130.                end
  131.           end
  132.      end
  133. end)
  134.  
  135. warn('Auto-buy loaded!')
  136. end)
  137.  
  138. limtycbutton.Name = "limtycbutton"
  139. limtycbutton.Parent = sidebar
  140. limtycbutton.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  141. limtycbutton.BorderSizePixel = 0
  142. limtycbutton.Position = UDim2.new(0, 0, 0.137362644, 0)
  143. limtycbutton.Size = UDim2.new(0, 118, 0, 50)
  144. limtycbutton.Font = Enum.Font.SourceSansBold
  145. limtycbutton.Text = "Limited Tycoon"
  146. limtycbutton.TextColor3 = Color3.new(1, 0, 0)
  147. limtycbutton.TextSize = 24
  148. limtycbutton.TextWrapped = true
  149.  
  150. antiaimbutton.Name = "antiaimbutton"
  151. antiaimbutton.Parent = sidebar
  152. antiaimbutton.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  153. antiaimbutton.BorderSizePixel = 0
  154. antiaimbutton.Position = UDim2.new(0, 0, 0.274725288, 0)
  155. antiaimbutton.Size = UDim2.new(0, 118, 0, 50)
  156. antiaimbutton.Font = Enum.Font.SourceSansBold
  157. antiaimbutton.Text = "Anti-Aim"
  158. antiaimbutton.TextColor3 = Color3.new(1, 0, 0)
  159. antiaimbutton.TextSize = 24
  160.  
  161. SkinsButton.Name = "SkinsButton"
  162. SkinsButton.Parent = sidebar
  163. SkinsButton.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  164. SkinsButton.BorderSizePixel = 0
  165. SkinsButton.Position = UDim2.new(0, 0, 0.412087917, 0)
  166. SkinsButton.Size = UDim2.new(0, 118, 0, 50)
  167. SkinsButton.Font = Enum.Font.SourceSansBold
  168. SkinsButton.Text = "Skins"
  169. SkinsButton.TextColor3 = Color3.new(1, 0, 0)
  170. SkinsButton.TextSize = 24
  171.  
  172. miscbutton.Name = "miscbutton"
  173. miscbutton.Parent = sidebar
  174. miscbutton.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  175. miscbutton.BorderSizePixel = 0
  176. miscbutton.Position = UDim2.new(0, 0, 0.549450576, 0)
  177. miscbutton.Size = UDim2.new(0, 118, 0, 50)
  178. miscbutton.Font = Enum.Font.SourceSansBold
  179. miscbutton.Text = "Misc Scripts"
  180. miscbutton.TextColor3 = Color3.new(1, 0, 0)
  181. miscbutton.TextSize = 24
  182. miscbutton.MouseButton1Down:connect(function()
  183.     miscframe.Visible = true
  184.     limsimframe.Visible = false
  185. end)
  186.  
  187. miscframe.Name = "miscframe"
  188. miscframe.Parent = miscbutton
  189. miscframe.Active = true
  190. miscframe.BackgroundColor3 = Color3.new(1, 1, 1)
  191. miscframe.BackgroundTransparency = 1
  192. miscframe.Position = UDim2.new(1.09322035, 0, -3.83999991, 0)
  193. miscframe.Size = UDim2.new(0, 402, 0, 350)
  194. miscframe.Visible = false
  195.  
  196. walkspeed.Name = "walkspeed"
  197. walkspeed.Parent = miscframe
  198. walkspeed.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  199. walkspeed.BorderColor3 = Color3.new(1, 0, 0)
  200. walkspeed.Position = UDim2.new(0.104477592, 0, 0.131428599, 0)
  201. walkspeed.Size = UDim2.new(0, 139, 0, 42)
  202. walkspeed.Font = Enum.Font.SourceSans
  203. walkspeed.Text = "Walkspeed (Q)"
  204. walkspeed.TextColor3 = Color3.new(1, 0, 0)
  205. walkspeed.TextSize = 14
  206. walkspeed.MouseButton1Down:connect(function()
  207.     down = false
  208. velocity = Instance.new("BodyVelocity")
  209. velocity.maxForce = Vector3.new(100000, 0, 100000)
  210. ---vv Use that to change the speed v
  211. local speed = 150
  212. gyro = Instance.new("BodyGyro")
  213. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  214.  
  215. local hum = game.Players.LocalPlayer.Character.Humanoid
  216.  
  217. function onButton1Down(mouse)
  218. down = true
  219. velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
  220. velocity.velocity = (hum.MoveDirection) * speed
  221. gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
  222. while down do
  223. if not down then break end
  224. velocity.velocity = (hum.MoveDirection) * speed
  225. local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  226. gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  227. wait(0.1)
  228. end
  229. end
  230.  
  231. function onButton1Up(mouse)
  232. velocity.Parent = nil
  233. gyro.Parent = nil
  234. down = false
  235. end
  236. --To Change the key in those 2 lines, replace the "q" with your desired key
  237. function onSelected(mouse)
  238. mouse.KeyDown:connect(function(k) if k:lower()=="q"then onButton1Down(mouse)end end)
  239. mouse.KeyUp:connect(function(k) if k:lower()=="q"then onButton1Up(mouse)end end)
  240. end
  241.  
  242. onSelected(game.Players.LocalPlayer:GetMouse())
  243. end)
  244.  
  245. jumppower.Name = "jumppower"
  246. jumppower.Parent = miscframe
  247. jumppower.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  248. jumppower.BorderColor3 = Color3.new(1, 0, 0)
  249. jumppower.Position = UDim2.new(0.554726362, 0, 0.131428599, 0)
  250. jumppower.Size = UDim2.new(0, 139, 0, 42)
  251. jumppower.Font = Enum.Font.SourceSans
  252. jumppower.Text = "Jump Power"
  253. jumppower.TextColor3 = Color3.new(1, 0, 0)
  254. jumppower.TextSize = 14
  255. jumppower.MouseButton1Down:connect(function()
  256.     game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
  257. end)
  258.  
  259. -- Label
  260.  
  261. MadeByLabel.Name = "MadeByLabel"
  262. MadeByLabel.Parent = sidebar
  263. MadeByLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  264. MadeByLabel.BackgroundTransparency = 1
  265. MadeByLabel.Position = UDim2.new(0, 0, 0.832417607, 0)
  266. MadeByLabel.Size = UDim2.new(0, 119, 0, 28)
  267. MadeByLabel.Font = Enum.Font.SourceSans
  268. MadeByLabel.Text = "GUI Made By"
  269. MadeByLabel.TextColor3 = Color3.new(1, 1, 1)
  270. MadeByLabel.TextSize = 14
  271.  
  272. -- Hotline Label Color Variable - Useless
  273. ColorText1 = 0
  274. ColorText2 = 0.819608
  275. ColorText3 = 1
  276. -- Hotline Label Color Variable - Useless
  277.  
  278. HotlineLabel.Name = "HotlineLabel"
  279. HotlineLabel.Parent = sidebar
  280. HotlineLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  281. HotlineLabel.BackgroundTransparency = 1
  282. HotlineLabel.Position = UDim2.new(-0.00847457629, 0, 0.870879173, 0)
  283. HotlineLabel.Size = UDim2.new(0, 119, 0, 41)
  284. HotlineLabel.Font = Enum.Font.SourceSans
  285. HotlineLabel.Text = "Hotline#0339"
  286. HotlineLabel.TextColor3 = Color3.new(ColorText1, ColorText2, ColorText3)
  287. HotlineLabel.TextSize = 20
  288. -- Color Changing Label
  289. loginbutton.MouseButton1Down:connect(function()
  290. HotlineLabel.TextColor3 = Color3.new(0,204,255)
  291. wait(.1)
  292. HotlineLabel.TextColor3 = Color3.new(0,255,0)
  293. wait(.1)
  294. HotlineLabel.TextColor3 = Color3.new(255,255,0)
  295. wait(.1)
  296. HotlineLabel.TextColor3 = Color3.new(255,0,0)
  297. wait(.1)
  298. HotlineLabel.TextColor3 = Color3.new(153,0,153)
  299. wait(.1)
  300. HotlineLabel.text = Color3.new(0,0,255)
  301. wait(.1)
  302. HotlineLabel.TextColor3 = Color3.new(0,204,255)
  303. end)
  304.  
  305. closebutton.Name = "closebutton"
  306. closebutton.Parent = sidebar
  307. closebutton.BackgroundColor3 = Color3.new(1, 1, 1)
  308. closebutton.BackgroundTransparency = 1
  309. closebutton.Position = UDim2.new(4.28813553, 0, -4.28408384e-08, 0)
  310. closebutton.Size = UDim2.new(0, 39, 0, 31)
  311. closebutton.Font = Enum.Font.GothamBlack
  312. closebutton.Text = "X"
  313. closebutton.TextColor3 = Color3.new(1, 1, 1)
  314. closebutton.TextSize = 16
  315. closebutton.MouseButton1Down:connect(function()
  316.     mainframe.Visible = false
  317.     openframe.Visible = true
  318. end)
  319.  
  320. -- Login Frame
  321.  
  322. loginframe.Name = "loginframe"
  323. loginframe.Parent = gui
  324. loginframe.BackgroundColor3 = Color3.new(1, 1, 1)
  325. loginframe.BackgroundTransparency = 1
  326. loginframe.Position = UDim2.new(0.475825757, 0, 0.43857494, 0)
  327. loginframe.Size = UDim2.new(0, 100, 0, 100)
  328. loginframe.Active = true
  329. loginframe.Visible = true
  330.  
  331. loginmenu.Name = "loginmenu"
  332. loginmenu.Parent = loginframe
  333. loginmenu.Active = true
  334. loginmenu.BackgroundColor3 = Color3.new(0.168627, 0.168627, 0.168627)
  335. loginmenu.BorderColor3 = Color3.new(1, 0, 0)
  336. loginmenu.Position = UDim2.new(-1.24194098, 0, -0.0465756059, 0)
  337. loginmenu.Size = UDim2.new(0, 348, 0, 108)
  338.  
  339. username.Name = "username"
  340. username.Parent = loginmenu
  341. username.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  342. username.Position = UDim2.new(0.0402298868, 0, 0.129629627, 0)
  343. username.Size = UDim2.new(0, 233, 0, 33)
  344. username.Font = Enum.Font.SourceSans
  345. username.Text = "Username"
  346. username.TextColor3 = Color3.new(1, 0, 0)
  347. username.TextSize = 16
  348.  
  349. password.Name = "password"
  350. password.Parent = loginmenu
  351. password.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  352. password.Position = UDim2.new(0.0402298868, 0, 0.564814806, 0)
  353. password.Size = UDim2.new(0, 233, 0, 33)
  354. password.Font = Enum.Font.SourceSans
  355. password.Text = "Password"
  356. password.TextColor3 = Color3.new(1, 0, 0)
  357. password.TextSize = 16
  358.  
  359. loginbutton.Name = "loginbutton"
  360. loginbutton.Parent = loginmenu
  361. loginbutton.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  362. loginbutton.BorderColor3 = Color3.new(1, 0, 0)
  363. loginbutton.BorderSizePixel = 0
  364. loginbutton.Position = UDim2.new(0.758620739, 0, 0.333333343, 0)
  365. loginbutton.Size = UDim2.new(0, 66, 0, 35)
  366. loginbutton.Font = Enum.Font.SourceSans
  367. loginbutton.Text = "Log In"
  368. loginbutton.TextColor3 = Color3.new(1, 0, 0)
  369. loginbutton.TextSize = 18
  370. -- Login authenticator
  371. loginbutton.MouseButton1Down:connect(function()
  372.     if username.Text == "Hotline" and password.Text == "Hotline"
  373.     then
  374.         loginframe.Visible = false
  375.         mainframe.Visible = true
  376.     else
  377.     end
  378. end)
  379.  
  380. openframe.Name = "openframe"
  381. openframe.Parent = gui
  382. openframe.Active = true
  383. openframe.BackgroundColor3 = Color3.new(1, 1, 1)
  384. openframe.BackgroundTransparency = 1
  385. openframe.Position = UDim2.new(0.00574439764, 0, 0.770270288, 0)
  386. openframe.Size = UDim2.new(0, 100, 0, 50)
  387. openframe.Visible = false
  388.  
  389. openbutton.Name = "openbutton"
  390. openbutton.Parent = openframe
  391. openbutton.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  392. openbutton.BorderSizePixel = 0
  393. openbutton.Position = UDim2.new(-0.11999958, 0, 0.139259264, 0)
  394. openbutton.Size = UDim2.new(0, 124, 0, 51)
  395. openbutton.Font = Enum.Font.SourceSansBold
  396. openbutton.Text = "Open GUI"
  397. openbutton.TextColor3 = Color3.new(1, 0, 0)
  398. openbutton.TextSize = 26
  399. openbutton.MouseButton1Down:connect(function()
  400.     openframe.Visible = false
  401.     mainframe.Visible = true
  402. end)
  403.  
  404. -- Scripts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement