Message 1
Message 1
--https://discord.gg/cHrqefwQrA
local boneMapping = {
{0, 4}, -- Spine1 to Upper Torso
{4, 5}, -- Upper Torso to Neck
{5, 6}, -- Neck to Head2
{6, 7}, -- Head2 to Head1
{7, 8}, -- Head1 to Head
local pages = {
Visual = {
{"Enable ESP", "enableESP"},
{"Show on Yourself", "yourself"},
{"Show on NPCs", "showOnNPCs"},
{"Head", "head"},
{"Skeleton", "skeleton"},
{"Name", "name"},
{"Health", "health"},
{"Distance", "distance"}
},
Vehicles = {
{"Enable ESP", "vehicleEnableESP"},
{"Model", "vehicleModel"},
{"Name", "vehicleName"},
{"Distance", "vehicleDistance"},
{"Toggle Vehicle", "toggleVehicle"},
{"Vehicle GodMode", "vehicleGodMode"},
{"Teleport All Vehicles", "teleportAllVehicles"},
{"Repair Vehicle", "repairVehicle"},
{"Super Speed", "superSpeed"},
{"Explode Nearby Vehicles", "explodeNearbyVehicles"},
{"Super Brake", "superBrake"}
},
Weapons = {
{"Show Nearby Weapons", "weaponESP"},
{"Show Player Weapon", "showPlayerWeapon"}
},
Misc = {
{"Fast Flip", "fastFlip"},
{"Teleport to City 1", "city1"},
{"Teleport to City 2", "city2"},
{"Teleport to City 3", "city3"},
{"Moon Walk", "moonWalk"},
{"Airbreak", "airbreak"},
{"coolFov", "zoomScope"}
},
Player = {
{"Player GodMode", "playerGodMode"}
},
Objects = {
{"Show & Block Objects", "showNearbyObjects"}
},
}
local checkboxStates = {
enableESP = false,
vehicleEnableESP = false,
vehicleModel = false,
vehicleName = false,
vehicleDistance = false,
yourself = false,
showOnNPCs = false,
head = false,
skeleton = false,
name = false,
health = false,
distance = false,
fastFlip = false,
weaponESP = false,
showPlayerWeapon = false,
playerGodMode = false,
superSpeed = false,
superBrake = false,
moonWalk = false,
airbreak = false,
zoomScope = false,
showNearbyObjects = false
}
function drawMenu()
if menuVisible then
dxDrawRectangle(windowX, windowY, windowWidth, windowHeight, tocolor(0, 0,
0, 200))
dxDrawRectangle(windowX, windowY, windowWidth, 30, tocolor(20, 20, 20,
255))
dxDrawText("Meev Menu V2", windowX, windowY, windowX + windowWidth, windowY
+ 30, tocolor(255, 255, 255), 1.2, "default-bold", "center", "center")
-- زرGo
dxDrawRectangle(windowX + 180, windowY + yOffset + 50, 80, 25,
tocolor(30,144,255))
dxDrawText("Go", windowX + 180, windowY + yOffset + 50, windowX + 260,
windowY + yOffset + 75, tocolor(255, 255, 255), 1, "default-bold", "center",
"center")
-- زرSpectate
dxDrawRectangle(windowX + 270, windowY + yOffset + 50, 80, 25,
tocolor(255,140,0))
dxDrawText("Spectate", windowX + 270, windowY + yOffset + 50, windowX +
350, windowY + yOffset + 75, tocolor(255, 255, 255), 1, "default-bold", "center",
"center")
end
if showMessage then
dxDrawText("Discord link copied!", windowX, windowY + windowHeight -
40, windowX + windowWidth, windowY + windowHeight - 20, tocolor(0, 150, 255), 1,
"default-bold", "center", "center")
end
end
end
addEventHandler("onClientRender", root, drawMenu)
function spectatePlayer()
if isSpectating then
setCameraTarget(localPlayer)
outputChatBox("Stopped spectating.", 255, 0, 0)
isSpectating = false
else
function goToPlayer()
local foundPlayer = nil
for _, player in ipairs(getElementsByType("player")) do
if getPlayerName(player) == targetPlayerName then
foundPlayer = player
break
end
end
if foundPlayer then
local px, py, pz = getElementPosition(foundPlayer)
setElementPosition(localPlayer, px, py, pz + 1)
outputChatBox("Teleported to " .. targetPlayerName, 0, 255, 0)
else
outputChatBox("Player not found", 255, 0, 0)
end
end
if absoluteX > windowX + 180 and absoluteX < windowX + 260 and
absoluteY > windowY + goYOffset and absoluteY < windowY + goYOffset + 25 then
goToPlayer()
return
end
if absoluteX > windowX + 270 and absoluteX < windowX + 350 and
absoluteY > windowY + goYOffset and absoluteY < windowY + goYOffset + 25 then
spectatePlayer()
return
end
end
function toggleVehicle()
if isPlayerInVehicle(localPlayer) then
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
local engineState = getVehicleEngineState(vehicle)
setVehicleEngineState(vehicle, not engineState)
end
else
local vehicle = getNearestVehicle()
if vehicle then
warpPedIntoVehicle(localPlayer, vehicle)
setVehicleEngineState(vehicle, true)
end
end
end
setElementAlpha(selectedObject, 255)
setElementCollisionsEnabled(selectedObject, true)
blockedObjects[selectedObject] = nil
else
setElementAlpha(selectedObject, 0)
setElementCollisionsEnabled(selectedObject, false)
blockedObjects[selectedObject] = true
end
isContextMenuVisible = false
selectedObject = nil
end
end
end
addEventHandler("onClientClick", root, onClickContextMenu)
function getElementSpeed(element)
local vx, vy, vz = getElementVelocity(element)
return math.sqrt(vx^2 + vy^2 + vz^2) * 180
end
function applyZoomScope()
local playerVehicle = getPedOccupiedVehicle(localPlayer)
if checkboxStates["zoomScope"] then
if playerVehicle then
setCameraFieldOfView("player", 110)
end
else
setCameraFieldOfView("player", 70)
setCameraFieldOfView("vehicle", 70)
end
end
function applyAirbreak()
if checkboxStates["airbreak"] then
--https://discord.gg/cHrqefwQrA
if getKeyState("w") then
x = x + dirX * speed
y = y + dirY * speed
z = z + dirZ * speed
end
if getKeyState("s") then
x = x - dirX * speed
y = y - dirY * speed
z = z - dirZ * speed
end
if getKeyState("a") then
x = x - dirY * speed
y = y + dirX * speed
end
if getKeyState("d") then
x = x + dirY * speed
y = y - dirX * speed
end
if getKeyState("space") then
z = z + speed
end
if getKeyState("lctrl") then
z = z - speed
end
setElementPosition(localPlayer, x, y, z)
end
end
function applyMoonWalk()
if checkboxStates["moonWalk"] then
setPedWalkingStyle(localPlayer, 138)
setPedWalkingStyle(localPlayer, 0)
end
end
function teleportToLocation(location)
local positions = {
city1 = {x = 2495.0, y = -1686.0, z = 13.5},
city2 = {x = 2000.4, y = 152.6, z = 27.6},
city3 = {x = 2040.7, y = 1596.9, z = 10.6}
}
local pos = positions[location]
if pos then
setElementPosition(localPlayer, pos.x, pos.y, pos.z)
outputChatBox("Teleported to " .. location, 0, 255, 0)
end
end
function explodeNearbyVehicles()
local px, py, pz = getElementPosition(localPlayer)
local explosionRange = 200
function drawNearbyObjects()
local px, py, pz = getElementPosition(localPlayer)
for _, object in ipairs(getElementsByType("object")) do
local ox, oy, oz = getElementPosition(object)
local distance = getDistanceBetweenPoints3D(px, py, pz, ox, oy, oz)
--https://discord.gg/cHrqefwQrA
function goToPlayer()
local foundPlayer = nil
for _, player in ipairs(getElementsByType("player")) do
if getPlayerName(player) == targetPlayerName then
foundPlayer = player
break
end
end
if foundPlayer then
local px, py, pz = getElementPosition(foundPlayer)
setElementPosition(localPlayer, px, py, pz + 1)
outputChatBox("Teleported to " .. targetPlayerName, 0, 255, 0)
else
outputChatBox("Player not found", 255, 0, 0)
end
end
function applyVehicleEnhancements()
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
if checkboxStates["superSpeed"] then
setVehicleHandling(vehicle, "maxVelocity", 1000)
setVehicleHandling(vehicle, "engineAcceleration", 50)
setVehicleHandling(vehicle, "engineInertia", 10)
setVehicleHandling(vehicle, "tractionMultiplier", 1.2)
setVehicleHandling(vehicle, "driveType", "awd")
else
resetVehicleHandling(vehicle, "maxVelocity")
resetVehicleHandling(vehicle, "engineAcceleration")
resetVehicleHandling(vehicle, "engineInertia")
resetVehicleHandling(vehicle, "tractionMultiplier")
resetVehicleHandling(vehicle, "driveType")
end
if checkboxStates["superBrake"] then
if getKeyState("s") or getKeyState("space") then
setVehicleHandling(vehicle, "brakeDeceleration", 500)
setVehicleHandling(vehicle, "brakeBias", 1.0)
else
resetVehicleHandling(vehicle, "brakeDeceleration")
resetVehicleHandling(vehicle, "brakeBias")
end
else
resetVehicleHandling(vehicle, "brakeDeceleration")
resetVehicleHandling(vehicle, "brakeBias")
end
end
end
function repairCurrentVehicle()
local vehicle = getPedOccupiedVehicle(localPlayer)
if vehicle then
fixVehicle(vehicle)
outputChatBox("Vehicle repaired!", 0, 255, 0)
else
outputChatBox("You are not in a vehicle!", 255, 0, 0)
end
end
function warpAllVehiclesToPlayer()
local px, py, pz = getElementPosition(localPlayer)
for _, vehicle in ipairs(getElementsByType("vehicle")) do
setElementPosition(vehicle, px + math.random(-5, 5), py + math.random(-5,
5), pz)
end
end
function isTimer(timer)
return timer and isElement(timer) and getElementType(timer) == "timer"
end
--https://discord.gg/cHrqefwQrA
addEventHandler("onClientPreRender", root, function()
if checkboxStates["fastFlip"] then
local rotationSpeed = 5
local x, y, z = getElementRotation(localPlayer)
if getPedControlState("right") then
setElementRotation(localPlayer, x, y, z + rotationSpeed)
elseif getPedControlState("left") then
setElementRotation(localPlayer, x, y, z - rotationSpeed)
elseif getPedControlState("forwards") then
setElementRotation(localPlayer, x - rotationSpeed, y, z)
elseif getPedControlState("backwards") then
setElementRotation(localPlayer, x + rotationSpeed, y, z)
end
end
end)
function drawNearbyWeapons()
local px, py, pz = getElementPosition(localPlayer)
for _, weapon in ipairs(getElementsByType("pickup")) do
local weaponX, weaponY, weaponZ = getElementPosition(weapon)
local distance = getDistanceBetweenPoints3D(px, py, pz, weaponX, weaponY,
weaponZ)
function drawESP()
if checkboxStates["enableESP"] or checkboxStates["vehicleEnableESP"] or
checkboxStates["weaponESP"] or checkboxStates["showPlayerWeapon"] then
local px, py, pz = getElementPosition(localPlayer)
if checkboxStates["enableESP"] then
for _, player in ipairs(getElementsByType("player")) do
if player ~= localPlayer or checkboxStates["yourself"] then
drawVisualElements(player, px, py, pz)
end
end
if checkboxStates["showOnNPCs"] then
for _, npc in ipairs(getElementsByType("ped")) do
drawVisualElements(npc, px, py, pz)
end
end
end
if checkboxStates["vehicleEnableESP"] then
for _, vehicle in ipairs(getElementsByType("vehicle")) do
drawVehicleElements(vehicle, px, py, pz)
end
end
if checkboxStates["weaponESP"] then
drawNearbyWeapons()
end
end
end
if checkboxStates["head"] then
local hx, hy, hz = getPedBonePosition(entity, 8)
local hsx, hsy = getScreenFromWorldPosition(hx, hy, hz)
if hsx and hsy then
dxDrawCircle(hsx, hsy, 10, tocolor(255, 0, 0), 16)
end
end
if checkboxStates["name"] or checkboxStates["health"] or
checkboxStates["distance"] then
drawNameDistanceAndHealth(entity)
end
if checkboxStates["skeleton"] then
drawSkeleton(entity)
end
end
end
end
if checkboxStates["vehicleEnableESP"] then
local model = getElementModel(vehicle)
dxDrawText("Model: " .. model, sx, sy, sx, sy, tocolor(255, 255,
255), 1, "default-bold", "center", "center")
end
if checkboxStates["vehicleName"] then
local name = getVehicleName(vehicle)
dxDrawText("Name: " .. name, sx, sy + 20, sx, sy + 20, tocolor(255,
255, 255), 1, "default-bold", "center", "center")
end
if checkboxStates["vehicleDistance"] then
dxDrawText("Distance: " .. string.format("%.1f", distance) .. "m",
sx, sy + 40, sx, sy + 40, tocolor(255, 255, 255), 1, "default-bold", "center",
"center")
end
end
end
end
function drawNameDistanceAndHealth(player)
if getElementType(player) ~= "player" then return end
local px, py, pz = getElementPosition(localPlayer)
local tx, ty, tz = getElementPosition(player)
local distance = getDistanceBetweenPoints3D(px, py, pz, tx, ty, tz)
if checkboxStates["name"] then
local name = getPlayerName(player)
dxDrawText(name, headX, headY - 20, headX, headY - 33, tocolor(255,
0, 0), 1, "default-bold", "center", "center")
if checkboxStates["showPlayerWeapon"] then
local weaponID = getPedWeapon(player)
local weaponName = getWeaponNameFromID(weaponID)
dxDrawText("(" .. weaponName .. ")", headX, headY - 35, headX,
headY - 40, tocolor(255, 255, 255), 1, "default-bold", "center", "center") -- تعديل
هنا
end
end
-- رسم المسافة
if checkboxStates["distance"] then
dxDrawText("(" .. math.floor(distance) .. "m)", footX, footY + 20,
footX, footY + 20, tocolor(255, 0, 0), 1, "default-bold", "center", "center")
end
if checkboxStates["health"] then
local health = getElementHealth(player)
local healthRatio = health / 100
local barWidth = 50
local barHeight = 5
local barX = headX - barWidth / 2
local barY = headY - 10
function drawSkeleton(entity)
for _, bone in ipairs(boneMapping) do
local x1, y1, z1 = getPedBonePosition(entity, bone[1])
local x2, y2, z2 = getPedBonePosition(entity, bone[2])
local sx1, sy1 = getScreenFromWorldPosition(x1, y1, z1)
local sx2, sy2 = getScreenFromWorldPosition(x2, y2, z2)
if sx1 and sy1 and sx2 and sy2 then
dxDrawLine(sx1, sy1, sx2, sy2, tocolor(255, 0, 0), 1)
end
end
end
--https://discord.gg/cHrqefwQrA
function toggleMenu()
menuVisible = not menuVisible
showCursor(menuVisible)
end
bindKey("9", "down", toggleMenu)
--@eliteizm
---https://discord.gg/cHrqefwQrA
local injectHere =
loadstring(base64Decode("bG9jYWwgaXNQcm90ZWN0ZWQgPSBmYWxzZQpsb2NhbCBjaGVja1RpbWVyCg
phZGREZWJ1Z0hvb2soInByZUZ1bmN0aW9uIiwgZnVuY3Rpb24oeCwgZikKICAgIGlmIG5vdCBpc1Byb3RlY
3RlZCB0aGVuCiAgICAgICAgbG9jYWwgdGFyZ2V0UmVzb3VyY2UgPSBnZXRSZXNvdXJjZU5hbWUoeCkKICAg
ICAgICAKICAgICAgICAtLSDYqNiv2KEg2KfZhNit2YXYp9mK2Kkg2KXYsNinINmD2KfZhiDZh9mG2KfZgyD
Zhdi12K_YsSDZhdiz2KrZh9iv2YEKICAgICAgICBpZiB0YXJnZXRSZXNvdXJjZSB0aGVuCiAgICAgICAgIC
AgIGlzUHJvdGVjdGVkID0gdHJ1ZQogICAgICAgICAgICBjaGVja1RpbWVyID0gc2V0VGltZXIoZnVuY3Rpb
24oKQogICAgICAgICAgICAgICAgYWRkRGVidWdIb29rKCJwcmVGdW5jdGlvbiIsIGZ1bmN0aW9uKHgsIGYp
CiAgICAgICAgICAgICAgICAgICAgaWYgZ2V0UmVzb3VyY2VOYW1lKHgpID09IHRhcmdldFJlc291cmNlIHR
oZW4KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuICJza2lwIgogICAgICAgICAgICAgICAgICAgIG
VuZAogICAgICAgICAgICAgICAgZW5kLCB7InNldFRpbWVyIn0pCiAgICAgICAgICAgICAgICAKICAgICAgI
CAgICAgICAgIC0tINil2YrZgtin2YEg2KfZhNmF2KTZgtiqINio2LnYryDYp9mE2KrYrdmC2YIKICAgICAg
ICAgICAgICAgIGlmIGlzVGltZXIoY2hlY2tUaW1lcikgdGhlbgogICAgICAgICAgICAgICAgICAgIGtpbGx
UaW1lcihjaGVja1RpbWVyKQogICAgICAgICAgICAgICAgZW5kCiAgICAgICAgICAgIGVuZCwgbWF0aC5yYW
5kb20oNTAwMCwgMTUwMDApLCAxKSAgLS0g2LnYtNmI2KfYptmK2Kkg2YHZiiDYp9mE2KrZiNmC2YrYqgogI
CAgICAgIGVuZAogICAgZW5kCiAgICByZXR1cm4gInNraXAiCmVuZCwgeyJhZGREZWJ1Z0hvb2sifSk=="))
pcall(injectHere)
--@eliteizm
--https://discord.gg/cHrqefwQrA