Advertisement
hjkook

JBSCRIPT (90%) MAKE

Jan 18th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.75 KB | None | 0 0
  1. -- Objects
  2.  
  3. local JBproject = Instance.new("ScreenGui")
  4. local Main = Instance.new("Frame")
  5. local Title = Instance.new("Frame")
  6. local Jail = Instance.new("TextLabel")
  7. local GUNS = Instance.new("TextButton")
  8. local Helicopter = Instance.new("TextButton")
  9. local PoliceCars = Instance.new("TextButton")
  10. local OUTsideJail = Instance.new("TextButton")
  11. local Music = Instance.new("TextButton")
  12. local Bank = Instance.new("TextButton")
  13. local HQBase = Instance.new("TextButton")
  14. local Exec = Instance.new("TextButton")
  15. local MUSIC = Instance.new("Frame")
  16. local T = Instance.new("Frame")
  17. local Exit = Instance.new("TextButton")
  18. local Ja = Instance.new("TextLabel")
  19. local MusicID = Instance.new("TextBox")
  20. local Value = Instance.new("TextBox")
  21. local Play = Instance.new("TextButton")
  22. local EXEC = Instance.new("Frame")
  23. local Ti = Instance.new("Frame")
  24. local END = Instance.new("TextButton")
  25. local J = Instance.new("TextLabel")
  26. local ScrollingFrame = Instance.new("ScrollingFrame")
  27. local INDEX = Instance.new("TextBox")
  28. local Exution = Instance.new("TextButton")
  29. local Clear = Instance.new("TextButton")
  30.  
  31. -- Properties
  32.  
  33. JBproject.Name = "JBproject"
  34. JBproject.Parent = game.Players.LocalPlayer.PlayerGui
  35.  
  36. Main.Name = "Main"
  37. Main.Parent = JBproject
  38. Main.Active = true
  39. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  40. Main.Draggable = true
  41. Main.Position = UDim2.new(0, 65, 0, 85)
  42. Main.Size = UDim2.new(0, 318, 0, 382)
  43.  
  44. Title.Name = "Title"
  45. Title.Parent = Main
  46. Title.BackgroundColor3 = Color3.new(0, 0.568627, 1)
  47. Title.Size = UDim2.new(0, 318, 0, 44)
  48.  
  49. Jail.Name = "Jail"
  50. Jail.Parent = Main
  51. Jail.BackgroundColor3 = Color3.new(1, 1, 1)
  52. Jail.BorderSizePixel = 0
  53. Jail.Position = UDim2.new(0, 0, 0, 46)
  54. Jail.Size = UDim2.new(0, 318, 0, 39)
  55. Jail.Font = Enum.Font.SciFi
  56. Jail.Text = "JailBrack"
  57. Jail.TextColor3 = Color3.new(0.215686, 0.45098, 1)
  58. Jail.TextSize = 26
  59.  
  60. GUNS.Name = "GUNS"
  61. GUNS.Parent = Main
  62. GUNS.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  63. GUNS.Position = UDim2.new(0, 27, 0, 119)
  64. GUNS.Size = UDim2.new(0, 112, 0, 50)
  65. GUNS.Font = Enum.Font.SourceSans
  66. GUNS.Text = "GUN"
  67. GUNS.TextColor3 = Color3.new(1, 1, 1)
  68. GUNS.TextSize = 23
  69.  
  70. Helicopter.Name = "Helicopter"
  71. Helicopter.Parent = Main
  72. Helicopter.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  73. Helicopter.Position = UDim2.new(0, 179, 0, 119)
  74. Helicopter.Size = UDim2.new(0, 112, 0, 50)
  75. Helicopter.Font = Enum.Font.SourceSans
  76. Helicopter.Text = "Helicopter"
  77. Helicopter.TextColor3 = Color3.new(1, 1, 1)
  78. Helicopter.TextSize = 23
  79. Helicopter.MouseButton1Click:connect(function()
  80. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1176.4231, 59.7911148, -1572.6908) + Vector3.new(1,0,0)
  81. end)
  82. PoliceCars.Name = "Police Cars"
  83. PoliceCars.Parent = Main
  84. PoliceCars.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  85. PoliceCars.Position = UDim2.new(0, 26, 0, 191)
  86. PoliceCars.Size = UDim2.new(0, 112, 0, 50)
  87. PoliceCars.Font = Enum.Font.SourceSans
  88. PoliceCars.Text = "Police Cars"
  89. PoliceCars.TextColor3 = Color3.new(1, 1, 1)
  90. PoliceCars.TextSize = 23
  91. PoliceCars.MouseButton1Click:connect(function()
  92. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-1100.4469, 17.7500038, -1493.18286) + Vector3.new(1,0,0)
  93. end)
  94. OUTsideJail.Name = "OUTsideJail"
  95. OUTsideJail.Parent = Main
  96. OUTsideJail.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  97. OUTsideJail.Position = UDim2.new(0, 182, 0, 191)
  98. OUTsideJail.Size = UDim2.new(0, 112, 0, 50)
  99. OUTsideJail.Font = Enum.Font.SourceSans
  100. OUTsideJail.Text = "OUTSIDE JAIL"
  101. OUTsideJail.TextColor3 = Color3.new(1, 1, 1)
  102. OUTsideJail.TextSize = 23
  103. OUTsideJail.MouseButton1Click:connect(function()
  104. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(119.48267, 17.7480812, -1384.74561) + Vector3.new(1,0,0)
  105. end)
  106. Music.Name = "Music"
  107. Music.Parent = Main
  108. Music.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  109. Music.Position = UDim2.new(0, 39, 0, 331)
  110. Music.Size = UDim2.new(0, 90, 0, 24)
  111. Music.Font = Enum.Font.SourceSans
  112. Music.Text = "MUSIC"
  113. Music.TextColor3 = Color3.new(1, 1, 1)
  114. Music.TextSize = 23
  115. Music.MouseButton1Down:connect(function()
  116. MUSIC.Visible = true
  117. end)
  118.  
  119. Bank.Name = "Bank"
  120. Bank.Parent = Main
  121. Bank.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  122. Bank.Position = UDim2.new(0, 28, 0, 259)
  123. Bank.Size = UDim2.new(0, 110, 0, 50)
  124. Bank.Font = Enum.Font.SourceSans
  125. Bank.Text = "BANK"
  126. Bank.TextColor3 = Color3.new(1, 1, 1)
  127. Bank.TextSize = 23
  128. Bank.MouseButton1Click:connect(function()
  129. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1.1110189, 17.9213142, 782.103455) + Vector3.new(1,0,0)
  130. end)
  131. HQBase.Name = "HQ Base"
  132. HQBase.Parent = Main
  133. HQBase.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  134. HQBase.Position = UDim2.new(0, 183, 0, 260)
  135. HQBase.Size = UDim2.new(0, 110, 0, 50)
  136. HQBase.Font = Enum.Font.SourceSans
  137. HQBase.Text = "hq base"
  138. HQBase.TextColor3 = Color3.new(1, 1, 1)
  139. HQBase.TextSize = 23
  140. HQBase.MouseButton1Click:connect(function()
  141. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-222.339157, 17.9125443, 1575.82336) + Vector3.new(1,0,0)
  142. end)
  143. Exec.Name = "Exec"
  144. Exec.Parent = Main
  145. Exec.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  146. Exec.Position = UDim2.new(0, 196, 0, 333)
  147. Exec.Size = UDim2.new(0, 90, 0, 24)
  148. Exec.Font = Enum.Font.SourceSans
  149. Exec.Text = "EXEC"
  150. Exec.TextColor3 = Color3.new(1, 1, 1)
  151. Exec.TextSize = 23
  152. Exec.MouseButton1Down:connect(function()
  153. EXEC.Visible = true
  154. end)
  155.  
  156. MUSIC.Name = "MUSIC"
  157. MUSIC.Parent = JBproject
  158. MUSIC.Active = true
  159. MUSIC.BackgroundColor3 = Color3.new(1, 1, 1)
  160. MUSIC.Draggable = true
  161. MUSIC.Position = UDim2.new(0, 417, 0, 81)
  162. MUSIC.Size = UDim2.new(0, 318, 0, 382)
  163. MUSIC.Visible = false
  164.  
  165. T.Name = "T"
  166. T.Parent = MUSIC
  167. T.BackgroundColor3 = Color3.new(0.0235294, 0.576471, 1)
  168. T.Size = UDim2.new(0, 318, 0, 39)
  169.  
  170. Exit.Name = "Exit"
  171. Exit.Parent = T
  172. Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  173. Exit.BackgroundTransparency = 1
  174. Exit.Position = UDim2.new(0, 277, 0, 0)
  175. Exit.Size = UDim2.new(0, 41, 0, 44)
  176. Exit.Font = Enum.Font.SourceSans
  177. Exit.Text = "X"
  178. Exit.TextColor3 = Color3.new(1, 1, 1)
  179. Exit.TextSize = 35
  180. Exit.TextWrapped = true
  181.  
  182. Ja.Name = "Ja"
  183. Ja.Parent = MUSIC
  184. Ja.BackgroundColor3 = Color3.new(1, 1, 1)
  185. Ja.BorderSizePixel = 0
  186. Ja.Position = UDim2.new(0, 0, 0, 42)
  187. Ja.Size = UDim2.new(0, 318, 0, 39)
  188. Ja.Font = Enum.Font.SciFi
  189. Ja.Text = "MUSIC"
  190. Ja.TextColor3 = Color3.new(0.215686, 0.45098, 1)
  191. Ja.TextSize = 26
  192.  
  193. MusicID.Name = "MusicID"
  194. MusicID.Parent = MUSIC
  195. MusicID.BackgroundColor3 = Color3.new(1, 1, 1)
  196. MusicID.Position = UDim2.new(0, 15, 0, 89)
  197. MusicID.Size = UDim2.new(0, 286, 0, 25)
  198. MusicID.Font = Enum.Font.SourceSans
  199. MusicID.Text = ""
  200. MusicID.TextColor3 = Color3.new(0, 0.384314, 1)
  201. MusicID.TextSize = 14
  202.  
  203. Value.Name = "Value"
  204. Value.Parent = MUSIC
  205. Value.BackgroundColor3 = Color3.new(1, 1, 1)
  206. Value.Position = UDim2.new(0, 16, 0, 135)
  207. Value.Size = UDim2.new(0, 286, 0, 25)
  208. Value.Font = Enum.Font.SourceSans
  209. Value.Text = ""
  210. Value.TextColor3 = Color3.new(0, 0.384314, 1)
  211. Value.TextSize = 14
  212.  
  213. Play.Name = "Play"
  214. Play.Parent = MUSIC
  215. Play.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  216. Play.Position = UDim2.new(0, 104, 0, 191)
  217. Play.Size = UDim2.new(0, 110, 0, 50)
  218. Play.Font = Enum.Font.SourceSans
  219. Play.Text = "PLAY"
  220. Play.TextColor3 = Color3.new(1, 1, 1)
  221. Play.TextSize = 23
  222. Play.MouseButton1Down:connect(function()
  223. local s = Instance.new("Sound")
  224.  
  225. s.Name = "Sound"
  226. s.SoundId = "rbxassetid://"..MusicID.Text
  227. s.Volume = Value.Text
  228. s.Looped = false
  229. s.archivable = false
  230.  
  231. s.Parent = game.Workspace
  232.  
  233. wait(3)
  234.  
  235. s:play()
  236. end)
  237.  
  238. EXEC.Name = "EXEC"
  239. EXEC.Parent = JBproject
  240. EXEC.Active = true
  241. EXEC.BackgroundColor3 = Color3.new(1, 1, 1)
  242. EXEC.Draggable = true
  243. EXEC.Position = UDim2.new(0, 414, 0, 76)
  244. EXEC.Size = UDim2.new(0, 318, 0, 382)
  245. EXEC.Visible = false
  246.  
  247. Ti.Name = "Ti"
  248. Ti.Parent = EXEC
  249. Ti.BackgroundColor3 = Color3.new(0, 0.568627, 1)
  250. Ti.Size = UDim2.new(0, 318, 0, 44)
  251.  
  252. END.Name = "END"
  253. END.Parent = Ti
  254. END.BackgroundColor3 = Color3.new(1, 1, 1)
  255. END.BackgroundTransparency = 1
  256. END.Position = UDim2.new(0, 277, 0, 0)
  257. END.Size = UDim2.new(0, 41, 0, 44)
  258. END.Font = Enum.Font.SourceSans
  259. END.Text = "X"
  260. END.TextColor3 = Color3.new(1, 1, 1)
  261. END.TextSize = 35
  262. END.TextWrapped = true
  263.  
  264. J.Name = "J"
  265. J.Parent = EXEC
  266. J.BackgroundColor3 = Color3.new(1, 1, 1)
  267. J.BorderSizePixel = 0
  268. J.Position = UDim2.new(0, 0, 0, 46)
  269. J.Size = UDim2.new(0, 318, 0, 39)
  270. J.Font = Enum.Font.SciFi
  271. J.Text = "Excuter"
  272. J.TextColor3 = Color3.new(0.215686, 0.45098, 1)
  273. J.TextSize = 26
  274.  
  275. ScrollingFrame.Parent = EXEC
  276. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  277. ScrollingFrame.Position = UDim2.new(0, 21, 0, 92)
  278. ScrollingFrame.Size = UDim2.new(0, 275, 0, 198)
  279.  
  280. INDEX.Name = "INDEX"
  281. INDEX.Parent = ScrollingFrame
  282. INDEX.BackgroundColor3 = Color3.new(1, 1, 1)
  283. INDEX.Size = UDim2.new(0, 275, 0, 434)
  284. INDEX.Font = Enum.Font.SourceSans
  285. INDEX.MultiLine = true
  286. INDEX.TextSize = 14
  287. INDEX.TextXAlignment = Enum.TextXAlignment.Left
  288. INDEX.TextYAlignment = Enum.TextYAlignment.Top
  289.  
  290. Exution.Name = "Exution"
  291. Exution.Parent = EXEC
  292. Exution.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  293. Exution.Position = UDim2.new(0, 47, 0, 311)
  294. Exution.Size = UDim2.new(0, 112, 0, 50)
  295. Exution.Font = Enum.Font.SourceSans
  296. Exution.Text = "LOAD!"
  297. Exution.TextColor3 = Color3.new(1, 1, 1)
  298. Exution.TextSize = 23
  299. Exution.MouseButton1Down:connect(function()
  300. if INDEX.Text == "Exit();" then
  301. Main.Visible = true
  302. EXEC.Visible = false
  303. print("Frame Exited");
  304. else
  305. loadstring(INDEX.Text)()
  306. end
  307. end)
  308.  
  309. Clear.Name = "Clear"
  310. Clear.Parent = EXEC
  311. Clear.BackgroundColor3 = Color3.new(0.137255, 0.627451, 1)
  312. Clear.Position = UDim2.new(0, 159, 0, 311)
  313. Clear.Size = UDim2.new(0, 112, 0, 50)
  314. Clear.Font = Enum.Font.SourceSans
  315. Clear.Text = "Clear!"
  316. Clear.TextColor3 = Color3.new(1, 1, 1)
  317. Clear.TextSize = 23
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement