Ggzera Menu
Ggzera Menu
] Observações:
-- [*] As especificações de determinadas variaveis e funçõ3s estarão em frente a
primeira linha;
-- [*] Caso deseje adicionar uma opção em que exige estar dentro do while (funçõ3s
ifs) busque por "IFS";
-- [*] Para encontrar a área em que as funçõ3s do menu são inseridas busque por
"Funções";
-- Se de alguma forma você conseguiu ter acesso a este arquivo em lua, chame o
kauxzn. no discord antes de qualquer coisa.
-- If you get this menu lua, call the kauxzn. in discord before anything.
-- Kauxzn Menu
local menuativado = false -- Determine aqui se quer injetar com menu ativado ou não
(false/true)
local menutab = "Self" -- Determine qual tab será definida por padrão ao abrir o
menu
-- Cores
local menucolorr = 255 -- Estas variaveis armazenam a cor principal do menu
local menucolorg = 255
local menucolorb = 255
-- Keys
local keystart = {["Label"] = "MOUSE3",["Value"] = 348} -- Está é a key que deve
ser pressionada para exibir o menu
-- KauXzn Tables
local kauXznTable = {
Strings = {
len = string.len, sgmatch = string.gmatch,
lower = string.lower, upper = string.upper,
find = string.find, sub = string.sub,
gsub = string.gsub, tostring = tostring,
format = string.format, tremove = table.remove,
tinsert = table.insert, tunpack = table.unpack,
tsort = table.sort,
msgunpack = msgpack.unpack, msgpack = msgpack.pack,
jsonencode = json.encode, jsondecode = json.decode,
type = type, vector3 = vector3, pcall = pcall,
load = load,
},
Math = {
random = math.random,
randomseed = math.randomseed, sin = math.sin,
cos = math.cos, sqrt = math.sqrt,
pi = math.pi, rad = math.rad,
abs = math.abs, floor = math.floor,
deg = math.deg, atan2 = math.atan2,
tonumber = tonumber, pairs = pairs,
ipairs = ipairs, yield = coroutine.yield,
rotateToQuat = function(rotate) local pitch, roll, yaw =
math.rad(rotate.x), math.rad(rotate.y), math.rad(rotate.z); local cy, sy, cr, sr,
cp, sp = math.cos(yaw * 0.5), math.sin(yaw * 0.5), math.cos(roll * 0.5),
math.sin(roll * 0.5), math.cos(pitch * 0.5), math.sin(pitch * 0.5); return quat(cy
* cr * cp + sy * sr * sp, cy * sp * cr - sy * cp * sr, cy * cp * sr + sy * sp * cr,
sy * cr * cp - cy * sr * sp) end,
getPercent = function(f, s)
return (f/s) * 100
end,
firstPercentOfSecond = function(f, s)
local onepercent = s / 100
local percent = onepercent * f
return percent
end,
}
}
-- Definições
local apenasvisivel = false
local Sliders = {
["noclipSpeed"] = {max = 20, min = 1, value = 1},
["SliderVidaSetavel"] = {max = 400, min = 1, value = 200},
["SliderEspDistance"] = {max = 1000, min = 1, value = 500},
["FovCircle"] = {max = 0.50, min = 0.05, value = 0.05},
["Municao"] = { max = 250, min = 1, value = 65}
}
local kauxzn_aimbot = {
vars = {
aimlock = 31086,
fov = 0.10,
keyaim = 21,
}
}
local menus2 = {
MenuuunuX = 0.5,
MenuuunuY = 0.5,
MenuuunuX2 = 0.5,
MenuuunuY2 = 0.5,
MenuuunuW = 0.5,
MenuuunuH = 0.5,
}
local stasd = {
['Scroll'] = {static = 0.0, static2 = 0.0, static3 = 0.0},
}
-- Animações Variaveis
local opacity = 0 -- Trata-se da variavel que armazena a opacidade do menu e
mais, utilizada na animação de fade-in
local opacitycontents = 0 -- Variavel que armazena a opacidade dos contents
(Botões, tooglebox, sliders e etc), utilizada em animações
-- TESTER
local testerslogin = {"farinha", "farinha", "farinha"}
local testeracesso = false
Citizen.CreateThread(function()
--------VRP-----------
Proxy = {}
local proxy_rdata = {}
function Proxy.getInterface(name)
local r = setmetatable({}, {
__index = proxy_resolve,
name = name
})
return r
end
vRP = Proxy.getInterface('vRP')
-- Interface Variaveis
local uitexture = HasStreamedTextureDictLoaded("Interface") -- Está variavel é
utilizada para realizar uma verificação se o menu já foi renderizado, e caso haja
sido é desnecessário renderizar as texturas novamente
local xmouse, ymouse = GetNuiCursorPosition() -- Está variavel armazena a
posição do mouse, utilizada no cursor.
-- Textos
function mouse(x, y, w, h)
local X, Y = GetCursorPosition()
local a, b = w / 2, h / 2
if (X >= x - a and X <= x + a and Y >= y - b and Y <= y + b) then
return true
end
end
ButtonList = function(text, x, y)
x = x-0.007 y = y +0.001
SetTextOutline()
DrawText(text, x+0.002, y+0.0005, 0.33, 4, true, false)
local width = GetTextWidthSize(text, 4, 0.32)
if CursorZone(x+width/2, y+0.004, width-0.004, 0.005*1.8) and
IsDisabledControlJustPressed(0, 24) then
return true
end
end
LoaderDragging = false
end
if LoaderDragging then
Drag.LoaderX = CursorPositionX + xxx
Drag.LoaderY = CursorPositionY + yyy
end
end
local xx2 = xx
if id == tab then
end
if( (x / x_res) + 0.010 >= xx and (x / x_res) - 0.010 <= xx and (y / y_res) +
0.020 >= yy and (y / y_res) - 0.01 <= yy) and IsDisabledControlJustReleased(0, 92)
then
return true
end
return false
end
if dum == 2 then
SetTextOutline()
end
-- Funções
return result
end
function EnumerarPeds()
return EnumerarEntidades(FindFirstPed, FindNextPed, EndFindPed)
end
return length
end
if bool then
DrawTextColor("•",xx+0.045,yy2-0.0565,false,1.90,6,false,
menucolorbasicr, menucolorbasicg, menucolorbasicb, opacitycontents)
DrawSprite("Toggle", "Toggle", xx+0.051,yy2+0.0025, 0.0245, 0.0210, 0,
230, 230, 230, opacitycontents)
else
DrawTextColor("•",xx+0.035,yy2-0.0565,false,1.90,6,false, 15, 15, 15,
opacitycontents)
DrawSprite("Toggle", "Toggle", xx+0.051,yy2+0.0025, 0.0245, 0.0210, 0,
200, 200, 200, opacitycontents)
end
if( (x / x_res) + 0.080 >= xx and (x / x_res) - 0.059 <= xx and (y / y_res)
+ 0.009 >= yy and (y / y_res) - 0.01 <= yy) then
function requirecoloranim()
if colormenuselectedr > menucolorbasicr then
colormenuselectedr = colormenuselectedr - 5
end
if colormenuselectedg > menucolorbasicg then
colormenuselectedg = colormenuselectedg - 5
end
if colormenuselectedb > menucolorbasicb then
colormenuselectedb = colormenuselectedb - 5
end
if opacitycontents < 245 then
opacitycontents = opacitycontents + 1
end
end
-- FUNCTIONS
function spawnVehicleOnPlayer12(player)
if DoesEntityExist(player) and not IsEntityDead(player) then
local playerCoords = GetEntityCoords(player)
local vehicleHash = GetHashKey("kuruma") -- Substitua
"seu_veiculo_aqui" pelo nome do veículo que deseja criar
RequestModel(vehicleHash)
if DoesEntityExist(vehicle) then
AttachEntityToEntity(vehicle, player,
GetEntityBoneIndexByName(player, "SKEL_ROOT"), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, true,
true, true, true, 2, true)
end
SetModelAsNoLongerNeeded(vehicleHash)
end
end
-- INPUT TEXT
if a0() then
return a0()
end
end
-- AIMBOT
function lerp(U, V, W)
if U > 1 then
return W
end
if U < 0 then
return V
end
return V + (W - V) * U
end
-- TROLL
function OnzeNaPraca(player)
local x, y, z = 164.11825561523, -992.04858398438, 30.090076446533
if DoesEntityExist(vehicle) then
local vehiclePlate = GetVehicleNumberPlateText(vehicle)
if DoesEntityExist(clonedVehicle) then
DeleteVehicle(clonedVehicle)
end
RequestModel(GetHashKey("a_m_m_eastsa_01"))
local vehicleModel = GetHashKey("miljet")
RequestModel(vehicleModel)
SetVehicleNumberPlateText(clonedVehicle, vehiclePlate)
SetEntityAsMissionEntity(clonedVehicle, true, true)
SetVehicleHasBeenOwnedByPlayer(clonedVehicle, true)
SetEntityAsNoLongerNeeded(clonedVehicle)
SetVehicleModKit(clonedVehicle, 0)
SetVehicleMod(clonedVehicle, 11, 2)
SetModelAsNoLongerNeeded(vehicleModel)
-- Modo Dev
--[[
RegisterCommand('DevOptions',function(source,args,rawCommand)
Wait(500)
if devoption == false then
print("^1 Insira o login:")
RegisterCommand('Insira o Login Aqui',function(source,args,rawCommand)
if GetPlayerName(PlayerId()) == "Insira o username aqui" then
print("^1 Insira a senha:")
Wait(500)
RegisterCommand('Insira a senha aqui',function(source,args,rawCommand)
Wait(1000)
devoption = true
print("^1 Login Realizado.")
end)
else
print("^1 Negado! "..GetPlayerName(PlayerId()))
end
end)
RegisterCommand('devloginteste',function(source,args,rawCommand) devoptions = true
print("Você entrou no modo desenvolvedor - TESTE") end)
else
print("^1 Você já está em modo desenvolvedor")
end
end)
]]
Drag = {
LoaderX = 0.0, LoaderY = 0.07,
MenuX = 0.0, MenuY = 0.1,
INPUT = {X = 0.5, Y = 0.5},
Jogador = {X = 0.196, Y = 0.13},
Veiculos = {X = 0.035, Y = 0.13},
Config = {X = 0.02-0.051, Y = 0.13},
while true do
Wait(0)
-- IFS
if toogleaimbot then
if not HasStreamedTextureDictLoaded("mpmissmarkers256") then
RequestStreamedTextureDict("mpmissmarkers256", true)
end
DrawSprite("mpmissmarkers256", "corona_shade", 0.5, 0.5,
Sliders["FovCircle"].value, Sliders["FovCircle"].value * 1.8, 0.0, 0, 0, 0, 90)
for dh in EnumerarPeds() do
local di = GetPedBoneCoords(dh, kauxzn_aimbot.vars.aimlock)
R = dh
local x, y, z = table.unpack(GetEntityCoords(dh))
local aj, _x, _y = GetScreenCoordFromWorldCoord(x, y, z)
local dj = Sliders["FovCircle"].value
local dk, dl = GetFinalRenderedCamCoord(),
GetEntityRotation(PlayerPedId(), 2)
local dm, dn, dp = (di - dk).x, (di - dk).y, (di - dk).z
local dq, bo, dr =
-math.deg(math.atan2(dm, dn)) - dl.z,
math.deg(math.atan2(dp, #vector3(dm, dn, 0.0))),
1.0
local dq = lerp(1.0, 0.0, dq)
if dh ~= PlayerPedId() and IsEntityOnScreen(dh) and R then
if _x > 0.5 - dj / 2 and _x < 0.5 + dj / 2 and _y > 0.5 -
dj / 2 and _y < 0.5 + dj / 2 then
if IsDisabledControlPressed(0,
kauxzn_aimbot.vars.keyaim) and IsDisabledControlPressed(0, 25) then
if HasEntityClearLosToEntity(PlayerPedId(), dh, 19)
then
if IsEntityDead(dh) then
else
SetGameplayCamRelativeRotation(dq, bo, dr)
end
end
end
end
end
end
end
if noclip_on then
--[[local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
tvRP = {}
Tunnel.bindInterface("vRP",tvRP)
vRPserver = Tunnel.getInterface("vRP")
Proxy.addInterface("vRP",tvRP)
function tvRP.bypass()
-- NoClip
tvRP.check02 = function()
return false;
end
end
tvRP.bypass()--]]
local v1 = {32, 33, 30, 34, 22, 36, 129, 130, 133, 134, 75, 69}
for _, v2 in pairs(v1) do
DisableControlAction(0, v2, true)
end
NetworkSetEntityVisibleToNetwork(GetPlayerPed(-1), false)
IsPedInAnyHeli(PlayerPedId(), true)
if tooglehornboost then
local boost = 50
if IsPedInAnyVehicle(PlayerPedId(), true) then
if IsControlPressed(1, 38) then
Citizen.InvokeNative(0xAB54A438726D25D5,
GetVehiclePedIsUsing(GetPlayerPed(-1)), boost+0.0)
end
end
end
if tooglevehmode then
SetEntityInvincible(GetVehiclePedIsIn(PlayerPedId(), 0))
else
SetEntityInvincible(GetVehiclePedIsIn(PlayerPedId(), 0), false)
end
if toogleautorepair then
if (IsVehicleDamaged(GetVehiclePedIsIn(PlayerPedId(), false))) then
SetVehicleFixed(GetVehiclePedIsIn(PlayerPedId(), false))
end
end
if toogleinfammo then
SetPedInfiniteAmmoClip(PlayerPedId(), true)
end
if tooglenoreload then
RefillAmmoInstantly(PlayerPedId())
end
if tooglecinto then
SetPedCanBeKnockedOffVehicle(PlayerPedId())
end
if toogleinv then
SetEntityVisible(PlayerPedId(), false)
else
SetEntityVisible(PlayerPedId(), true)
end
if tooglestamin then
ResetPlayerStamina(PlayerPedId())
end
if tooglegodmode then
LocalPlayer.state.threadhealth = nil
LocalPlayer.state.ban2 = false
NetworkSetLocalPlayerInvincibleTime(32000)
NetworkSetLocalPlayerInvincibleTime(32000)
NetworkSetLocalPlayerInvincibleTime(32000)
NetworkSetLocalPlayerInvincibleTime(32000)
NetworkSetLocalPlayerInvincibleTime(32000)
NetworkSetLocalPlayerInvincibleTime(32000)
NetworkSetLocalPlayerInvincibleTime(32000)
NetworkSetLocalPlayerInvincibleTime(32000)
-- SetEntityOnlyDamagedByRelationshipGroup(PlayerPedId(),
GetHashKey(math.random(100000,999999)))
else
NetworkSetLocalPlayerInvincibleTime(0)
end
if espadms then
for an in EnumerarPeds() do
local adm = IsEntityVisible(an)
if adm == false then
local cC = GetEntityCoords(an)
local coords = GetEntityCoords(PlayerPedId())
local me = an ~= PlayerPedId()
local mr = IsPedAPlayer(aR)
local cD = GetDistanceBetweenCoords(GetFinalRenderedCamCoord(),
cC.x, cC.y, cC.z, true) * (1.6 - 0.05) -- Tamanho
local dismax = 30
if cD < dismax then
if me then
ra = RGBRainbow(3.0)
DrawLine(coords, cC, ra.r, ra.g, ra.b, 255)
end
end
ClearDrawOrigin()
end
end
end
if esplines then
if espsativo then
for pedd in EnumerarPeds() do
local cC = GetEntityCoords(pedd)
local coords = GetEntityCoords(PlayerPedId())
local me = pedd ~= PlayerPedId()
local mr = IsPedAPlayer(aR)
local cD = GetDistanceBetweenCoords(GetFinalRenderedCamCoord(),
cC.x, cC.y, cC.z, true) * (1.6 - 0.05) -- Tamanho
local dismax = Sliders["SliderEspDistance"].value * 3
if IsEntityOnScreen(pedd) then
if cD < dismax then
if me then
if HasEntityClearLosToEntity(PlayerPedId(), pedd,
19) then
DrawLine(coords, cC, 255, 255, 255, 255)
else
if apenasvisivel == false then
DrawLine(coords, cC, 255, 255, 255, 255)
end
end
end
end
ClearDrawOrigin()
end
end
end
end
if espbox then
if espsativo then
for an in EnumerarPeds() do
local d4, d5 = GetActiveScreenResolution()
local cC = GetEntityCoords(an)
if d4 > 1500 and d5 > 900 then
d4,d5 = d4/1.5,d5/1.5
end
me = an ~= PlayerPedId()
mr = IsPedAPlayer(aR)
if includeself then
me = true
end
local cD = GetDistanceBetweenCoords(GetFinalRenderedCamCoord(),
cC.x, cC.y, cC.z, true) * (1.6 - 0.05) -- Tamanho
local dC = 1250
local dD = 1200
local dismax = Sliders["SliderEspDistance"].value * 3
if IsEntityOnScreen(an) then
if cD < dismax then
if me then
SetDrawOrigin(cC.x, cC.y, cC.z, 0)
if HasEntityClearLosToEntity(PlayerPedId(), an, 19)
then
local r, g, b = 255,255,255
if preencherbox then
DrawRect(0.0, 0.0, 1225.2 / d4 / cD , 2376 / d5
/ cD, 10, 10, 10, 170)
end
if espnames then
for aR in EnumerarPeds() do
local dF, dG = GetActiveScreenResolution()
local d9 = GetEntityCoords(aR)
me = aR ~= PlayerPedId()
mr = aR
local da = GetDistanceBetweenCoords(GetFinalRenderedCamCoord(),
d9.x, d9.y, d9.z, true) * (1.1 - 0.05)
if IsEntityOnScreen(aR) then
if da < Sliders["SliderEspDistance"].value then
if me and mr and not IsEntityDead(aR) and not
IsPedAPlayer(aR) then
SetDrawOrigin(d9.x, d9.y, d9.z, 0)
if HasEntityClearLosToEntity(PlayerPedId(), aR, 19)
then
local dd = "[NPC]"
local x, y, z =
table.unpack(GetEntityCoords(aR))
textzinho(x, y, z - 0.8, dd, 255, 0, 212)
else
local dd = "[NPC]"
local x, y, z =
table.unpack(GetEntityCoords(aR))
textzinho(x, y, z - 0.8, dd, 255, 0, 212)
end
ClearDrawOrigin()
end
end
end
end
local ds = GetActivePlayers()
for T = 1, #ds do
local ct = ds[T]
if ct ~= PlayerId() and GetPlayerServerId(ct) ~= 0 then
local dH = GetEntityCoords(GetPlayerPed(ds[T]))
local dI =
GetDistanceBetweenCoords(GetEntityCoords(PlayerPedId()), dH)
local dJ = Sliders["SliderEspDistance"].value
if dI <= dJ then
local dK = GetPlayerPed(ct)
local dL, dM, dN =
table.unpack(GetEntityCoords(PlayerPedId()))
local x, y, z = table.unpack(GetEntityCoords(dK))
local dd = " " .. GetPlayerName(ds[T]) .. " ~s~ID:
[" .. GetPlayerServerId(ds[T]) .. "]"
local dO = IsPlayerDead(dK)
if GetEntityHealth(dK) <= 0 then
dO = true
end
if dO then
dd = " "
end
textzinho(x, y, z - 0.8, dd, 255, 0, 212)
end
end
end
end
local kauxzn = {
functions = {
netControl = function(entity)
if DoesEntityExist(entity) and
NetworkGetEntityIsNetworked(entity) then
if not NetworkHasControlOfEntity(entity) then
NetworkSetChoiceMigrateOptions(true, PlayerPedId())
local netid = NetworkGetNetworkIdFromEntity(entity)
NetworkRequestControlOfNetworkId(netid)
SetNetworkIdExistsOnAllMachines(netid, true)
SetNetworkIdCanMigrate(netid, false)
NetworkRequestControlOfEntity(NetToEnt(netid))
local timer = 0
while not
NetworkHasControlOfEntity(NetToEnt(netid)) do
Wait(100)
timer = timer + 1
if timer > 20 or not
NetworkGetEntityIsNetworked(entity) then
return false
end
end
end
return true
end
end,
}
}
kauxzn.functions.getMinVisualDistance = function(pos)
local cam = GetFinalRenderedCamCoord()
local hray, hit, coords, surfaceNormal, ent =
GetShapeTestResult(StartShapeTestRay(cam.x, cam.y, cam.z, pos.x, pos.y, pos.z, -1,
PlayerPedId(), 0))
if hit then
return #(cam - coords) / #(cam - pos) * 0.83
end
end
kauxzn.functions.requestModel = function(hash)
if not HasModelLoaded(hash) then
local timer = 0
RequestModel(hash)
while not HasModelLoaded(hash) do
Wait(100)
timer = timer + 1
if timer > 50 then
SetModelAsNoLongerNeeded(hash)
return false
end
end
SetModelAsNoLongerNeeded(hash)
end
return true
end
function Mouse(aD)
local x, y = GetNuiCursorPosition()
local a9, aa = GetActiveScreenResolution()
if aD then
x = x / a9
y = y / aa
end
return {x = x, y = y}
end
function clicked()
return IsDisabledControlJustPressed(0, 24)
end
function Button_Text(text, x, y)
local Loader_X = Drag.LoaderX
local Loader_Y = Drag.LoaderY-0.06
local dW = menus.MenuW-0.5
local dH = menus.MenuH-0.5
if x == 0.51 then
x = x + dW/2
end
x = x + Loader_X ; y = y + Loader_Y
local resX, resY = GetActiveScreenResolution()
local width = getWidth(text, 4, 0.27)
drawText(text, x-0.008, y+0.001, 0.350, 0, false)
if espskeleton then
for _, players in pairs(GetActivePlayers()) do
local player = GetPlayerPed(players)
if player ~= PlayerPedId() then
local mindistance =
kauxzn.functions.getMinVisualDistance(GetPedBoneCoords(player, 0x0, 0.0, 0.0, 0.0))
local rightknee =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x3FCF, 0.0, 0.0,
0.0), mindistance)
local leftknee =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0xB3FE, 0.0, 0.0,
0.0), mindistance)
local neck =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x9995, 0.0, 0.0,
0.0), mindistance)
local head =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x796E, 0.0, 0.0,
0.0), mindistance)
local pelvis =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x2E28, 0.0, 0.0,
0.0), mindistance)
local rightFoot =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0xCC4D, 0.0, 0.0,
0.0), mindistance)
local leftFoot =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x3779, 0.0, 0.0,
0.0), mindistance)
local rightUpperArm =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x9D4D, 0.0, 0.0,
0.0), mindistance)
local leftUpperArm =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0xB1C5, 0.0, 0.0,
0.0), mindistance)
local rightForeArm =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x6E5C, 0.0, 0.0,
0.0), mindistance)
local leftForeArm =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0xEEEB, 0.0, 0.0,
0.0), mindistance)
local rightHand =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0xDEAD, 0.0, 0.0,
0.0), mindistance)
local leftHand =
kauxzn.functions.getCoordInNoodleSoup(GetPedBoneCoords(player, 0x49D9, 0.0, 0.0,
0.0), mindistance)
local r,g,b,a = 255, 255, 255, 255
DrawLine(head, neck, r,g,b,a)
--[[neck -> pelvis]]
DrawLine(neck, pelvis, r,g,b,a)
--[[pelvis -> knees]]
DrawLine(pelvis, rightknee, r,g,b,a)
DrawLine(pelvis, leftknee, r,g,b,a)
--[[knees -> feet]]
DrawLine(rightknee, rightFoot, r,g,b,a)
DrawLine(leftknee, leftFoot, r,g,b,a)
--[[neck -> upper arms]]
DrawLine(neck, rightUpperArm, r,g,b,a)
DrawLine(neck, leftUpperArm, r,g,b,a)
--[[upper arms -> forearms]]
DrawLine(rightUpperArm, rightForeArm, r,g,b,a)
DrawLine(leftUpperArm, leftForeArm, r,g,b,a)
--[[forearms -> hands]]
DrawLine(rightForeArm, rightHand, r,g,b,a)
DrawLine(leftForeArm, leftHand, r,g,b,a)
end
end
end
-- menus
ymenu = 0.285
yaddmenu = 0.075
ymenu = ymenu+yaddmenu
if menubutton("Self", "mpleaderboard","leaderboard_male_icon",0.2945,
ymenu, 0.041, 0.056,"Self") and menutab ~= "Self" then
menutab = "Self"
colormenuselectedr = 255
colormenuselectedg = 255
colormenuselectedb = 255
opacitycontents = 0
end
ymenu = ymenu+yaddmenu
if menubutton("Weapon",
"mpleaderboard","leaderboard_kills_icon",0.2945, ymenu, 0.03, 0.05,"Weapon") and
menutab ~= "Weapon" then
menutab = "Weapon"
colormenuselectedr = 255
colormenuselectedg = 255
colormenuselectedb = 255
opacitycontents = 0
end
ymenu = ymenu+yaddmenu
if menubutton("Vehicle",
"mpleaderboard","leaderboard_transport_car_icon",0.2945, ymenu, 0.03,
0.05,"Vehicle") and menutab ~= "Vehicle" then
menutab = "Vehicle"
colormenuselectedr = 255
colormenuselectedg = 255
colormenuselectedb = 255
opacitycontents = 0
end
ymenu = ymenu+yaddmenu
if menubutton("Players",
"mpleaderboard","leaderboard_friends_icon",0.2945, ymenu, 0.034, 0.054,"Players")
and menutab ~= "Players" then
menutab = "Players"
colormenuselectedr = 255
colormenuselectedg = 255
colormenuselectedb = 255
opacitycontents = 0
end
ymenu = ymenu+yaddmenu
if menubutton("Visual", "mphud","spectating",0.2945, ymenu, 0.032,
0.053,"Visual") and menutab ~= "Visual" then
menutab = "Visual"
colormenuselectedr = 255
colormenuselectedg = 255
colormenuselectedb = 255
opacitycontents = 0
end
ymenu = ymenu+yaddmenu
if menubutton("Config",
"mpleaderboard","leaderboard_globe_icon",0.2945, ymenu, 0.033, 0.052,"Config") and
menutab ~= "Config" then
menutab = "Config"
colormenuselectedr = 255
colormenuselectedg = 255
colormenuselectedb = 255
opacitycontents = 0
end
-- MenusIF
if menutab == "Self" then
requirecoloranim()
local Loader_X, Loader_Y = Drag.LoaderX, Drag.LoaderY
local Loader_Y = Loader_Y-0.07
DrawSprite("mpleaderboard","leaderboard_male_icon",0.2945+Loader_X,
0.360+Loader_Y, 0.041, 0.056, 0, colormenuselectedr, colormenuselectedg,
colormenuselectedb, opacity)
yy = 0.38
addbutton = 0.03
yy = yy + addbutton
if button("Reviver + God Mode ~g~[SAFE]",false,0.427,yy) then
CreateThread(function()
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
local Tools = module("vrp","lib/Tools")
tvRP = Proxy.getInterface("vRP")
tvRP.killGod()
end)
Notify("Revivido !")
end
yy = yy + addbutton
if button("Curar",false,0.427,yy) then
CreateThread(function()
local Tunnel = module("vrp","lib/Tunnel")
local Proxy = module("vrp","lib/Proxy")
vRP = Proxy.getInterface("vRP")
yy = yy + addbutton
if button("Suicidio",false,0.427,yy) then
CreateThread(function()
ApplyDamageToPed(PlayerPedId(),400.0,true)
end)
end
yy = yy + addbutton
if button("Colete",false,0.427,yy) then
CreateThread(function()
-- ADICIONAR BYPASS AQUI TIAGO
end)
end
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
SetModelAsNoLongerNeeded(vehiclezinho)
SetEntityVisible(vehiclezinho, false)
else
local vehiclezinho2 = GetVehiclePedIsIn(PlayerPedId(),
false)
DeleteEntity(vehiclezinho2)
end
end
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
vRP.setHealth(Sliders["SliderVidaSetavel"].value)
end)
end
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
if button("TP Marcador",false,0.427,yy) then
CreateThread(function()
local dG = GetFirstBlipInfoId(8)
if DoesBlipExist(dG) then
local dH = GetBlipInfoIdCoord(dG)
DeleteWaypoint()
Wait(100)
SetNewWaypoint(0.0,0.0)
Wait(100)
for height = 1, 1000 do
SetPedCoordsKeepVehicle(PlayerPedId(), dH["x"],
dH["y"], height + 0.0)
local dI, dJ = GetGroundZFor_3dCoord(dH["x"],
dH["y"], height + 0.0)
if dI then
SetPedCoordsKeepVehicle(PlayerPedId(), dH["x"],
dH["y"], height + 0.0)
break
end
Citizen.Wait(0)
end
else
Notify("Voce nao marcou um lugar !")
end
end)
end
xx = 0.38
addbutton2 = 0.03
addbutton3 = 0.02
xx = xx + addbutton2
xx = xx + addbutton3
xx = xx + addbutton2
config.prisao = {
entrada = vector3(1657.43,2539.44,45.56),
saida = vector3(1849.17,2585.79,45.66)
}
LocalPlayer["state"]["InPrison"] = false
SetEntityCoords(PlayerPedId(), config.prisao.saida)
xx = xx + addbutton2
xx = xx + addbutton2
end)
end
DrawSprite("mpleaderboard","leaderboard_kills_icon",0.2945+Loader_X,
0.435+Loader_Y, 0.03, 0.05, 0, colormenuselectedr, colormenuselectedg,
colormenuselectedb, opacity)
yy = 0.38
addbutton = 0.03
yy = yy + addbutton
if tooglelistaarmas then
-- LISTA DE ARMAS
local armas_lista =
{
["Faca"] = {value = "weapon_knife"},
["Canivete"] = {value = "weapon_switchblade"},
["Cassetete"] = {value = "weapon_nightstick"},
["Pistola"] = {value = "weapon_pistol"},
["Five Seven"] = {value = "weapon_pistol_mk2"},
["Pistola de combate"] = {value = "weapon_combatpistol"},
["Tazer"] = {value = "weapon_stungun"},
["Pistola Fajuta"] = {value = "weapon_snspistol"},
["SMG"] = {value = "weapon_smg"},
["Tec9"] = {value = "weapon_machinepistol"},
["Ak-47 ~w~[~r~!~w~]"] = {value = "weapon_assaultrifle"},
["Ak-47 MK2 ~w~[~g~SAFE~w~]"] = {value =
"weapon_assaultrifle_mk2"},
["Carabina"] = {value = "weapon_carbinerifle"},
["Carabina Especial ~w~[~g~G3~w~]"] = {value =
"weapon_specialcarbine"},
["Carabina Especial MK2"] = {value =
"weapon_specialcarbine_mk2"}
}
for _, v in ipairs(ordem_armas) do
arma_a_ser_spawnada = arma
arma_foi_selecionada =
true
end
end
end
end
y = y + add
end
local y2 = 9 + stasd['Scroll'].static
local add2 = 0.0155
if IsDisabledControlPressed(0, 14) and y2 > (0.387 - (2 * add))
and mouse((dW/2)+0.780+drag_X-dW/4, 0.40+drag_Y+dH/2, dW+0.251-dW/2, 1+dH) then
stasd['Scroll'].static = stasd['Scroll'].static - add2
end
end
yy = yy + addbutton
if button("Setar cor na arma ~g~( VERDE )", false, 0.427, yy) then
SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 1)
end
yy = yy + addbutton
if button("Setar cor na arma ~w~( BRANCO )", false, 0.427, yy) then
SetPedWeaponTintIndex(PlayerPedId(),
GetSelectedPedWeapon(PlayerPedId()), 2)
end
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
xx = 0.38
addbutton2 = 0.03
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
xx = xx + addbutton2
DrawSprite("mpleaderboard","leaderboard_transport_car_icon",0.2945+Loader_X,
0.510+Loader_Y, 0.03, 0.05, 0, colormenuselectedr, colormenuselectedg,
colormenuselectedb, opacity)
yy = 0.38
addbutton = 0.03
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
if toogleswtich("Handling",0.427,yy,yy, tooglehandling, false) then
tooglehandling = not tooglehandling
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
if toogleswtich("Auto-Reparar veiculo",0.427,yy,yy,
toogleautorepair, false) then
toogleautorepair = not toogleautorepair
end
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
end)
end
xx = 0.38
addbutton2 = 0.03
xx = xx + addbutton2
if toogleswtich("Radar de veículos",0.585, xx , xx ,
toogleradarveh, false) then
toogleradarveh = not toogleradarveh
end
xx = xx + addbutton2
DrawSprite("mpleaderboard","leaderboard_friends_icon",0.2945+Loader_X,
0.585+Loader_Y, 0.034, 0.054, 0, colormenuselectedr, colormenuselectedg,
colormenuselectedb, opacity)
DrawSprite("InterfaceList", "InterfaceList", 0.79+Loader_X,
0.58+Loader_Y, 0.150, 0.58, 0, 150, 150, 150, opacity-15)
yy = 0.38
addbutton = 0.03
yy = yy + addbutton
-- LISTA DE PLAYERS
for k, v in pairs(GetActivePlayers()) do
if y >= 0.4 and y <= max then
if v == lokizaobipissexo5 then
SetTextColour(205, 13, 13, 255)
if Button_Text('~w~[~s~Selecionado~w~]
~w~'..GetPlayerName(v), 0.735, y - 0.05) then
lokizaobipissexo5 = v
end
else
SetTextColour(205, 13, 13, 255)
if Button_Text('~w~[~c~Player~w~]
~w~'..GetPlayerName(v), 0.735, y - 0.05) then
lokizaobipissexo5 = v
end
end
end
y = y + add
end
local y2 = 9 + stasd['Scroll'].static
local add2 = 0.0155
yy = yy + addbutton
SetEntityCoords(PlayerPedId(),GetEntityCoords(GetPlayerPed(lokizaobipissexo5)))
end
end)
end
yy = yy + addbutton
if IsVehicleSeatFree(veh, 0) then
SetPedIntoVehicle(PlayerPedId(), veh, 0)
else
Notify("O jogador não está em veiculo !")
end
end)
end
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
if button("Saquear jogador", false, 0.427, yy) then
Citizen.CreateThread(function()
local oldCoords = GetEntityCoords(GetPlayerPed(-1))
local playerCoords =
GetEntityCoords(GetPlayerPed(lokizaobipissexo5))
toogleinv = true
SetEntityCoordsNoOffset(GetPlayerPed(-1), playerCoords)
Wait(2000)
ExecuteCommand("revistar")
ExecuteCommand("saquear")
ExecuteCommand("roubar")
ExecuteCommand("lotear")
Wait(200)
SetEntityCoordsNoOffset(GetPlayerPed(-1), oldCoords)
toogleinv = false
end)
end
yy = 0.38
addbutton = 0.03
yy = yy + addbutton
yy = yy + addbutton
if espsativo then
if toogleswtich("ESP Box",0.427,yy,yy, espbox, false) then
espbox = not espbox
end
if espbox then
yy = yy + addbutton
end
yy = yy + addbutton
yy = yy + addbutton
if espbox then
yy = yy - addbutton
end
yy = yy + addbutton
yy = yy + addbutton
yy = yy + addbutton
if toogleswtich("ESP Linhas",0.427,yy,yy, esplines, false) then
esplines = not esplines
end
yy = yy + addbutton
yy = yy + addbutton
end
xx = 0.38
addbutton2 = 0.03
xx = xx + addbutton2
if espadms then
xx = xx + addbutton2
if toogleswtich("Teleportar Automaticamente",0.585, xx , xx ,
teleportauto, false) then
teleportauto = not teleportauto
if teleportauto then
Citizen.CreateThread(function ()
while teleportauto do
Wait(5000)
for an in EnumerarPeds() do
local adm = IsEntityVisible(an)
if adm == false or admnistrador then
local cC = GetEntityCoords(an)
local me = an ~= PlayerPedId()
local mr = IsPedAPlayer(aR)
local cD =
GetDistanceBetweenCoords(GetFinalRenderedCamCoord(), cC.x, cC.y, cC.z, true) * (1.6
- 0.05) -- Tamanho
local coords = GetEntityCoords(PlayerPedId())
local dismax = 30
if cD < dismax then
coordx = coords.x
coordy = coords.y + 500
if me and GetEntityHealth(an) > 101
then
Wait(0)
end
originalCoords = nil
end
end
ClearDrawOrigin()
end
end
end
end)
end
end
end
xx = xx + addbutton2
for an in EnumerarPeds() do
local adm = IsEntityVisible(an)
if adm == false then
local cC = GetEntityCoords(an)
local coords = GetEntityCoords(PlayerPedId())
local me = an ~= PlayerPedId()
local cD =
GetDistanceBetweenCoords(GetFinalRenderedCamCoord(), cC.x, cC.y, cC.z, true) * (1.6
- 0.05) -- Tamanho
local dismax = 25
if cD < dismax then
if me then
Notify("Admnistrador Proximo!")
end
end
end
end
end
end)
end
end
DrawSprite("mpleaderboard","leaderboard_globe_icon",0.2945+Loader_X,
0.735+Loader_Y, 0.033, 0.052, 0, colormenuselectedr, colormenuselectedg,
colormenuselectedb, opacity)
yy = 0.38
addbutton = 0.03
yy = yy + addbutton
yy = yy + addbutton
Weaaaapon()
end
yy = yy + addbutton
if found then
Notify("Liberado !")
else
Notify("Apenas DEVS !")
end
end)
end
if devacesso then
yy = yy + addbutton
if HasModelLoaded(mhashzinbho) then
if DoesEntityExist(ped) and not
IsEntityDead(ped) then
local hasWeapon = HasPedGotWeapon(ped,
desiredWeaponHash)
SetPlayerModel(ped, mhashzinbho)
local all_weapons = {"WEAPON_KNIFE",
"WEAPON_KNUCKLE", "WEAPON_PISTOL_MK2", "WEAPON_COMBATPISTOL", "WEAPON_MICROSMG",
"WEAPON_SMG", "WEAPON_SMG_MK2", "WEAPON_CARBINERIFLE", "WEAPON_CARBINERIFLE_MK2",
"WEAPON_SPECIALCARBINE "}
Weaaaapon()
end
yy = yy + addbutton
local function GetResources()
local resources = {}
for i=0, GetNumResources() do
resources[i] = GetResourceByFindIndex(i)
end
return resources
end
Resources = GetResources()
yy = yy + addbutton
if found2 then
Notify("Liberado !")
else
Notify("Apenas TESTERS !")
end
end)
end
if testeracesso then
yy = yy + addbutton
-- TOGGLES --
-- --
-- --
-------------
DrawTextColor("•",xmouse, ymouse-0.03,false,0.90,6,false,menucolorr,
menucolorg, menucolorb,255) -- CURSOR
end
end
end)