
482 Views
13 Executions
Auto farm
Universal Script 📌
Zakir_m2First script
8 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Autofarm esey
-- El Paso Texas Border Roleplay Script
-- Configuration
local borderX = -1235.537 -- El Paso Texas Border X Coordinate
local borderY = -1360.907 -- El Paso Texas Border Y Coordinate
local usaX = -1356.309 -- USA X Coordinate
local usaY = -1360.907 -- USA Y Coordinate
local moneyLocation = vector3(-1354.437, -1360.907, 34.524) -- Money Location
local washingMachineLocation = vector3(-1355.408, -1360.907, 34.524) -- Washing Machine Location
local sneakingSpeed = 5 -- Sneaking Speed
local teleportSpeed = 10 -- Teleport Speed
local interval = 5000 -- Interval between actions
-- Variables
local money = 0
local isSneaking = false
local isTeleporting = false
-- Functions
function getSneakingLocation()
return vector3(math.random(borderX - 10, borderX + 10), math.random(borderY - 10, borderY + 10), 34.524)
end
function getTeleportLocation()
return vector3(math.random(usaX - 10, usaX + 10), math.random(usaY - 10, usaY + 10), 34.524)
end
function movePlayerToLocation(location)
while (GetEntityCoords(GetPlayerPed(-1)) - location).magnitude > 1 do
SetEntitySpeed(GetPlayerPed(-1), sneakingSpeed)
SetPedToRagdoll(GetPlayerPed(-1), 1, 1, 1, 0, 0, 0)
Wait(0)
end
end
function teleportPlayerToLocation(location)
while (GetEntityCoords(GetPlayerPed(-1)) - location).magnitude > 1 do
SetEntitySpeed(GetPlayerPed(-1), teleportSpeed)
SetPedToRagdoll(GetPlayerPed(-1), 1, 1, 1, 0, 0, 0)
Wait(0)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







