Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- GUI Made by J.J#9257
- -- Version: 0.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Title = Instance.new("Frame")
- local Title_2 = Instance.new("TextLabel")
- local Credits = Instance.new("Frame")
- local UserName = Instance.new("TextBox")
- local BreachShelter = Instance.new("TextButton")
- local CIBase = Instance.new("TextButton")
- local ReconMode = Instance.new("TextButton")
- local EnableDrop = Instance.new("TextButton")
- local ComingSoon2 = Instance.new("TextButton")
- local ClassDtoOmni = Instance.new("TextButton")
- local ESP = Instance.new("TextButton")
- local _1162 = Instance.new("TextButton")
- local ComingSoon = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(0, 0, 0)
- Main.BackgroundTransparency = 0.34999999403954
- Main.Position = UDim2.new(0, 0, 0.616707623, 0)
- Main.Size = UDim2.new(0, 219, 0, 296)
- Title.Name = "Title"
- Title.Parent = Main
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.Position = UDim2.new(0, 0, -0.0202702694, 0)
- Title.Size = UDim2.new(0, 219, 0, 38)
- Title_2.Name = "Title"
- Title_2.Parent = Title
- Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
- Title_2.BackgroundTransparency = 1
- Title_2.Position = UDim2.new(0.0410957336, 0, 0.0789473653, 0)
- Title_2.Size = UDim2.new(0, 200, 0, 31)
- Title_2.Font = Enum.Font.GothamBold
- Title_2.Text = "Area 108 GUI"
- Title_2.TextColor3 = Color3.new(0, 0, 0)
- Title_2.TextSize = 20
- Credits.Name = "Credits"
- Credits.Parent = Main
- Credits.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Credits.BackgroundTransparency = 0.20999999344349
- Credits.Position = UDim2.new(0, 0, 0.908783793, 0)
- Credits.Size = UDim2.new(0, 219, 0, 27)
- UserName.Name = "UserName"
- UserName.Parent = Credits
- UserName.BackgroundColor3 = Color3.new(1, 1, 1)
- UserName.BackgroundTransparency = 1
- UserName.Size = UDim2.new(0, 219, 0, 26)
- UserName.Font = Enum.Font.GothamBlack
- UserName.Text = "GUI made by J.J#9257"
- UserName.TextColor3 = Color3.new(0, 0, 0)
- UserName.TextSize = 14
- UserName.TextWrapped = true
- BreachShelter.Name = "Breach Shelter"
- BreachShelter.Parent = Main
- BreachShelter.BackgroundColor3 = Color3.new(1, 1, 1)
- BreachShelter.BackgroundTransparency = 1
- BreachShelter.Position = UDim2.new(0.0365296602, 0, 0.222972959, 0)
- BreachShelter.Size = UDim2.new(0, 56, 0, 17)
- BreachShelter.Font = Enum.Font.GothamBlack
- BreachShelter.Text = "CDCZ"
- BreachShelter.TextColor3 = Color3.new(1, 0, 0)
- BreachShelter.TextSize = 14
- BreachShelter.MouseButton1Down:connect(function()
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(437.3125, 404.366486, -32.7333984)
- end)
- CIBase.Name = "CI Base"
- CIBase.Parent = Main
- CIBase.BackgroundColor3 = Color3.new(1, 1, 1)
- CIBase.BackgroundTransparency = 1
- CIBase.Position = UDim2.new(0.036529664, 0, 0.307432413, 0)
- CIBase.Size = UDim2.new(0, 55, 0, 17)
- CIBase.Font = Enum.Font.GothamBlack
- CIBase.Text = "CI Base"
- CIBase.TextColor3 = Color3.new(1, 0, 0)
- CIBase.TextSize = 14
- CIBase.MouseButton1Down:connect(function()
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-110.450775, 380.573975, -1968.10571)
- end)
- ReconMode.Name = "Recon Mode"
- ReconMode.Parent = Main
- ReconMode.BackgroundColor3 = Color3.new(1, 1, 1)
- ReconMode.BackgroundTransparency = 1
- ReconMode.Position = UDim2.new(0.0365296602, 0, 0.493243247, 0)
- ReconMode.Size = UDim2.new(0, 56, 0, 17)
- ReconMode.Font = Enum.Font.GothamBlack
- ReconMode.Text = "Recon "
- ReconMode.TextColor3 = Color3.new(1, 0, 0)
- ReconMode.TextSize = 14
- ReconMode.MouseButton1Down:connect(function()
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-710.287842, 404.362183, -50.1547699)
- end)
- EnableDrop.Name = "Enable Drop"
- EnableDrop.Parent = Main
- EnableDrop.BackgroundColor3 = Color3.new(1, 1, 1)
- EnableDrop.BackgroundTransparency = 1
- EnableDrop.Position = UDim2.new(0.621004522, 0, 0.395270228, 0)
- EnableDrop.Size = UDim2.new(0, 56, 0, 17)
- EnableDrop.Font = Enum.Font.GothamBlack
- EnableDrop.Text = "Drop(NotWorking)"
- EnableDrop.TextColor3 = Color3.new(1, 0, 0)
- EnableDrop.TextSize = 14
- EnableDrop.MouseButton1Down:connect(function()
- end)
- ComingSoon2.Name = "Coming Soon 2"
- ComingSoon2.Parent = Main
- ComingSoon2.BackgroundColor3 = Color3.new(1, 1, 1)
- ComingSoon2.BackgroundTransparency = 1
- ComingSoon2.Position = UDim2.new(0.0365296602, 0, 0.62499994, 0)
- ComingSoon2.Size = UDim2.new(0, 56, 0, 17)
- ComingSoon2.Font = Enum.Font.GothamBlack
- ComingSoon2.Text = "Coming"
- ComingSoon2.TextColor3 = Color3.new(0, 0.00392157, 0.415686)
- ComingSoon2.TextSize = 14
- ClassDtoOmni.Name = "Class D to Omni"
- ClassDtoOmni.Parent = Main
- ClassDtoOmni.BackgroundColor3 = Color3.new(1, 1, 1)
- ClassDtoOmni.BackgroundTransparency = 1
- ClassDtoOmni.Position = UDim2.new(0.616438329, 0, 0.307432413, 0)
- ClassDtoOmni.Size = UDim2.new(0, 56, 0, 17)
- ClassDtoOmni.Font = Enum.Font.GothamBlack
- ClassDtoOmni.Text = "Omni"
- ClassDtoOmni.TextColor3 = Color3.new(1, 0, 0)
- ClassDtoOmni.TextSize = 14
- ClassDtoOmni.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Backpack:FindFirstChild("[SCP] CD Card").Name = "[SCP] Card-Omni"
- end)
- ESP.Name = "ESP"
- ESP.Parent = Main
- ESP.BackgroundColor3 = Color3.new(1, 1, 1)
- ESP.BackgroundTransparency = 1
- ESP.Position = UDim2.new(0.621004701, 0, 0.222972989, 0)
- ESP.Size = UDim2.new(0, 55, 0, 17)
- ESP.Font = Enum.Font.GothamBlack
- ESP.Text = "ESP"
- ESP.TextColor3 = Color3.new(1, 0, 0)
- ESP.TextSize = 14
- ESP.MouseButton1Down:connect(function()
- ALLYCOLOR = {0,255,255} --//Color of the ESP of people on the same team
- ENEMYCOLOR = {255,0,0} --//Color of the ESP of people on NOT the same team
- TRANSPARENCY = 0.5 --//Transparency of the ESP
- HEALTHBAR_ACTIVATED = true --//Renders the Healthbar
- --
- --
- -- !!!Don't Change Anything Below Here Unless You Know What You're Doing!!!
- function createFlex()
- -- -----------------------------------------------------------------------------------
- --[VARIABLES] //Changing may result in Errors!
- players = game:GetService("Players") --//Required for PF
- faces = {"Front","Back","Bottom","Left","Right","Top"} --//Every possible Enum face
- currentPlayer = nil --//Used for the Team-Check
- lplayer = players.LocalPlayer --//The LocalPlayer
- -- -----------------------------------------------------------------------------------
- players.PlayerAdded:Connect(function(p)
- currentPlayer = p
- p.CharacterAdded:Connect(function(character) --//For when a new Player joins the game
- createESP(character)
- end)
- end)
- -- -----------------------------------------------------------------------------------
- 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
- -- -----------------------------------------------------------------------------------
- function actualESP(obj)
- for i=0,5 do
- surface = Instance.new("SurfaceGui",obj) --//Creates the SurfaceGui
- surface.Face = Enum.NormalId[faces[i+1]] --//Adjusts the Face and chooses from the face table
- surface.AlwaysOnTop = true
- frame = Instance.new("Frame",surface) --//Creates the viewable Frame
- frame.Size = UDim2.new(1,0,1,0)
- frame.BorderSizePixel = 0
- frame.BackgroundTransparency = TRANSPARENCY
- if currentPlayer.Team == players.LocalPlayer.Team then --//Checks the Players Team
- frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3]) --//If in same Team
- else
- frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3]) --//If in another Team
- end
- end
- end
- -- -----------------------------------------------------------------------------------
- function createHealthbar(hrp)
- board =Instance.new("BillboardGui",hrp) --//Creates the BillboardGui with HumanoidRootPart as the Parent
- board.Name = "total"
- board.Size = UDim2.new(1,0,1,0)
- board.StudsOffset = Vector3.new(3,1,0)
- board.AlwaysOnTop = true
- bar = Instance.new("Frame",board) --//Creates the red background
- bar.BackgroundColor3 = Color3.new(255,0,0)
- bar.BorderSizePixel = 0
- bar.Size = UDim2.new(0.2,0,4,0)
- bar.Name = "total2"
- health = Instance.new("Frame",bar) --//Creates the changing green Frame
- health.BackgroundColor3 = Color3.new(0,255,0)
- health.BorderSizePixel = 0
- health.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0)
- hrp.Parent.Humanoid.Changed:Connect(function(property) --//Triggers when any Property changed
- hrp.total.total2.Frame.Size = UDim2.new(1,0,hrp.Parent.Humanoid.Health/100,0) --//Adjusts the size of the green Frame
- end)
- end
- -- -----------------------------------------------------------------------------------
- function createESP(c) --//Checks and calls the proper function
- bugfix = c:WaitForChild("Head") --// *Used so the children of the character arent nil.
- for i,v in pairs(c:GetChildren()) do
- if checkPart(v) then
- actualESP(v)
- end
- end
- if HEALTHBAR_ACTIVATED then --//If the user decided to
- createHealthbar(c:WaitForChild("HumanoidRootPart")) --//Calls the function of the creation
- end
- end
- -- -----------------------------------------------------------------------------------
- for i,people in pairs(players:GetChildren())do
- if people ~= players.LocalPlayer then
- currentPlayer = people
- --//Used for Players already in the Game
- createESP(people.Character)
- people.CharacterAdded:Connect(function(character)
- createESP(character)
- end)
- end
- end
- -- -----------------------------------------------------------------------------------
- end --//End of the entire function
- createFlex() --// Does exactly that :)
- end)
- _1162.Name = "1162"
- _1162.Parent = Main
- _1162.BackgroundColor3 = Color3.new(1, 1, 1)
- _1162.BackgroundTransparency = 1
- _1162.Position = UDim2.new(0.0365296602, 0, 0.395270228, 0)
- _1162.Size = UDim2.new(0, 56, 0, 17)
- _1162.Font = Enum.Font.GothamBlack
- _1162.Text = "1162"
- _1162.TextColor3 = Color3.new(1, 0, 0)
- _1162.TextSize = 14
- _1162.MouseButton1Down:connect(function()
- game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-278.505402, 405.843109, 567.869568)
- end)
- ComingSoon.Name = "Coming Soon"
- ComingSoon.Parent = Main
- ComingSoon.BackgroundColor3 = Color3.new(1, 1, 1)
- ComingSoon.BackgroundTransparency = 1
- ComingSoon.Position = UDim2.new(0.616438329, 0, 0.527026951, 0)
- ComingSoon.Size = UDim2.new(0, 56, 0, 17)
- ComingSoon.Font = Enum.Font.GothamBlack
- ComingSoon.Text = "Coming..."
- ComingSoon.TextColor3 = Color3.new(0, 0.00392157, 0.415686)
- ComingSoon.TextSize = 14
- -- Scripts:
- function SCRIPT_JMGV79_FAKESCRIPT() -- Title.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Title
- function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
- counter = 0
- while wait(0.1)do
- script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
- counter = counter + 0.01
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_JMGV79_FAKESCRIPT))
- function SCRIPT_RHZN80_FAKESCRIPT() -- Credits.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Credits
- function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
- counter = 0
- while wait(0.1)do
- script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
- counter = counter + 0.01
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_RHZN80_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement