Advertisement
Guest User

yeet

a guest
Nov 19th, 2017
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.47 KB | None | 0 0
  1. -- Objects
  2.  
  3. local jailbreakgui = Instance.new("ScreenGui")
  4. local top = Instance.new("Frame")
  5. local main = Instance.new("Frame")
  6. local guns = Instance.new("TextButton")
  7. local heli = Instance.new("TextButton")
  8. local bank = Instance.new("TextButton")
  9. local police = Instance.new("TextButton")
  10. local hq = Instance.new("TextButton")
  11. local outside = Instance.new("TextButton")
  12. local TextLabel = Instance.new("TextLabel")
  13. local openclose = Instance.new("TextButton")
  14.  
  15. -- Properties
  16.  
  17. jailbreakgui.Name = "jailbreakgui"
  18. jailbreakgui.Parent = game.CoreGui
  19.  
  20. top.Name = "top"
  21. top.Parent = jailbreakgui
  22. top.Active = true
  23. top.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  24. top.BorderSizePixel = 0
  25. top.Draggable = true
  26. top.Position = UDim2.new(0, -300, 0, 285)
  27. top.Selectable = true
  28. top.Size = UDim2.new(0, 261, 0, 37)
  29.  
  30. main.Name = "main"
  31. main.Parent = top
  32. main.BackgroundColor3 = Color3.new(1, 1, 1)
  33. main.BorderSizePixel = 0
  34. main.Position = UDim2.new(0, 0, 0, 37)
  35. main.Size = UDim2.new(0, 261, 0, 215)
  36.  
  37. guns.Name = "guns"
  38. guns.Parent = main
  39. guns.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  40. guns.BorderSizePixel = 0
  41. guns.Position = UDim2.new(0, 30, 0, 37)
  42. guns.Size = UDim2.new(0, 94, 0, 42)
  43. guns.Font = Enum.Font.SourceSansBold
  44. guns.FontSize = Enum.FontSize.Size18
  45. guns.Text = "CT Spawn"
  46. guns.TextColor3 = Color3.new(1, 1, 1)
  47. guns.TextSize = 18
  48. guns.TextWrapped = true
  49.  
  50. heli.Name = "heli"
  51. heli.Parent = main
  52. heli.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  53. heli.BorderSizePixel = 0
  54. heli.Position = UDim2.new(0, 139, 0, 37)
  55. heli.Size = UDim2.new(0, 94, 0, 42)
  56. heli.Font = Enum.Font.SourceSansBold
  57. heli.FontSize = Enum.FontSize.Size18
  58. heli.Text = "T Spawn"
  59. heli.TextColor3 = Color3.new(1, 1, 1)
  60. heli.TextSize = 18
  61. heli.TextWrapped = true
  62.  
  63. bank.Name = "bank"
  64. bank.Parent = main
  65. bank.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  66. bank.BorderSizePixel = 0
  67. bank.Position = UDim2.new(0, 139, 0, 147)
  68. bank.Size = UDim2.new(0, 94, 0, 42)
  69. bank.Font = Enum.Font.SourceSansBold
  70. bank.FontSize = Enum.FontSize.Size18
  71. bank.Text = "A Site Sniper Building"
  72. bank.TextColor3 = Color3.new(1, 1, 1)
  73. bank.TextSize = 12
  74. bank.TextWrapped = true
  75.  
  76. police.Name = "police"
  77. police.Parent = main
  78. police.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  79. police.BorderSizePixel = 0
  80. police.Position = UDim2.new(0, 30, 0, 92)
  81. police.Size = UDim2.new(0, 94, 0, 42)
  82. police.Font = Enum.Font.SourceSansBold
  83. police.FontSize = Enum.FontSize.Size18
  84. police.Text = "A Site"
  85. police.TextColor3 = Color3.new(1, 1, 1)
  86. police.TextSize = 18
  87. police.TextWrapped = true
  88.  
  89. hq.Name = "hq"
  90. hq.Parent = main
  91. hq.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  92. hq.BorderSizePixel = 0
  93. hq.Position = UDim2.new(0, 139, 0, 92)
  94. hq.Size = UDim2.new(0, 94, 0, 42)
  95. hq.Font = Enum.Font.SourceSansBold
  96. hq.FontSize = Enum.FontSize.Size18
  97. hq.Text = "B Site"
  98. hq.TextColor3 = Color3.new(1, 1, 1)
  99. hq.TextSize = 18
  100. hq.TextWrapped = true
  101.  
  102. outside.Name = "outside"
  103. outside.Parent = main
  104. outside.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  105. outside.BorderSizePixel = 0
  106. outside.Position = UDim2.new(0, 30, 0, 147)
  107. outside.Size = UDim2.new(0, 94, 0, 42)
  108. outside.Font = Enum.Font.SourceSansBold
  109. outside.FontSize = Enum.FontSize.Size18
  110. outside.Text = "Outside Jail"
  111. outside.TextColor3 = Color3.new(1, 1, 1)
  112. outside.TextSize = 18
  113. outside.TextWrapped = true
  114.  
  115. TextLabel.Parent = main
  116. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  117. TextLabel.BackgroundTransparency = 1
  118. TextLabel.Size = UDim2.new(0, 258, 0, 25)
  119. TextLabel.Font = Enum.Font.SourceSansBold
  120. TextLabel.FontSize = Enum.FontSize.Size18
  121. TextLabel.Text = "CB:RO Seaside"
  122. TextLabel.TextColor3 = Color3.new(0.333333, 0.666667, 1)
  123. TextLabel.TextSize = 18
  124.  
  125. openclose.Name = "openclose"
  126. openclose.Parent = jailbreakgui
  127. openclose.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  128. openclose.BorderSizePixel = 0
  129. openclose.Position = UDim2.new(0, 18,0, 521)
  130. openclose.Size = UDim2.new(0, 128, 0, 50)
  131. openclose.Font = Enum.Font.SourceSansBold
  132. openclose.FontSize = Enum.FontSize.Size24
  133. openclose.Text = "Seaside"
  134. openclose.TextColor3 = Color3.new(1, 1, 1)
  135. openclose.TextSize = 24
  136. bank.MouseButton1Click:connect(function()
  137. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-284.5, 90.3, 308.1) + Vector3.new(1,0,0)--a site sniper house
  138. end)
  139. police.MouseButton1Click:connect(function()
  140. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-264.3, 80.3, 270.3) + Vector3.new(1,0,0) --a site
  141. end)
  142. hq.MouseButton1Click:connect(function()
  143. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-96, 80.3, 346.28) + Vector3.new(1,0,0)--b site
  144. end)
  145. heli.MouseButton1Click:connect(function()
  146. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-120.7, 92.3, 153) + Vector3.new(1,0,0) --t
  147. end)
  148. outside.MouseButton1Click:connect(function()
  149. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(119.48267, 17.7480812, -1384.74561) + Vector3.new(1,0,0)
  150. end)
  151. guns.MouseButton1Click:connect(function()
  152. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-243.5, 80.3, 306.1) + Vector3.new(1,0,0) --ct
  153. end)
  154. openclose.MouseButton1Click:connect(function()
  155. if openclose.Text == ("Seaside") then
  156. top:TweenPosition(UDim2.new(0, 1192,0, 285), "In", "Quad", 1)
  157. wait(1)
  158. openclose.Text = ("Close")
  159. elseif openclose.Text == ("Close") then
  160. top:TweenPosition(UDim2.new(0, -300,0, 285), "Out", "Quad", 1)
  161. wait(1)
  162. openclose.Text = ("Seaside")
  163. end
  164. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement