Advertisement
JJ_PasteBin

Area 108 GUI

Oct 19th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.56 KB | None | 0 0
  1. -- GUI Made by J.J#9257
  2. -- Version: 0.2
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Main = Instance.new("Frame")
  6. local Title = Instance.new("Frame")
  7. local Title_2 = Instance.new("TextLabel")
  8. local Credits = Instance.new("Frame")
  9. local UserName = Instance.new("TextBox")
  10. local BreachShelter = Instance.new("TextButton")
  11. local CIBase = Instance.new("TextButton")
  12. local ReconMode = Instance.new("TextButton")
  13. local EnableDrop = Instance.new("TextButton")
  14. local ComingSoon2 = Instance.new("TextButton")
  15. local ClassDtoOmni = Instance.new("TextButton")
  16. local ESP = Instance.new("TextButton")
  17. local _1162 = Instance.new("TextButton")
  18. local ComingSoon = Instance.new("TextButton")
  19. --Properties:
  20. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22.  
  23.  
  24. Main.Name = "Main"
  25. Main.Parent = ScreenGui
  26. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  27. Main.BackgroundTransparency = 0.34999999403954
  28. Main.Position = UDim2.new(0, 0, 0.616707623, 0)
  29. Main.Size = UDim2.new(0, 219, 0, 296)
  30.  
  31. Title.Name = "Title"
  32. Title.Parent = Main
  33. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  34. Title.Position = UDim2.new(0, 0, -0.0202702694, 0)
  35. Title.Size = UDim2.new(0, 219, 0, 38)
  36.  
  37. Title_2.Name = "Title"
  38. Title_2.Parent = Title
  39. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  40. Title_2.BackgroundTransparency = 1
  41. Title_2.Position = UDim2.new(0.0410957336, 0, 0.0789473653, 0)
  42. Title_2.Size = UDim2.new(0, 200, 0, 31)
  43. Title_2.Font = Enum.Font.GothamBold
  44. Title_2.Text = "Area 108 GUI"
  45. Title_2.TextColor3 = Color3.new(0, 0, 0)
  46. Title_2.TextSize = 20
  47.  
  48.  
  49. Credits.Name = "Credits"
  50. Credits.Parent = Main
  51. Credits.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  52. Credits.BackgroundTransparency = 0.20999999344349
  53. Credits.Position = UDim2.new(0, 0, 0.908783793, 0)
  54. Credits.Size = UDim2.new(0, 219, 0, 27)
  55.  
  56. UserName.Name = "UserName"
  57. UserName.Parent = Credits
  58. UserName.BackgroundColor3 = Color3.new(1, 1, 1)
  59. UserName.BackgroundTransparency = 1
  60. UserName.Size = UDim2.new(0, 219, 0, 26)
  61. UserName.Font = Enum.Font.GothamBlack
  62. UserName.Text = "GUI made by J.J#9257"
  63. UserName.TextColor3 = Color3.new(0, 0, 0)
  64. UserName.TextSize = 14
  65. UserName.TextWrapped = true
  66.  
  67. BreachShelter.Name = "Breach Shelter"
  68. BreachShelter.Parent = Main
  69. BreachShelter.BackgroundColor3 = Color3.new(1, 1, 1)
  70. BreachShelter.BackgroundTransparency = 1
  71. BreachShelter.Position = UDim2.new(0.0365296602, 0, 0.222972959, 0)
  72. BreachShelter.Size = UDim2.new(0, 56, 0, 17)
  73. BreachShelter.Font = Enum.Font.GothamBlack
  74. BreachShelter.Text = "CDCZ"
  75. BreachShelter.TextColor3 = Color3.new(1, 0, 0)
  76. BreachShelter.TextSize = 14
  77. BreachShelter.MouseButton1Down:connect(function()
  78. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(437.3125, 404.366486, -32.7333984)
  79. end)
  80.  
  81. CIBase.Name = "CI Base"
  82. CIBase.Parent = Main
  83. CIBase.BackgroundColor3 = Color3.new(1, 1, 1)
  84. CIBase.BackgroundTransparency = 1
  85. CIBase.Position = UDim2.new(0.036529664, 0, 0.307432413, 0)
  86. CIBase.Size = UDim2.new(0, 55, 0, 17)
  87. CIBase.Font = Enum.Font.GothamBlack
  88. CIBase.Text = "CI Base"
  89. CIBase.TextColor3 = Color3.new(1, 0, 0)
  90. CIBase.TextSize = 14
  91. CIBase.MouseButton1Down:connect(function()
  92. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-110.450775, 380.573975, -1968.10571)
  93. end)
  94.  
  95. ReconMode.Name = "Recon Mode"
  96. ReconMode.Parent = Main
  97. ReconMode.BackgroundColor3 = Color3.new(1, 1, 1)
  98. ReconMode.BackgroundTransparency = 1
  99. ReconMode.Position = UDim2.new(0.0365296602, 0, 0.493243247, 0)
  100. ReconMode.Size = UDim2.new(0, 56, 0, 17)
  101. ReconMode.Font = Enum.Font.GothamBlack
  102. ReconMode.Text = "Recon "
  103. ReconMode.TextColor3 = Color3.new(1, 0, 0)
  104. ReconMode.TextSize = 14
  105. ReconMode.MouseButton1Down:connect(function()
  106. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-710.287842, 404.362183, -50.1547699)
  107. end)
  108.  
  109. EnableDrop.Name = "Enable Drop"
  110. EnableDrop.Parent = Main
  111. EnableDrop.BackgroundColor3 = Color3.new(1, 1, 1)
  112. EnableDrop.BackgroundTransparency = 1
  113. EnableDrop.Position = UDim2.new(0.621004522, 0, 0.395270228, 0)
  114. EnableDrop.Size = UDim2.new(0, 56, 0, 17)
  115. EnableDrop.Font = Enum.Font.GothamBlack
  116. EnableDrop.Text = "Drop(NotWorking)"
  117. EnableDrop.TextColor3 = Color3.new(1, 0, 0)
  118. EnableDrop.TextSize = 14
  119. EnableDrop.MouseButton1Down:connect(function()
  120. end)
  121.  
  122. ComingSoon2.Name = "Coming Soon 2"
  123. ComingSoon2.Parent = Main
  124. ComingSoon2.BackgroundColor3 = Color3.new(1, 1, 1)
  125. ComingSoon2.BackgroundTransparency = 1
  126. ComingSoon2.Position = UDim2.new(0.0365296602, 0, 0.62499994, 0)
  127. ComingSoon2.Size = UDim2.new(0, 56, 0, 17)
  128. ComingSoon2.Font = Enum.Font.GothamBlack
  129. ComingSoon2.Text = "Coming"
  130. ComingSoon2.TextColor3 = Color3.new(0, 0.00392157, 0.415686)
  131. ComingSoon2.TextSize = 14
  132.  
  133. ClassDtoOmni.Name = "Class D to Omni"
  134. ClassDtoOmni.Parent = Main
  135. ClassDtoOmni.BackgroundColor3 = Color3.new(1, 1, 1)
  136. ClassDtoOmni.BackgroundTransparency = 1
  137. ClassDtoOmni.Position = UDim2.new(0.616438329, 0, 0.307432413, 0)
  138. ClassDtoOmni.Size = UDim2.new(0, 56, 0, 17)
  139. ClassDtoOmni.Font = Enum.Font.GothamBlack
  140. ClassDtoOmni.Text = "Omni"
  141. ClassDtoOmni.TextColor3 = Color3.new(1, 0, 0)
  142. ClassDtoOmni.TextSize = 14
  143. ClassDtoOmni.MouseButton1Down:connect(function()
  144. game.Players.LocalPlayer.Backpack:FindFirstChild("[SCP] CD Card").Name = "[SCP] Card-Omni"
  145. end)
  146.  
  147. ESP.Name = "ESP"
  148. ESP.Parent = Main
  149. ESP.BackgroundColor3 = Color3.new(1, 1, 1)
  150. ESP.BackgroundTransparency = 1
  151. ESP.Position = UDim2.new(0.621004701, 0, 0.222972989, 0)
  152. ESP.Size = UDim2.new(0, 55, 0, 17)
  153. ESP.Font = Enum.Font.GothamBlack
  154. ESP.Text = "ESP"
  155. ESP.TextColor3 = Color3.new(1, 0, 0)
  156. ESP.TextSize = 14
  157. ESP.MouseButton1Down:connect(function()
  158.  
  159. ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
  160. ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
  161. TRANSPARENCY = 0.5 --//Transparency of the ESP
  162. HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
  163. --
  164. --
  165.  
  166. -- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
  167.  
  168. function createFlex()
  169. -- -----------------------------------------------------------------------------------
  170. --[VARIABLES] //Changing may result in Errors!
  171. players = game:GetService("Players") --//Required for PF
  172. faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
  173. currentPlayer = nil --//Used for the Team-Check
  174. lplayer = players.LocalPlayer --//The LocalPlayer
  175. -- -----------------------------------------------------------------------------------
  176. players.PlayerAdded:Connect(function(p)
  177. currentPlayer = p
  178. p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
  179. createESP(character)
  180. end)
  181. end)
  182. -- -----------------------------------------------------------------------------------
  183. function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end --//Check if the Part is suitable
  184. -- -----------------------------------------------------------------------------------
  185. function actualESP(obj)
  186.  
  187. for i=0,5 do
  188. surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
  189. surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
  190. surface.AlwaysOnTop = true
  191.  
  192. frame = Instance.new("Frame",surface) --//Creates the viewable Frame
  193. frame.Size = UDim2.new(1,0,1,0)
  194. frame.BorderSizePixel = 0
  195. frame.BackgroundTransparency = TRANSPARENCY
  196. if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
  197. frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
  198. else
  199. frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
  200. end
  201.  
  202. end
  203. end
  204. -- -----------------------------------------------------------------------------------
  205. function createHealthbar(hrp)
  206. board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
  207. board.Name = "total"
  208. board.Size = UDim2.new(1,0,1,0)
  209. board.StudsOffset = Vector3.new(3,1,0)
  210. board.AlwaysOnTop = true
  211.  
  212. bar = Instance.new("Frame",board) --//Creates the red background
  213. bar.BackgroundColor3 = Color3.new(255,0,0)
  214. bar.BorderSizePixel = 0
  215. bar.Size = UDim2.new(0.2,0,4,0)
  216. bar.Name = "total2"
  217.  
  218. health = Instance.new("Frame",bar) --//Creates the changing green Frame
  219. health.BackgroundColor3 = Color3.new(0,255,0)
  220. health.BorderSizePixel = 0
  221. health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
  222. hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
  223. hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
  224. end)
  225. end
  226. -- -----------------------------------------------------------------------------------
  227. function createESP(c) --//Checks and calls the proper function
  228. bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
  229. for i,v in pairs(c:GetChildren()) do
  230. if checkPart(v) then
  231. actualESP(v)
  232. end
  233. end
  234. if HEALTHBAR_ACTIVATED then --//If the user decided to
  235. createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
  236. end
  237. end
  238. -- -----------------------------------------------------------------------------------
  239. for i,people in pairs(players:GetChildren())do
  240. if people ~= players.LocalPlayer then
  241. currentPlayer = people
  242. --//Used for Players already in the Game
  243. createESP(people.Character)
  244. people.CharacterAdded:Connect(function(character)
  245. createESP(character)
  246. end)
  247. end
  248. end
  249. -- -----------------------------------------------------------------------------------
  250. end --//End of the entire function
  251.  
  252. createFlex() --// Does exactly that :)
  253. end)
  254.  
  255. _1162.Name = "1162"
  256. _1162.Parent = Main
  257. _1162.BackgroundColor3 = Color3.new(1, 1, 1)
  258. _1162.BackgroundTransparency = 1
  259. _1162.Position = UDim2.new(0.0365296602, 0, 0.395270228, 0)
  260. _1162.Size = UDim2.new(0, 56, 0, 17)
  261. _1162.Font = Enum.Font.GothamBlack
  262. _1162.Text = "1162"
  263. _1162.TextColor3 = Color3.new(1, 0, 0)
  264. _1162.TextSize = 14
  265. _1162.MouseButton1Down:connect(function()
  266. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-278.505402, 405.843109, 567.869568)
  267. end)
  268.  
  269. ComingSoon.Name = "Coming Soon"
  270. ComingSoon.Parent = Main
  271. ComingSoon.BackgroundColor3 = Color3.new(1, 1, 1)
  272. ComingSoon.BackgroundTransparency = 1
  273. ComingSoon.Position = UDim2.new(0.616438329, 0, 0.527026951, 0)
  274. ComingSoon.Size = UDim2.new(0, 56, 0, 17)
  275. ComingSoon.Font = Enum.Font.GothamBlack
  276. ComingSoon.Text = "Coming..."
  277. ComingSoon.TextColor3 = Color3.new(0, 0.00392157, 0.415686)
  278. ComingSoon.TextSize = 14
  279. -- Scripts:
  280. function SCRIPT_JMGV79_FAKESCRIPT() -- Title.LocalScript
  281. local script = Instance.new('LocalScript')
  282. script.Parent = Title
  283. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  284.  
  285. counter = 0
  286.  
  287. while wait(0.1)do
  288. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  289.  
  290. counter = counter + 0.01
  291. end
  292.  
  293. end
  294. coroutine.resume(coroutine.create(SCRIPT_JMGV79_FAKESCRIPT))
  295. function SCRIPT_RHZN80_FAKESCRIPT() -- Credits.LocalScript
  296. local script = Instance.new('LocalScript')
  297. script.Parent = Credits
  298. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  299.  
  300. counter = 0
  301.  
  302. while wait(0.1)do
  303. script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
  304.  
  305. counter = counter + 0.01
  306. end
  307.  
  308. end
  309. coroutine.resume(coroutine.create(SCRIPT_RHZN80_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement