Lewati ke konten
Berfungsi

AWP.GG LUA EXEC

CLclarkdevlinorg1 tayanganUniversal26 Jul 2026
Bagikan
AWP.GG LUA EXEC

Kode Script

Lua
local UIS = game:GetService("UserInputService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local plrName = player and player.Name or "Player"

local C = {
	bg = Color3.fromRGB(22, 22, 22),
	surface = Color3.fromRGB(30, 30, 30),
	border = Color3.fromRGB(38, 38, 38),
	borderLight = Color3.fromRGB(55, 53, 53),
	text = Color3.fromRGB(200, 200, 200),
	textDim = Color3.fromRGB(140, 140, 140),
	textBright = Color3.fromRGB(255, 255, 255),
	hover = Color3.fromRGB(45, 45, 45),
	console = Color3.fromRGB(18, 18, 18),
	editorBg = Color3.fromRGB(22, 22, 22),
	gutter = Color3.fromRGB(28, 28, 28),
	lineNum = Color3.fromRGB(100, 100, 100),
	placeholder = Color3.fromRGB(100, 100, 100),
	active = Color3.fromRGB(50, 50, 50),
}

local I = {
	user = "rbxassetid://81589895647169",
	chevronDown = "rbxassetid://134243273101015",
	chevronUp = "rbxassetid://122444883127455",
	folder = "rbxassetid://80846616596607",
	play = "rbxassetid://135609604299893",
	trash2 = "rbxassetid://109843431391323",
	settings = "rbxassetid://80758916183665",
	terminal = "rbxassetid://106783148545356",
	code = "rbxassetid://107380207681249",
	x = "rbxassetid://110786993356448",
	minus = "rbxassetid://118026365011536",
	maximize = "rbxassetid://76045941763188",
	logIn = "rbxassetid://103768533135201",
	monitor = "rbxassetid://72664649203050",
	check = "rbxassetid://93898873302694",
	save = "rbxassetid://126116963775616",
	plus = "rbxassetid://111774323017047",
}

local function F(p)
	local f = Instance.new("Frame")
	f.Name = p.n or "Frame"
	f.Size = p.s or UDim2.fromScale(1, 1)
	f.Position = p.p or UDim2.fromOffset(0, 0)
	f.AnchorPoint = p.a or Vector2.new(0, 0)
	f.BackgroundColor3 = p.bg or C.bg
	f.BackgroundTransparency = p.bgt or 0
	f.BorderSizePixel = 0
	f.Visible = if p.v ~= nil then p.v else true
	if p.r then local uc = Instance.new("UICorner"); uc.CornerRadius = type(p.r) == "number" and UDim.new(0, p.r) or p.r; uc.Parent = f end
	if p.c then f.ClipsDescendants = true end
	if p.stroke then
		local s = Instance.new("UIStroke")
		s.Color = p.strokeColor or C.border
		s.Thickness = p.strokeThick or 1
		s.Transparency = p.strokeTrans or 0
		s.Parent = f
	end
	f.Parent = p.parent
	return f
end

local function L(p)
	local l = Instance.new("TextLabel")
	l.Name = p.n or "Label"
	l.Size = p.s or UDim2.fromOffset(200, 20)
	l.Position = p.p or UDim2.fromOffset(0, 0)
	l.BackgroundTransparency = 1
	l.Text = p.t or ""
	l.TextColor3 = p.c or C.text
	l.TextSize = p.sz or 14
	l.Font = p.f or Enum.Font.Gotham
	l.TextXAlignment = p.x or Enum.TextXAlignment.Left
	l.TextYAlignment = p.y or Enum.TextYAlignment.Center
	l.TextWrapped = p.w or false
	l.RichText = p.rt or false
	l.Parent = p.parent
	return l
end

local function Icon(p)
	local img = Instance.new("ImageLabel")
	img.Name = p.n or "Icon"
	img.Size = p.s or UDim2.fromOffset(16, 16)
	img.Position = p.p or UDim2.fromOffset(0, 0)
	img.AnchorPoint = p.a or Vector2.new(0, 0)
	img.BackgroundTransparency = 1
	img.Image = p.icon or ""
	img.ImageColor3 = p.c or C.textDim
	img.ScaleType = Enum.ScaleType.Fit
	img.BorderSizePixel = 0
	img.Visible = if p.v ~= nil then p.v else true
	img.Parent = p.parent
	return img
end

local function InputBox(p)
	local c = F({parent = p.parent, n = p.n.."Container", s = p.s or UDim2.fromOffset(240, 30), p = p.p, bg = C.surface, r = 4, stroke = true})
	local box = Instance.new("TextBox")
	box.Name = "Input"
	box.Size = UDim2.new(1, -10, 1, 0)
	box.Position = UDim2.fromOffset(10, 0)
	box.BackgroundTransparency = 1
	box.BorderSizePixel = 0
	box.PlaceholderText = p.placeholder or ""
	box.PlaceholderColor3 = C.textDim
	box.TextColor3 = C.text
	box.TextSize = 13
	box.Font = Enum.Font.Gotham
	box.TextXAlignment = Enum.TextXAlignment.Left
	box.ClearTextOnFocus = true
	box.Parent = c
	if p.pw then box.Text = "" end
	return box, c
end

local pages = {}
local currentPage = "login"
local selectedInstance = nil
local WIN_W = 780
local WIN_H = 480
local notifZ = 10

local function makeTitleBtn(name, icon, label, x, iconSize)
	local w = label and 80 or (iconSize or 18) + 12
	local btn = F({parent = G2L["TitleBar"], n = name, s = UDim2.fromOffset(w, 22), p = UDim2.fromOffset(x, 5), bg = Color3.new(1,1,1), bgt = 1, r = 3})
	local isz = iconSize or 14
	if label then
		L({parent = btn, n = "Label", t = label, c = C.textDim, sz = 12, s = UDim2.new(1, -isz - 8, 1, 0), p = UDim2.fromOffset(6, 0)})
		Icon({parent = btn, n = "Icon", icon = icon, c = C.textDim, s = UDim2.fromOffset(isz, isz), p = UDim2.fromOffset(w - isz - 4, (22-isz)/2)})
	else
		Icon({parent = btn, n = "Icon", icon = icon, c = C.textDim, s = UDim2.fromOffset(isz, isz), p = UDim2.new(0.5, -isz/2, 0.5, -isz/2)})
	end
	return btn
end
local G2L = {}

G2L["ScreenGui"] = Instance.new("ScreenGui")
G2L["ScreenGui"]["Name"] = "AWPMenu"
G2L["ScreenGui"]["ResetOnSpawn"] = false
G2L["ScreenGui"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling

G2L["Main"] = Instance.new("Frame", G2L["ScreenGui"])
G2L["Main"]["Name"] = "MainContainer"
G2L["Main"]["Size"] = UDim2.fromOffset(WIN_W, WIN_H)
G2L["Main"]["Position"] = UDim2.new(0.5, -WIN_W/2, 0.5, -WIN_H/2)
G2L["Main"]["BackgroundColor3"] = C.bg
G2L["Main"]["BorderSizePixel"] = 0
G2L["Main"]["ClipsDescendants"] = true
do local u = Instance.new("UICorner", G2L["Main"]); u.CornerRadius = UDim.new(0, 6); end
do local s = Instance.new("UIStroke", G2L["Main"]); s.Color = C.borderLight; s.Thickness = 1; s.Transparency = 0; end

G2L["TitleBar"] = Instance.new("Frame", G2L["Main"])
G2L["TitleBar"]["Name"] = "TitleBar"
G2L["TitleBar"]["Size"] = UDim2.new(1, 0, 0, 32)
G2L["TitleBar"]["BackgroundColor3"] = C.bg
G2L["TitleBar"]["BackgroundTransparency"] = 1
G2L["TitleBar"]["BorderSizePixel"] = 0

G2L["Branding"] = Instance.new("TextLabel", G2L["TitleBar"])
G2L["Branding"]["Name"] = "Branding"
G2L["Branding"]["Size"] = UDim2.fromOffset(36, 32)
G2L["Branding"]["Position"] = UDim2.fromOffset(12, 0)
G2L["Branding"]["BackgroundTransparency"] = 1
G2L["Branding"]["Text"] = "AWP"
G2L["Branding"]["TextColor3"] = C.textBright
G2L["Branding"]["TextSize"] = 15
G2L["Branding"]["Font"] = Enum.Font.GothamBold
G2L["Branding"]["BorderSizePixel"] = 0

G2L["BrandingDot"] = Instance.new("TextLabel", G2L["TitleBar"])
G2L["BrandingDot"]["Name"] = "BrandingDot"
G2L["BrandingDot"]["Size"] = UDim2.fromOffset(36, 32)
G2L["BrandingDot"]["Position"] = UDim2.fromOffset(46, 0)
G2L["BrandingDot"]["BackgroundTransparency"] = 1
G2L["BrandingDot"]["Text"] = ".GG"
G2L["BrandingDot"]["TextColor3"] = C.textDim
G2L["BrandingDot"]["TextSize"] = 15
G2L["BrandingDot"]["BorderSizePixel"] = 0

G2L["Divider"] = Instance.new("Frame", G2L["TitleBar"])
G2L["Divider"]["Name"] = "Divider"
G2L["Divider"]["Size"] = UDim2.fromOffset(1, 16)
G2L["Divider"]["Position"] = UDim2.fromOffset(86, 8)
G2L["Divider"]["BackgroundColor3"] = C.border
G2L["Divider"]["BackgroundTransparency"] = 0.5
G2L["Divider"]["BorderSizePixel"] = 0

G2L["ScriptingBtn"] = Instance.new("Frame", G2L["TitleBar"])
G2L["ScriptingBtn"]["Name"] = "ScriptingBtn"
G2L["ScriptingBtn"]["Size"] = UDim2.fromOffset(80, 22)
G2L["ScriptingBtn"]["Position"] = UDim2.fromOffset(94, 5)
G2L["ScriptingBtn"]["BackgroundColor3"] = Color3.new(1, 1, 1)
G2L["ScriptingBtn"]["BackgroundTransparency"] = 1
G2L["ScriptingBtn"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["ScriptingBtn"]); u.CornerRadius = UDim.new(0, 3); end

G2L["ScriptingBtnLabel"] = Instance.new("TextLabel", G2L["ScriptingBtn"])
G2L["ScriptingBtnLabel"]["Name"] = "Label"
G2L["ScriptingBtnLabel"]["Size"] = UDim2.new(1, -22, 1, 0)
G2L["ScriptingBtnLabel"]["Position"] = UDim2.fromOffset(6, 0)
G2L["ScriptingBtnLabel"]["BackgroundTransparency"] = 1
G2L["ScriptingBtnLabel"]["Text"] = "Scripting"
G2L["ScriptingBtnLabel"]["TextColor3"] = C.textDim
G2L["ScriptingBtnLabel"]["TextSize"] = 12
G2L["ScriptingBtnLabel"]["BorderSizePixel"] = 0

G2L["ScriptingBtnIcon"] = Instance.new("ImageLabel", G2L["ScriptingBtn"])
G2L["ScriptingBtnIcon"]["Name"] = "Icon"
G2L["ScriptingBtnIcon"]["Size"] = UDim2.fromOffset(14, 14)
G2L["ScriptingBtnIcon"]["Position"] = UDim2.fromOffset(62, 4)
G2L["ScriptingBtnIcon"]["BackgroundTransparency"] = 1
G2L["ScriptingBtnIcon"]["Image"] = I.code
G2L["ScriptingBtnIcon"]["ImageColor3"] = C.textDim
G2L["ScriptingBtnIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["ScriptingBtnIcon"]["BorderSizePixel"] = 0

G2L["LogoutBtn"] = Instance.new("Frame", G2L["TitleBar"])
G2L["LogoutBtn"]["Name"] = "LogoutBtn"
G2L["LogoutBtn"]["Size"] = UDim2.fromOffset(30, 22)
G2L["LogoutBtn"]["Position"] = UDim2.fromOffset(182, 5)
G2L["LogoutBtn"]["BackgroundColor3"] = Color3.new(1, 1, 1)
G2L["LogoutBtn"]["BackgroundTransparency"] = 1
G2L["LogoutBtn"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["LogoutBtn"]); u.CornerRadius = UDim.new(0, 3); end

G2L["LogoutBtnIcon"] = Instance.new("ImageLabel", G2L["LogoutBtn"])
G2L["LogoutBtnIcon"]["Name"] = "Icon"
G2L["LogoutBtnIcon"]["Size"] = UDim2.fromOffset(18, 18)
G2L["LogoutBtnIcon"]["Position"] = UDim2.new(0.5, -9, 0.5, -9)
G2L["LogoutBtnIcon"]["BackgroundTransparency"] = 1
G2L["LogoutBtnIcon"]["Image"] = I.logIn
G2L["LogoutBtnIcon"]["ImageColor3"] = C.textDim
G2L["LogoutBtnIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["LogoutBtnIcon"]["BorderSizePixel"] = 0

G2L["CloseBtn"] = Instance.new("Frame", G2L["TitleBar"])
G2L["CloseBtn"]["Name"] = "CloseBtn"
G2L["CloseBtn"]["Size"] = UDim2.fromOffset(30, 26)
G2L["CloseBtn"]["Position"] = UDim2.new(1, -34, 0, 3)
G2L["CloseBtn"]["BackgroundColor3"] = Color3.new(1, 1, 1)
G2L["CloseBtn"]["BackgroundTransparency"] = 1
G2L["CloseBtn"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["CloseBtn"]); u.CornerRadius = UDim.new(0, 3); end

G2L["CloseBtnI"] = Instance.new("ImageLabel", G2L["CloseBtn"])
G2L["CloseBtnI"]["Name"] = "I"
G2L["CloseBtnI"]["Size"] = UDim2.fromOffset(14, 14)
G2L["CloseBtnI"]["Position"] = UDim2.new(0.5, -7, 0.5, -7)
G2L["CloseBtnI"]["BackgroundTransparency"] = 1
G2L["CloseBtnI"]["Image"] = I.x
G2L["CloseBtnI"]["ImageColor3"] = C.text
G2L["CloseBtnI"]["ScaleType"] = Enum.ScaleType.Fit
G2L["CloseBtnI"]["BorderSizePixel"] = 0

G2L["MaxBtn"] = Instance.new("Frame", G2L["TitleBar"])
G2L["MaxBtn"]["Name"] = "MaxBtn"
G2L["MaxBtn"]["Size"] = UDim2.fromOffset(30, 26)
G2L["MaxBtn"]["Position"] = UDim2.new(1, -68, 0, 3)
G2L["MaxBtn"]["BackgroundColor3"] = Color3.new(1, 1, 1)
G2L["MaxBtn"]["BackgroundTransparency"] = 1
G2L["MaxBtn"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["MaxBtn"]); u.CornerRadius = UDim.new(0, 3); end

G2L["MaxBtnI"] = Instance.new("ImageLabel", G2L["MaxBtn"])
G2L["MaxBtnI"]["Name"] = "I"
G2L["MaxBtnI"]["Size"] = UDim2.fromOffset(14, 14)
G2L["MaxBtnI"]["Position"] = UDim2.new(0.5, -7, 0.5, -7)
G2L["MaxBtnI"]["BackgroundTransparency"] = 1
G2L["MaxBtnI"]["Image"] = I.maximize
G2L["MaxBtnI"]["ImageColor3"] = C.text
G2L["MaxBtnI"]["ScaleType"] = Enum.ScaleType.Fit
G2L["MaxBtnI"]["BorderSizePixel"] = 0

G2L["PageContainer"] = Instance.new("Frame", G2L["Main"])
G2L["PageContainer"]["Name"] = "PageContainer"
G2L["PageContainer"]["Size"] = UDim2.new(1, 0, 1, -32)
G2L["PageContainer"]["Position"] = UDim2.fromOffset(0, 32)
G2L["PageContainer"]["BackgroundColor3"] = C.bg
G2L["PageContainer"]["BackgroundTransparency"] = 1
G2L["PageContainer"]["BorderSizePixel"] = 0
G2L["PageContainer"]["ClipsDescendants"] = true

G2L["LoginPage"] = Instance.new("Frame", G2L["PageContainer"])
G2L["LoginPage"]["Name"] = "LoginPage"
G2L["LoginPage"]["Size"] = UDim2.fromScale(1, 1)
G2L["LoginPage"]["BackgroundColor3"] = C.bg
G2L["LoginPage"]["BackgroundTransparency"] = 1
G2L["LoginPage"]["BorderSizePixel"] = 0

G2L["LoginCenter"] = Instance.new("Frame", G2L["LoginPage"])
G2L["LoginCenter"]["Name"] = "CenterColumn"
G2L["LoginCenter"]["Size"] = UDim2.fromOffset(240, 180)
G2L["LoginCenter"]["Position"] = UDim2.new(0.5, -120, 0.5, -90)
G2L["LoginCenter"]["BackgroundColor3"] = C.bg
G2L["LoginCenter"]["BackgroundTransparency"] = 1
G2L["LoginCenter"]["BorderSizePixel"] = 0

G2L["LoginIcon"] = Instance.new("ImageLabel", G2L["LoginCenter"])
G2L["LoginIcon"]["Name"] = "LoginIcon"
G2L["LoginIcon"]["Size"] = UDim2.fromOffset(32, 32)
G2L["LoginIcon"]["Position"] = UDim2.new(0.5, -16, 0, 0)
G2L["LoginIcon"]["BackgroundTransparency"] = 1
G2L["LoginIcon"]["Image"] = I.logIn
G2L["LoginIcon"]["ImageColor3"] = C.text
G2L["LoginIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["LoginIcon"]["BorderSizePixel"] = 0

G2L["LoginTitle"] = Instance.new("TextLabel", G2L["LoginCenter"])
G2L["LoginTitle"]["Name"] = "Title"
G2L["LoginTitle"]["Size"] = UDim2.fromOffset(240, 28)
G2L["LoginTitle"]["Position"] = UDim2.fromOffset(0, 34)
G2L["LoginTitle"]["BackgroundTransparency"] = 1
G2L["LoginTitle"]["Text"] = "Login"
G2L["LoginTitle"]["TextColor3"] = C.text
G2L["LoginTitle"]["TextSize"] = 20
G2L["LoginTitle"]["Font"] = Enum.Font.GothamBold
G2L["LoginTitle"]["TextXAlignment"] = Enum.TextXAlignment.Center
G2L["LoginTitle"]["BorderSizePixel"] = 0

G2L["UsernameContainer"] = Instance.new("Frame", G2L["LoginCenter"])
G2L["UsernameContainer"]["Name"] = "UsernameFieldContainer"
G2L["UsernameContainer"]["Size"] = UDim2.new(1, 0, 0, 30)
G2L["UsernameContainer"]["Position"] = UDim2.fromOffset(0, 68)
G2L["UsernameContainer"]["BackgroundColor3"] = C.surface
G2L["UsernameContainer"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["UsernameContainer"]); u.CornerRadius = UDim.new(0, 4); end
do local s = Instance.new("UIStroke", G2L["UsernameContainer"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0; end

G2L["UsernameInput"] = Instance.new("TextBox", G2L["UsernameContainer"])
G2L["UsernameInput"]["Name"] = "Input"
G2L["UsernameInput"]["Size"] = UDim2.new(1, -10, 1, 0)
G2L["UsernameInput"]["Position"] = UDim2.fromOffset(10, 0)
G2L["UsernameInput"]["BackgroundTransparency"] = 1
G2L["UsernameInput"]["BorderSizePixel"] = 0
G2L["UsernameInput"]["PlaceholderText"] = "Email / Username"
G2L["UsernameInput"]["PlaceholderColor3"] = C.textDim
G2L["UsernameInput"]["TextColor3"] = C.text
G2L["UsernameInput"]["TextSize"] = 13
G2L["UsernameInput"]["Font"] = Enum.Font.Gotham
G2L["UsernameInput"]["TextXAlignment"] = Enum.TextXAlignment.Left
G2L["UsernameInput"]["ClearTextOnFocus"] = true

G2L["PasswordContainer"] = Instance.new("Frame", G2L["LoginCenter"])
G2L["PasswordContainer"]["Name"] = "PasswordFieldContainer"
G2L["PasswordContainer"]["Size"] = UDim2.new(1, 0, 0, 30)
G2L["PasswordContainer"]["Position"] = UDim2.fromOffset(0, 104)
G2L["PasswordContainer"]["BackgroundColor3"] = C.surface
G2L["PasswordContainer"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["PasswordContainer"]); u.CornerRadius = UDim.new(0, 4); end
do local s = Instance.new("UIStroke", G2L["PasswordContainer"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0; end

G2L["PasswordInput"] = Instance.new("TextBox", G2L["PasswordContainer"])
G2L["PasswordInput"]["Name"] = "Input"
G2L["PasswordInput"]["Size"] = UDim2.new(1, -10, 1, 0)
G2L["PasswordInput"]["Position"] = UDim2.fromOffset(10, 0)
G2L["PasswordInput"]["BackgroundTransparency"] = 1
G2L["PasswordInput"]["BorderSizePixel"] = 0
G2L["PasswordInput"]["PlaceholderText"] = "Password"
G2L["PasswordInput"]["PlaceholderColor3"] = C.textDim
G2L["PasswordInput"]["TextColor3"] = C.text
G2L["PasswordInput"]["TextSize"] = 13
G2L["PasswordInput"]["Font"] = Enum.Font.Gotham
G2L["PasswordInput"]["TextXAlignment"] = Enum.TextXAlignment.Left
G2L["PasswordInput"]["ClearTextOnFocus"] = true

G2L["ContinueBtn"] = Instance.new("Frame", G2L["LoginCenter"])
G2L["ContinueBtn"]["Name"] = "ContinueBtn"
G2L["ContinueBtn"]["Size"] = UDim2.new(1, 0, 0, 30)
G2L["ContinueBtn"]["Position"] = UDim2.fromOffset(0, 144)
G2L["ContinueBtn"]["BackgroundColor3"] = C.surface
G2L["ContinueBtn"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["ContinueBtn"]); u.CornerRadius = UDim.new(0, 4); end
do local s = Instance.new("UIStroke", G2L["ContinueBtn"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0.4; end

G2L["ContinueLabel"] = Instance.new("TextLabel", G2L["ContinueBtn"])
G2L["ContinueLabel"]["Name"] = "Label"
G2L["ContinueLabel"]["Size"] = UDim2.fromScale(1, 1)
G2L["ContinueLabel"]["BackgroundTransparency"] = 1
G2L["ContinueLabel"]["Text"] = "Continue"
G2L["ContinueLabel"]["TextColor3"] = C.textDim
G2L["ContinueLabel"]["TextSize"] = 13
G2L["ContinueLabel"]["BorderSizePixel"] = 0
G2L["ContinueLabel"]["TextXAlignment"] = Enum.TextXAlignment.Center

G2L["ScriptingPage"] = Instance.new("Frame", G2L["PageContainer"])
G2L["ScriptingPage"]["Name"] = "ScriptingPage"
G2L["ScriptingPage"]["Size"] = UDim2.fromScale(1, 1)
G2L["ScriptingPage"]["BackgroundColor3"] = C.bg
G2L["ScriptingPage"]["BackgroundTransparency"] = 1
G2L["ScriptingPage"]["Visible"] = false
G2L["ScriptingPage"]["BorderSizePixel"] = 0

G2L["Sidebar"] = Instance.new("Frame", G2L["ScriptingPage"])
G2L["Sidebar"]["Name"] = "Sidebar"
G2L["Sidebar"]["Size"] = UDim2.new(0, 160, 1, 0)
G2L["Sidebar"]["Position"] = UDim2.new(1, -160, 0, 0)
G2L["Sidebar"]["BackgroundColor3"] = C.bg
G2L["Sidebar"]["BorderSizePixel"] = 0
G2L["Sidebar"]["ClipsDescendants"] = true
do local s = Instance.new("UIStroke", G2L["Sidebar"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0; end

G2L["WsSection"] = Instance.new("Frame", G2L["Sidebar"])
G2L["WsSection"]["Name"] = "Workspace"
G2L["WsSection"]["Size"] = UDim2.new(1, 0, 0, 26)
G2L["WsSection"]["Position"] = UDim2.fromOffset(0, 4)
G2L["WsSection"]["BackgroundColor3"] = C.surface
G2L["WsSection"]["BorderSizePixel"] = 0

G2L["FolderIcon"] = Instance.new("ImageLabel", G2L["WsSection"])
G2L["FolderIcon"]["Name"] = "FolderIcon"
G2L["FolderIcon"]["Size"] = UDim2.fromOffset(14, 14)
G2L["FolderIcon"]["Position"] = UDim2.fromOffset(8, 6)
G2L["FolderIcon"]["BackgroundTransparency"] = 1
G2L["FolderIcon"]["Image"] = I.folder
G2L["FolderIcon"]["ImageColor3"] = C.textDim
G2L["FolderIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["FolderIcon"]["BorderSizePixel"] = 0

G2L["WsHeader"] = Instance.new("TextLabel", G2L["WsSection"])
G2L["WsHeader"]["Name"] = "Header"
G2L["WsHeader"]["Size"] = UDim2.new(1, -30, 1, 0)
G2L["WsHeader"]["Position"] = UDim2.fromOffset(26, 0)
G2L["WsHeader"]["BackgroundTransparency"] = 1
G2L["WsHeader"]["Text"] = "Workspace"
G2L["WsHeader"]["TextColor3"] = C.textDim
G2L["WsHeader"]["TextSize"] = 13
G2L["WsHeader"]["BorderSizePixel"] = 0

G2L["WsChevron"] = Instance.new("ImageLabel", G2L["WsSection"])
G2L["WsChevron"]["Name"] = "Chevron"
G2L["WsChevron"]["Size"] = UDim2.fromOffset(12, 12)
G2L["WsChevron"]["Position"] = UDim2.new(1, -22, 0, 7)
G2L["WsChevron"]["BackgroundTransparency"] = 1
G2L["WsChevron"]["Image"] = I.chevronDown
G2L["WsChevron"]["ImageColor3"] = C.textDim
G2L["WsChevron"]["ScaleType"] = Enum.ScaleType.Fit
G2L["WsChevron"]["BorderSizePixel"] = 0

G2L["InstFrame"] = Instance.new("Frame", G2L["Sidebar"])
G2L["InstFrame"]["Name"] = "InstanceSelector"
G2L["InstFrame"]["Size"] = UDim2.new(1, -8, 0, 30)
G2L["InstFrame"]["Position"] = UDim2.new(0, 4, 1, -34)
G2L["InstFrame"]["BackgroundColor3"] = C.surface
G2L["InstFrame"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["InstFrame"]); u.CornerRadius = UDim.new(0, 4); end
do local s = Instance.new("UIStroke", G2L["InstFrame"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0; end

G2L["InstIcon"] = Instance.new("ImageLabel", G2L["InstFrame"])
G2L["InstIcon"]["Name"] = "Icon"
G2L["InstIcon"]["Size"] = UDim2.fromOffset(14, 14)
G2L["InstIcon"]["Position"] = UDim2.fromOffset(6, 8)
G2L["InstIcon"]["BackgroundTransparency"] = 1
G2L["InstIcon"]["Image"] = I.user
G2L["InstIcon"]["ImageColor3"] = C.textDim
G2L["InstIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["InstIcon"]["BorderSizePixel"] = 0

G2L["InstLabel"] = Instance.new("TextLabel", G2L["InstFrame"])
G2L["InstLabel"]["Name"] = "Label"
G2L["InstLabel"]["Size"] = UDim2.new(1, -30, 1, 0)
G2L["InstLabel"]["Position"] = UDim2.fromOffset(22, 0)
G2L["InstLabel"]["BackgroundTransparency"] = 1
G2L["InstLabel"]["Text"] = "None"
G2L["InstLabel"]["TextColor3"] = C.textDim
G2L["InstLabel"]["TextSize"] = 13
G2L["InstLabel"]["BorderSizePixel"] = 0

G2L["InstChevron"] = Instance.new("ImageLabel", G2L["InstFrame"])
G2L["InstChevron"]["Name"] = "Chevron"
G2L["InstChevron"]["Size"] = UDim2.fromOffset(12, 12)
G2L["InstChevron"]["Position"] = UDim2.new(1, -18, 0, 9)
G2L["InstChevron"]["BackgroundTransparency"] = 1
G2L["InstChevron"]["Image"] = I.chevronDown
G2L["InstChevron"]["ImageColor3"] = C.textDim
G2L["InstChevron"]["ScaleType"] = Enum.ScaleType.Fit
G2L["InstChevron"]["BorderSizePixel"] = 0

G2L["Dropdown"] = Instance.new("Frame", G2L["Sidebar"])
G2L["Dropdown"]["Name"] = "Dropdown"
G2L["Dropdown"]["Size"] = UDim2.new(1, -8, 0, 64)
G2L["Dropdown"]["Position"] = UDim2.new(0, 4, 1, -68)
G2L["Dropdown"]["BackgroundColor3"] = C.surface
G2L["Dropdown"]["Visible"] = false
G2L["Dropdown"]["BorderSizePixel"] = 0
G2L["Dropdown"]["ZIndex"] = 10
do local u = Instance.new("UICorner", G2L["Dropdown"]); u.CornerRadius = UDim.new(0, 4); end
do local s = Instance.new("UIStroke", G2L["Dropdown"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0; end

G2L["NoneOption"] = Instance.new("Frame", G2L["Dropdown"])
G2L["NoneOption"]["Name"] = "NoneOption"
G2L["NoneOption"]["Size"] = UDim2.new(1, -4, 0, 26)
G2L["NoneOption"]["Position"] = UDim2.fromOffset(2, 2)
G2L["NoneOption"]["BackgroundColor3"] = C.surface
G2L["NoneOption"]["BorderSizePixel"] = 0
G2L["NoneOption"]["ZIndex"] = 10
do local u = Instance.new("UICorner", G2L["NoneOption"]); u.CornerRadius = UDim.new(0, 3); end

G2L["NoneLabel"] = Instance.new("TextLabel", G2L["NoneOption"])
G2L["NoneLabel"]["Name"] = "L"
G2L["NoneLabel"]["Size"] = UDim2.new(1, 0, 1, 0)
G2L["NoneLabel"]["BackgroundTransparency"] = 1
G2L["NoneLabel"]["Text"] = "  None"
G2L["NoneLabel"]["TextColor3"] = C.textDim
G2L["NoneLabel"]["TextSize"] = 13
G2L["NoneLabel"]["BorderSizePixel"] = 0
G2L["NoneLabel"]["ZIndex"] = 10

G2L["NoneCheck"] = Instance.new("ImageLabel", G2L["NoneOption"])
G2L["NoneCheck"]["Name"] = "Check"
G2L["NoneCheck"]["Size"] = UDim2.fromOffset(14, 14)
G2L["NoneCheck"]["Position"] = UDim2.new(1, -20, 0, 6)
G2L["NoneCheck"]["BackgroundTransparency"] = 1
G2L["NoneCheck"]["Image"] = I.check
G2L["NoneCheck"]["ImageColor3"] = C.text
G2L["NoneCheck"]["ScaleType"] = Enum.ScaleType.Fit
G2L["NoneCheck"]["Visible"] = true
G2L["NoneCheck"]["BorderSizePixel"] = 0
G2L["NoneCheck"]["ZIndex"] = 10

G2L["PlrOption"] = Instance.new("Frame", G2L["Dropdown"])
G2L["PlrOption"]["Name"] = "PlayerOption"
G2L["PlrOption"]["Size"] = UDim2.new(1, -4, 0, 26)
G2L["PlrOption"]["Position"] = UDim2.fromOffset(2, 30)
G2L["PlrOption"]["BackgroundColor3"] = C.surface
G2L["PlrOption"]["BorderSizePixel"] = 0
G2L["PlrOption"]["ZIndex"] = 10
do local u = Instance.new("UICorner", G2L["PlrOption"]); u.CornerRadius = UDim.new(0, 3); end

G2L["PlrIcon"] = Instance.new("ImageLabel", G2L["PlrOption"])
G2L["PlrIcon"]["Name"] = "Icon"
G2L["PlrIcon"]["Size"] = UDim2.fromOffset(14, 14)
G2L["PlrIcon"]["Position"] = UDim2.fromOffset(6, 6)
G2L["PlrIcon"]["BackgroundTransparency"] = 1
G2L["PlrIcon"]["Image"] = I.user
G2L["PlrIcon"]["ImageColor3"] = C.textDim
G2L["PlrIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["PlrIcon"]["BorderSizePixel"] = 0
G2L["PlrIcon"]["ZIndex"] = 10

G2L["PlrLabel"] = Instance.new("TextLabel", G2L["PlrOption"])
G2L["PlrLabel"]["Name"] = "L"
G2L["PlrLabel"]["Size"] = UDim2.new(1, -24, 1, 0)
G2L["PlrLabel"]["Position"] = UDim2.fromOffset(22, 0)
G2L["PlrLabel"]["BackgroundTransparency"] = 1
G2L["PlrLabel"]["Text"] = "  " .. plrName
G2L["PlrLabel"]["TextColor3"] = C.textDim
G2L["PlrLabel"]["TextSize"] = 13
G2L["PlrLabel"]["BorderSizePixel"] = 0
G2L["PlrLabel"]["ZIndex"] = 10

G2L["PlrCheck"] = Instance.new("ImageLabel", G2L["PlrOption"])
G2L["PlrCheck"]["Name"] = "Check"
G2L["PlrCheck"]["Size"] = UDim2.fromOffset(14, 14)
G2L["PlrCheck"]["Position"] = UDim2.new(1, -20, 0, 6)
G2L["PlrCheck"]["BackgroundTransparency"] = 1
G2L["PlrCheck"]["Image"] = I.check
G2L["PlrCheck"]["ImageColor3"] = C.text
G2L["PlrCheck"]["ScaleType"] = Enum.ScaleType.Fit
G2L["PlrCheck"]["Visible"] = false
G2L["PlrCheck"]["BorderSizePixel"] = 0
G2L["PlrCheck"]["ZIndex"] = 10

G2L["WsList"] = Instance.new("ScrollingFrame", G2L["Sidebar"])
G2L["WsList"]["Name"] = "WsList"
G2L["WsList"]["Size"] = UDim2.new(1, 0, 1, -68)
G2L["WsList"]["Position"] = UDim2.fromOffset(0, 30)
G2L["WsList"]["BackgroundTransparency"] = 1
G2L["WsList"]["BorderSizePixel"] = 0
G2L["WsList"]["ScrollBarThickness"] = 4
G2L["WsList"]["ScrollBarImageColor3"] = C.border
G2L["WsList"]["CanvasSize"] = UDim2.fromScale(0, 0)

G2L["EditorConsole"] = Instance.new("Frame", G2L["ScriptingPage"])
G2L["EditorConsole"]["Name"] = "EditorConsole"
G2L["EditorConsole"]["Size"] = UDim2.new(1, -161, 1, 0)
G2L["EditorConsole"]["BackgroundColor3"] = C.bg
G2L["EditorConsole"]["BackgroundTransparency"] = 1
G2L["EditorConsole"]["ClipsDescendants"] = true
G2L["EditorConsole"]["BorderSizePixel"] = 0

G2L["EditorArea"] = Instance.new("Frame", G2L["EditorConsole"])
G2L["EditorArea"]["Name"] = "EditorArea"
G2L["EditorArea"]["Size"] = UDim2.new(1, 0, 1, -110)
G2L["EditorArea"]["BackgroundColor3"] = C.bg
G2L["EditorArea"]["BackgroundTransparency"] = 1
G2L["EditorArea"]["ClipsDescendants"] = true
G2L["EditorArea"]["BorderSizePixel"] = 0

G2L["TabBar"] = Instance.new("Frame", G2L["EditorArea"])
G2L["TabBar"]["Name"] = "TabBar"
G2L["TabBar"]["Size"] = UDim2.new(1, 0, 0, 28)
G2L["TabBar"]["BackgroundColor3"] = C.bg
G2L["TabBar"]["BorderSizePixel"] = 0
do local s = Instance.new("UIStroke", G2L["TabBar"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0.5; end

G2L["TabContainer"] = Instance.new("Frame", G2L["TabBar"])
G2L["TabContainer"]["Name"] = "TabContainer"
G2L["TabContainer"]["Size"] = UDim2.new(1, -30, 1, 0)
G2L["TabContainer"]["Position"] = UDim2.fromOffset(2, 0)
G2L["TabContainer"]["BackgroundColor3"] = C.bg
G2L["TabContainer"]["BackgroundTransparency"] = 1
G2L["TabContainer"]["BorderSizePixel"] = 0

G2L["NewTabBtn"] = Instance.new("Frame", G2L["TabBar"])
G2L["NewTabBtn"]["Name"] = "NewTabBtn"
G2L["NewTabBtn"]["Size"] = UDim2.fromOffset(22, 22)
G2L["NewTabBtn"]["Position"] = UDim2.new(1, -26, 0, 3)
G2L["NewTabBtn"]["BackgroundColor3"] = Color3.new(1, 1, 1)
G2L["NewTabBtn"]["BackgroundTransparency"] = 1
G2L["NewTabBtn"]["BorderSizePixel"] = 0
do local u = Instance.new("UICorner", G2L["NewTabBtn"]); u.CornerRadius = UDim.new(0, 3); end

G2L["PlusIcon"] = Instance.new("ImageLabel", G2L["NewTabBtn"])
G2L["PlusIcon"]["Name"] = "L"
G2L["PlusIcon"]["Size"] = UDim2.fromOffset(14, 14)
G2L["PlusIcon"]["Position"] = UDim2.fromOffset(4, 4)
G2L["PlusIcon"]["BackgroundTransparency"] = 1
G2L["PlusIcon"]["Image"] = I.plus
G2L["PlusIcon"]["ImageColor3"] = C.textDim
G2L["PlusIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["PlusIcon"]["BorderSizePixel"] = 0

G2L["EditorBody"] = Instance.new("Frame", G2L["EditorArea"])
G2L["EditorBody"]["Name"] = "EditorBody"
G2L["EditorBody"]["Size"] = UDim2.new(1, 0, 1, -58)
G2L["EditorBody"]["Position"] = UDim2.fromOffset(0, 28)
G2L["EditorBody"]["BackgroundColor3"] = C.bg
G2L["EditorBody"]["BackgroundTransparency"] = 1
G2L["EditorBody"]["ClipsDescendants"] = true
G2L["EditorBody"]["BorderSizePixel"] = 0

G2L["EditorBg"] = Instance.new("Frame", G2L["EditorBody"])
G2L["EditorBg"]["Name"] = "EditorBg"
G2L["EditorBg"]["Size"] = UDim2.fromScale(1, 1)
G2L["EditorBg"]["BackgroundColor3"] = C.editorBg
G2L["EditorBg"]["BorderSizePixel"] = 0

G2L["Gutter"] = Instance.new("Frame", G2L["EditorBg"])
G2L["Gutter"]["Name"] = "Gutter"
G2L["Gutter"]["Size"] = UDim2.fromOffset(44, 1)
G2L["Gutter"]["BackgroundColor3"] = C.gutter
G2L["Gutter"]["BorderSizePixel"] = 0

G2L["CodeEditor"] = Instance.new("TextBox", G2L["EditorBg"])
G2L["CodeEditor"]["Name"] = "CodeEditor"
G2L["CodeEditor"]["Size"] = UDim2.new(1, -44, 1, 0)
G2L["CodeEditor"]["Position"] = UDim2.fromOffset(44, 0)
G2L["CodeEditor"]["BackgroundTransparency"] = 1
G2L["CodeEditor"]["BorderSizePixel"] = 0
G2L["CodeEditor"]["Text"] = ""
G2L["CodeEditor"]["PlaceholderText"] = "-- Welcome to AWP!"
G2L["CodeEditor"]["PlaceholderColor3"] = C.placeholder
G2L["CodeEditor"]["TextColor3"] = Color3.fromRGB(212, 212, 212)
G2L["CodeEditor"]["TextSize"] = 14
G2L["CodeEditor"]["Font"] = Enum.Font.Code
G2L["CodeEditor"]["TextXAlignment"] = Enum.TextXAlignment.Left
G2L["CodeEditor"]["TextYAlignment"] = Enum.TextYAlignment.Top
G2L["CodeEditor"]["ClearTextOnFocus"] = false
G2L["CodeEditor"]["MultiLine"] = true
G2L["CodeEditor"]["TextWrapped"] = true

G2L["LineNums"] = Instance.new("TextLabel", G2L["Gutter"])
G2L["LineNums"]["Name"] = "LineNums"
G2L["LineNums"]["Size"] = UDim2.new(1, -6, 0, 16)
G2L["LineNums"]["Position"] = UDim2.fromOffset(4, 4)
G2L["LineNums"]["BackgroundTransparency"] = 1
G2L["LineNums"]["Text"] = "1"
G2L["LineNums"]["TextColor3"] = C.lineNum
G2L["LineNums"]["TextSize"] = 13
G2L["LineNums"]["Font"] = Enum.Font.Code
G2L["LineNums"]["TextXAlignment"] = Enum.TextXAlignment.Right
G2L["LineNums"]["BorderSizePixel"] = 0

G2L["Controls"] = Instance.new("Frame", G2L["EditorArea"])
G2L["Controls"]["Name"] = "Controls"
G2L["Controls"]["Size"] = UDim2.new(1, 0, 0, 30)
G2L["Controls"]["Position"] = UDim2.new(0, 0, 1, -30)
G2L["Controls"]["BackgroundColor3"] = C.bg
G2L["Controls"]["BorderSizePixel"] = 0

G2L["ConsolePanel"] = Instance.new("Frame", G2L["EditorConsole"])
G2L["ConsolePanel"]["Name"] = "ConsolePanel"
G2L["ConsolePanel"]["Size"] = UDim2.new(1, 0, 0, 110)
G2L["ConsolePanel"]["Position"] = UDim2.new(0, 0, 1, -110)
G2L["ConsolePanel"]["BackgroundColor3"] = C.bg
G2L["ConsolePanel"]["BackgroundTransparency"] = 1
G2L["ConsolePanel"]["BorderSizePixel"] = 0

G2L["ConsoleTitle"] = Instance.new("Frame", G2L["ConsolePanel"])
G2L["ConsoleTitle"]["Name"] = "ConsoleTitle"
G2L["ConsoleTitle"]["Size"] = UDim2.new(1, 0, 0, 30)
G2L["ConsoleTitle"]["BackgroundColor3"] = C.surface
G2L["ConsoleTitle"]["BorderSizePixel"] = 0

G2L["TerminalIcon"] = Instance.new("ImageLabel", G2L["ConsoleTitle"])
G2L["TerminalIcon"]["Name"] = "TerminalIcon"
G2L["TerminalIcon"]["Size"] = UDim2.fromOffset(14, 14)
G2L["TerminalIcon"]["Position"] = UDim2.fromOffset(8, 8)
G2L["TerminalIcon"]["BackgroundTransparency"] = 1
G2L["TerminalIcon"]["Image"] = I.terminal
G2L["TerminalIcon"]["ImageColor3"] = C.text
G2L["TerminalIcon"]["ScaleType"] = Enum.ScaleType.Fit
G2L["TerminalIcon"]["BorderSizePixel"] = 0

G2L["ConsoleTitleLabel"] = Instance.new("TextLabel", G2L["ConsoleTitle"])
G2L["ConsoleTitleLabel"]["Name"] = "Title"
G2L["ConsoleTitleLabel"]["Size"] = UDim2.fromOffset(80, 30)
G2L["ConsoleTitleLabel"]["Position"] = UDim2.fromOffset(26, 0)
G2L["ConsoleTitleLabel"]["BackgroundTransparency"] = 1
G2L["ConsoleTitleLabel"]["Text"] = "OUTPUT"
G2L["ConsoleTitleLabel"]["TextColor3"] = C.text
G2L["ConsoleTitleLabel"]["TextSize"] = 11
G2L["ConsoleTitleLabel"]["BorderSizePixel"] = 0

G2L["Chevron"] = Instance.new("ImageLabel", G2L["ConsoleTitle"])
G2L["Chevron"]["Name"] = "Chevron"
G2L["Chevron"]["Size"] = UDim2.fromOffset(16, 16)
G2L["Chevron"]["Position"] = UDim2.new(1, -24, 0, 7)
G2L["Chevron"]["BackgroundTransparency"] = 1
G2L["Chevron"]["Image"] = I.chevronDown
G2L["Chevron"]["ImageColor3"] = C.textDim
G2L["Chevron"]["ScaleType"] = Enum.ScaleType.Fit
G2L["Chevron"]["BorderSizePixel"] = 0

G2L["ConsoleOutput"] = Instance.new("Frame", G2L["ConsolePanel"])
G2L["ConsoleOutput"]["Name"] = "ConsoleOutput"
G2L["ConsoleOutput"]["Size"] = UDim2.new(1, 0, 1, -30)
G2L["ConsoleOutput"]["Position"] = UDim2.fromOffset(0, 30)
G2L["ConsoleOutput"]["BackgroundColor3"] = C.console
G2L["ConsoleOutput"]["BorderSizePixel"] = 0

G2L["OutputText"] = Instance.new("TextLabel", G2L["ConsoleOutput"])
G2L["OutputText"]["Name"] = "OutputText"
G2L["OutputText"]["Size"] = UDim2.new(1, -8, 1, -4)
G2L["OutputText"]["Position"] = UDim2.fromOffset(6, 4)
G2L["OutputText"]["BackgroundTransparency"] = 1
G2L["OutputText"]["Text"] = "> AWP ready"
G2L["OutputText"]["TextColor3"] = C.textDim
G2L["OutputText"]["TextSize"] = 12
G2L["OutputText"]["Font"] = Enum.Font.Code
G2L["OutputText"]["TextXAlignment"] = Enum.TextXAlignment.Left
G2L["OutputText"]["TextYAlignment"] = Enum.TextYAlignment.Top
G2L["OutputText"]["TextWrapped"] = true
G2L["OutputText"]["BorderSizePixel"] = 0

G2L["SettingsPage"] = Instance.new("Frame", G2L["PageContainer"])
G2L["SettingsPage"]["Name"] = "SettingsPage"
G2L["SettingsPage"]["Size"] = UDim2.fromScale(1, 1)
G2L["SettingsPage"]["BackgroundColor3"] = C.bg
G2L["SettingsPage"]["BackgroundTransparency"] = 1
G2L["SettingsPage"]["Visible"] = false
G2L["SettingsPage"]["BorderSizePixel"] = 0

G2L["SettingsTabs"] = Instance.new("Frame", G2L["SettingsPage"])
G2L["SettingsTabs"]["Name"] = "SettingsTabs"
G2L["SettingsTabs"]["Size"] = UDim2.new(0, 44, 1, 0)
G2L["SettingsTabs"]["BackgroundColor3"] = C.bg
G2L["SettingsTabs"]["ClipsDescendants"] = true
G2L["SettingsTabs"]["BorderSizePixel"] = 0
do local s = Instance.new("UIStroke", G2L["SettingsTabs"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0; end

G2L["SettingsContent"] = Instance.new("Frame", G2L["SettingsPage"])
G2L["SettingsContent"]["Name"] = "SettingsContent"
G2L["SettingsContent"]["Size"] = UDim2.new(1, -45, 1, 0)
G2L["SettingsContent"]["Position"] = UDim2.fromOffset(45, 0)
G2L["SettingsContent"]["BackgroundColor3"] = C.bg
G2L["SettingsContent"]["BorderSizePixel"] = 0
do local s = Instance.new("UIStroke", G2L["SettingsContent"]); s.Color = C.border; s.Thickness = 1; s.Transparency = 0; end

G2L["SettingsPlaceholder"] = Instance.new("TextLabel", G2L["SettingsContent"])
G2L["SettingsPlaceholder"]["Name"] = "Placeholder"
G2L["SettingsPlaceholder"]["Size"] = UDim2.fromOffset(100, 30)
G2L["SettingsPlaceholder"]["Position"] = UDim2.fromOffset(12, 12)
G2L["SettingsPlaceholder"]["BackgroundTransparency"] = 1
G2L["SettingsPlaceholder"]["Text"] = "Settings"
G2L["SettingsPlaceholder"]["TextColor3"] = C.textDim
G2L["SettingsPlaceholder"]["TextSize"] = 14
G2L["SettingsPlaceholder"]["BorderSizePixel"] = 0
local screenGui = G2L["ScreenGui"]
local main = G2L["Main"]
local titleBar = G2L["TitleBar"]
local scriptingBtn = G2L["ScriptingBtn"]
local logoutBtn = G2L["LogoutBtn"]
local closeBtn = G2L["CloseBtn"]
local maxBtn = G2L["MaxBtn"]
local pageContainer = G2L["PageContainer"]
local center = G2L["LoginCenter"]
local loginBtn = G2L["ContinueBtn"]
local loginText = G2L["ContinueLabel"]
local page_scripting = G2L["ScriptingPage"]
local sidebar = G2L["Sidebar"]
local wsSection = G2L["WsSection"]
local wsChevron = G2L["WsChevron"]
local instFrame = G2L["InstFrame"]
local instLabel = G2L["InstLabel"]
local instChevron = G2L["InstChevron"]
local dropdownFrame = G2L["Dropdown"]
local noneBtn = G2L["NoneOption"]
local noneCheck = G2L["NoneCheck"]
local plrBtn = G2L["PlrOption"]
local plrCheck = G2L["PlrCheck"]
local editorConsole = G2L["EditorConsole"]
local editorArea = G2L["EditorArea"]
local tabBar = G2L["TabBar"]
local tabContainer = G2L["TabContainer"]
local newTabBtn = G2L["NewTabBtn"]
local editorBody = G2L["EditorBody"]
local editorBg = G2L["EditorBg"]
local gutter = G2L["Gutter"]
local codeBox = G2L["CodeEditor"]
local lineNumLabel = G2L["LineNums"]
local controls = G2L["Controls"]
local consolePanel = G2L["ConsolePanel"]
local consoleTitle = G2L["ConsoleTitle"]
local chevron = G2L["Chevron"]
local consoleOutput = G2L["ConsoleOutput"]
local outputText = G2L["OutputText"]
local wsList = G2L["WsList"]
local page_settings = G2L["SettingsPage"]
local stabs = G2L["SettingsTabs"]
local scontent = G2L["SettingsContent"]

local usernameBox = G2L["UsernameContainer"]:FindFirstChild("Input")
local passwordBox = G2L["PasswordContainer"]:FindFirstChild("Input")

for _, c in ipairs(G2L["Dropdown"]:GetDescendants()) do if c:IsA("GuiObject") then c.ZIndex = 10 end end
G2L["Gutter"].Size = UDim2.new(0, 44, 1, 0)

local function notify(msg)
	notifZ = notifZ + 1
	for _, c in ipairs(main:GetChildren()) do
		if c:IsA("Frame") and c.Name == "Notif" then
			local oldL = c:FindFirstChild("Label")
			task.spawn(function()
				for i = 1, 4 do
					c.BackgroundTransparency = c.BackgroundTransparency + 0.12
					if oldL then oldL.TextTransparency = oldL.TextTransparency + 0.12 end
					task.wait(0.03)
				end
			end)
		end
	end
	local notif = Instance.new("Frame")
	notif.Name = "Notif"
	notif.Size = UDim2.fromOffset(263, 64)
	notif.Position = UDim2.new(1, -271, 1, -72)
	notif.BackgroundColor3 = Color3.fromRGB(44, 44, 44)
	notif.BackgroundTransparency = 0
	notif.BorderSizePixel = 0
	notif.ZIndex = notifZ
	local l = Instance.new("TextLabel")
	l.Name = "Label"
	l.Size = UDim2.fromOffset(161, 27)
	l.Position = UDim2.new(0.05, 0, 0.14, 0)
	l.BackgroundTransparency = 1
	l.BorderSizePixel = 0
	l.Text = msg
	l.TextColor3 = Color3.new(1, 1, 1)
	l.TextSize = 14
	l.Font = Enum.Font.SourceSansSemibold
	l.TextXAlignment = Enum.TextXAlignment.Left
	l.ZIndex = notifZ
	l.Parent = notif
	notif.Parent = main
	task.delay(2.2, function()
		for i = 0, 10 do
			notif.BackgroundTransparency = i * 0.1
			l.TextTransparency = i * 0.1
			task.wait(0.05)
		end
		notif:Destroy()
	end)
end

local function navigateTo(n)
	if pages[n] then
		currentPage = n
		for name, p in pairs(pages) do p.Visible = (name == n) end
		if scriptingBtn then scriptingBtn.Visible = (n ~= "login") end
		if logoutBtn then logoutBtn.Visible = (n ~= "login") end
	end
end

scriptingBtn.InputBegan:Connect(function(i)
	if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
	navigateTo("scripting")
end)
logoutBtn.InputBegan:Connect(function(i)
	if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
	navigateTo("login")
	notify("Logged out")
end)

local winBtns = {}
do
	local function hover(b, e) b.MouseEnter:Connect(function() b.BackgroundTransparency = 0; b.BackgroundColor3 = e and Color3.fromRGB(200, 50, 50) or C.hover end) end
	local function leave(b) b.MouseLeave:Connect(function() b.BackgroundTransparency = 1 end) end
	hover(maxBtn); hover(closeBtn, true)
	leave(maxBtn); leave(closeBtn)

	closeBtn.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then screenGui:Destroy() end end)
	local maximized = false
	maxBtn.InputBegan:Connect(function(i)
		if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
		maximized = not maximized
		if maximized then
			main.Size = UDim2.fromScale(1, 1)
			main.Position = UDim2.fromOffset(0, 0)
		else
			main.Size = UDim2.fromOffset(WIN_W, WIN_H)
			main.Position = UDim2.new(0.5, -WIN_W/2, 0.5, -WIN_H/2)
		end
	end)
	winBtns = {maxBtn, closeBtn}
end

local dragging, dragOff = false
titleBar.InputBegan:Connect(function(i)
	if i.UserInputType == Enum.UserInputType.MouseButton1 then
		dragging = true
		dragOff = UIS:GetMouseLocation() - Vector2.new(main.AbsolutePosition.X, main.AbsolutePosition.Y)
	end
end)
titleBar.InputEnded:Connect(function(i)
	if i.UserInputType == Enum.UserInputType.MouseButton1 then dragging = false end
end)
UIS.InputChanged:Connect(function(i)
	if dragging and i.UserInputType == Enum.UserInputType.MouseMovement then
		local m = UIS:GetMouseLocation() - dragOff
		main.Position = UDim2.fromOffset(m.X, m.Y)
	end
end)

do
	local page = G2L["LoginPage"]

	loginBtn.MouseEnter:Connect(function() loginBtn.BackgroundColor3 = C.hover; loginText.TextColor3 = C.text end)
	loginBtn.MouseLeave:Connect(function() loginBtn.BackgroundColor3 = C.surface; loginText.TextColor3 = C.textDim end)
	loginBtn.InputBegan:Connect(function(i)
		if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end

		local u = usernameBox.Text:match("%S")
		local p = passwordBox.Text:match("%S")
		if u and p then
			navigateTo("scripting")
			notify("Logged in as " .. u)
		end
	end)

	pages.login = page
end

do
	local page = G2L["ScriptingPage"]

	local wsCollapsed = false
	wsSection.InputBegan:Connect(function(i)
		if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
		wsCollapsed = not wsCollapsed
		wsChevron.Image = wsCollapsed and I.chevronUp or I.chevronDown
		local l = sidebar:FindFirstChild("WsList")
		if l then l.Visible = not wsCollapsed end
	end)

	local dropdownOpen = false
	local function updateDropdown()
		dropdownFrame.Visible = dropdownOpen
		instChevron.Image = dropdownOpen and I.chevronUp or I.chevronDown
	end
	local function selectInstance(v)
		selectedInstance = v
		if v == plrName then
			instLabel.Text = "  " .. v
			instLabel.TextColor3 = C.text
			noneBtn.BackgroundColor3 = C.surface; plrBtn.BackgroundColor3 = C.active; noneCheck.Visible = false; plrCheck.Visible = true
		else
			selectedInstance = nil
			instLabel.Text = "None"
			instLabel.TextColor3 = C.textDim
			noneBtn.BackgroundColor3 = C.active; plrBtn.BackgroundColor3 = C.surface; noneCheck.Visible = true; plrCheck.Visible = false
		end
	end

	instFrame.InputBegan:Connect(function(i)
		if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
		dropdownOpen = not dropdownOpen
		updateDropdown()
	end)
	local function closeDropdown()
		dropdownOpen = false
		dropdownFrame.Visible = false
		instChevron.Image = I.chevronDown
	end
	noneBtn.InputBegan:Connect(function(i)
		if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
		selectInstance(nil)
		closeDropdown()
	end)
	plrBtn.InputBegan:Connect(function(i)
		if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
		selectInstance(plrName)
		closeDropdown()
		notify("Switched to " .. plrName)
	end)

	local tabs = {}
	local activeTab = nil
	local activeTabPath = nil
	local untitledCounter = 0

	local switchTab, closeTab, openTab, newTab

	local function updateTabs()
		for _, c in ipairs(tabContainer:GetChildren()) do c:Destroy() end
		local x = 0
		for i, tab in ipairs(tabs) do
			local isActive = (i == activeTab)
			local tw = #tab.name * 7 + 40
			local t = F({parent = tabContainer, n = "Tab", s = UDim2.fromOffset(tw, 24), p = UDim2.fromOffset(x, 2), bg = isActive and C.surface or C.bg})
			local tabL = L({parent = t, n = "L", t = "  " .. tab.name, c = isActive and C.textBright or C.textDim, sz = 11, s = UDim2.new(1, -18, 1, 0), p = UDim2.fromOffset(4, 0)})
			tabL.Active = false; tabL.Selectable = false
			local cx = F({parent = t, n = "Close", s = UDim2.fromOffset(16, 16), p = UDim2.new(1, -18, 0, 4), bg = Color3.new(1,1,1), bgt = 1, r = 3})
			cx.Visible = false
			Icon({parent = cx, n = "X", icon = I.x, c = C.textDim, s = UDim2.fromOffset(12, 12), p = UDim2.fromOffset(2, 2)})
			t.MouseEnter:Connect(function() cx.Visible = true end)
			t.MouseLeave:Connect(function() cx.Visible = false end)
			local ci = i
			t.InputBegan:Connect(function(inp)
				if inp.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
				switchTab(ci)
			end)
			cx.InputBegan:Connect(function(inp)
				if inp.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
				closeTab(ci)
			end)
			x = x + tw + 4
		end
	end

	newTabBtn.MouseEnter:Connect(function() newTabBtn.BackgroundTransparency = 0; newTabBtn.BackgroundColor3 = C.hover end)
	newTabBtn.MouseLeave:Connect(function() newTabBtn.BackgroundTransparency = 1 end)
	newTabBtn.InputBegan:Connect(function(inp)
		if inp.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
		newTab()
	end)

	local function codeBoxChanged()
		local lines = #codeBox.Text:split("\n")
		local str = ""
		for i = 1, lines do str = str .. i .. "\n" end
		lineNumLabel.Text = str
		lineNumLabel.Size = UDim2.new(1, -6, 0, 16 * lines)
	end
	codeBox:GetPropertyChangedSignal("Text"):Connect(codeBoxChanged)

	function switchTab(idx)
		if activeTab and tabs[activeTab] then
			tabs[activeTab].content = codeBox.Text
		end
		activeTab = idx
		activeTabPath = tabs[idx].path
		codeBox.Text = tabs[idx].content or ""
		codeBoxChanged()
		updateTabs()
	end

	function closeTab(idx)
		if #tabs <= 1 then
			tabs = {}
			activeTab = nil
			activeTabPath = nil
			codeBox.Text = ""
			codeBoxChanged()
			updateTabs()
			return
		end
		table.remove(tabs, idx)
		if idx <= activeTab then activeTab = math.max(1, activeTab - 1) end
		activeTab = math.min(activeTab, #tabs)
		switchTab(activeTab)
	end

	function openTab(name)
		if activeTab and tabs[activeTab] then tabs[activeTab].content = codeBox.Text end
		for i, tab in ipairs(tabs) do
			if tab.name == name then switchTab(i); return end
		end
		local content = readfile and readfile("awp.gg/" .. name) or ""
		table.insert(tabs, {name = name, content = content, path = "awp.gg/" .. name})
		activeTab = #tabs
		activeTabPath = "awp.gg/" .. name
		codeBox.Text = content
		codeBoxChanged()
		updateTabs()
	end

	function newTab()
		if activeTab and tabs[activeTab] then tabs[activeTab].content = codeBox.Text end
		untitledCounter = untitledCounter + 1
		local name = "Untitled-" .. untitledCounter
		table.insert(tabs, {name = name, content = "", path = nil})
		activeTab = #tabs
		activeTabPath = nil
		codeBox.Text = ""
		codeBoxChanged()
		updateTabs()
	end

	newTab()

	local saveToWorkspace

	local function executeScript(t)
		if t == "" then
			outputText.Text = outputText.Text .. "\n> No script to execute."
			return
		end
		outputText.Text = outputText.Text .. "\n> Executing" .. (selectedInstance and (" on " .. selectedInstance) or "") .. ":"
		outputText.Text = outputText.Text .. "\n> " .. t
		notify("Executed" .. (selectedInstance and (" on " .. selectedInstance) or ""))
		local ok, err = pcall(function()
			local fn = loadstring or load
			if not fn then error("loadstring not available") end
			local f = fn(t)
			f()
		end)
		if not ok then
			outputText.Text = outputText.Text .. "\n> Error: " .. tostring(err)
		else
			outputText.Text = outputText.Text .. "\n> Script finished."
		end
		saveToWorkspace()
	end

	local function makeCtrlBtn(name, icon, label, x)
		local btn = F({parent = controls, n = name, s = UDim2.fromOffset(0, 22), p = UDim2.fromOffset(x, 4), bg = C.surface, r = UDim.new(0.1, 0), stroke = true, strokeTrans = 0.5})
		local tw = string.len(label) * 7 + 36
		btn.Size = UDim2.fromOffset(tw, 22)
		Icon({parent = btn, n = "Icon", icon = icon, c = C.textDim, s = UDim2.fromOffset(13, 13), p = UDim2.fromOffset(6, 4)})
		L({parent = btn, n = "Label", t = label, c = C.textDim, sz = 12, s = UDim2.new(1, -22, 1, 0), p = UDim2.fromOffset(22, 0)})
		btn.MouseEnter:Connect(function() btn.BackgroundColor3 = C.hover end)
		btn.MouseLeave:Connect(function() btn.BackgroundColor3 = C.surface end)
		btn.InputBegan:Connect(function(i)
			if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
			if name == "ExecuteBtn" then
				executeScript(codeBox.Text)
			elseif name == "ClearBtn" then
				codeBox.Text = ""
				outputText.Text = ""
			elseif name == "SaveBtn" then
				saveToWorkspace()
			end
		end)
		return btn
	end

	local xOff = 6
	local exeBtn = makeCtrlBtn("ExecuteBtn", I.play, "Execute", xOff)
	xOff = xOff + exeBtn.Size.X.Offset + 10
	local clearBtn = makeCtrlBtn("ClearBtn", I.trash2, "Clear", xOff)
	xOff = xOff + clearBtn.Size.X.Offset + 10
	makeCtrlBtn("SaveBtn", I.save, "Save", xOff)

	local wsRows = {}

	local function refreshWorkspace()
		for _, r in ipairs(wsRows) do r:Destroy() end
		table.clear(wsRows)
		local names = {}
		if listfiles and isfolder and isfolder("awp.gg") then
			for _, f in ipairs(listfiles("awp.gg")) do
				local short = f:match("([^\\/]+)$")
				if short and short:lower():match("%.lua$") then table.insert(names, short) end
			end
		end
		table.sort(names)
		local y = 0
		for _, name in ipairs(names) do
			local row = F({parent = wsList, n = "WsRow", s = UDim2.new(1, -4, 0, 22), p = UDim2.fromOffset(2, y), bg = C.surface, r = 3})
			L({parent = row, n = "L", t = "  " .. name, c = C.text, sz = 12, s = UDim2.new(1, -4, 1, 0), p = UDim2.fromOffset(4, 0)})
			local fname = name
			row.InputBegan:Connect(function(i)
				if i.UserInputType == Enum.UserInputType.MouseButton1 then
					openTab(fname)
					executeScript(codeBox.Text)
				end
			end)
			table.insert(wsRows, row)
			y = y + 24
		end
		wsList.CanvasSize = UDim2.fromOffset(0, y)
	end

	local wsCounter = 0
	function saveToWorkspace()
		local t = codeBox.Text
		if t == "" then return end
		if not writefile then return end
		if not isfolder("awp.gg") and makefolder then makefolder("awp.gg") end
		if activeTabPath then
			writefile(activeTabPath, t)
			if tabs[activeTab] then tabs[activeTab].content = t end
			refreshWorkspace()
			local n = tabs[activeTab] and tabs[activeTab].name or "file"
			notify("Saved " .. n)
			return
		end
		wsCounter = wsCounter + 1
		local name = "Script " .. wsCounter .. ".lua"
		writefile("awp.gg/" .. name, t)
		openTab(name)
		refreshWorkspace()
		notify("Saved " .. name)
	end
	refreshWorkspace()

	local consoleCollapsed = false
	chevron.MouseEnter:Connect(function() chevron.ImageColor3 = C.text end)
	chevron.MouseLeave:Connect(function() chevron.ImageColor3 = C.textDim end)
	chevron.InputBegan:Connect(function(i)
		if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
		consoleCollapsed = not consoleCollapsed
		local th = consoleCollapsed and 30 or 110
		consolePanel:TweenSizeAndPosition(UDim2.new(1, 0, 0, th), UDim2.new(0, 0, 1, -th), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, 0.3, true)
		editorArea:TweenSize(UDim2.new(1, 0, 1, -th), Enum.EasingDirection.Out, Enum.EasingStyle.Quart, 0.3, true)
		chevron.Image = consoleCollapsed and I.chevronUp or I.chevronDown
	end)

	pages.scripting = page
end

do
	local page = G2L["SettingsPage"]
	local tabDefs = {{"General", I.settings}, {"Editor", I.code}, {"Console", I.monitor}}
	for i, def in ipairs(tabDefs) do
		local tab = F({parent = stabs, n = def[1], s = UDim2.fromOffset(34, 34), p = UDim2.fromOffset(5, 6 + (i-1) * 40), bg = C.surface, r = 4, stroke = true, strokeTrans = 0.5})
		Icon({parent = tab, n = "Icon", icon = def[2], c = C.textDim, s = UDim2.fromOffset(16, 16), p = UDim2.new(0.5, -8, 0.5, -8)})
		tab.MouseEnter:Connect(function() tab.BackgroundColor3 = C.hover end)
		tab.MouseLeave:Connect(function() tab.BackgroundColor3 = C.surface end)
		tab.InputBegan:Connect(function(i)
			if i.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
			outputText.Text = outputText.Text .. "\n> Settings: " .. def[1]
		end)
	end
	pages.settings = page
end
navigateTo("login")
UIS.InputBegan:Connect(function(i, g)
	if g then return end
	if i.KeyCode == Enum.KeyCode.RightControl then
		main.Visible = not main.Visible
	end
end)
screenGui.Parent = game:GetService("CoreGui")
game:GetService("CoreGui").ChildRemoved:Connect(function(c)
	if c == screenGui then screenGui = nil end
end)

Deskripsi

AWP.GG REMAKE IN ROBLOX STUDIO THEN SOME ADDED TEMU FUNCITON UWU

Komentar (0)

Masuk untuk ikut berdiskusi

  • Jadilah yang pertama berkomentar.

Pertanyaan yang sering diajukan

Bagaimana cara menggunakan script AWP.GG LUA EXEC?
Salin kode script di atas, buka executor Roblox Anda, tempel kodenya, lalu tekan execute saat Anda berada di dalam game. Fitur akan aktif seketika setelah script berjalan.
Apakah script AWP.GG LUA EXEC gratis?
Ya. Script ini gratis untuk disalin dan digunakan. Jika menggunakan sistem kunci, ikuti tautan "Dapatkan kunci" untuk membukanya tanpa biaya.
Apakah script AWP.GG LUA EXEC aman digunakan?
Kode sumber lengkap ditampilkan di halaman ini sehingga Anda bisa membaca persis apa yang dilakukannya sebelum menjalankannya. Selalu gunakan executor tepercaya, dan ingat bahwa menggunakan script melanggar ketentuan layanan Roblox, jadi gunakan dengan risiko Anda sendiri.
Executor mana yang kompatibel dengan AWP.GG LUA EXEC?
Script ini bekerja dengan sebagian besar executor Roblox populer. Lihat halaman executor kami untuk menemukan executor gratis atau berbayar yang tepercaya untuk perangkat Anda.
AWP.GG LUA EXEC | BloxScripter