New paste
Recent
API
Trending
Blog
Guest
Sign Up or Login
Login
Sign Up
New Paste
Syntax Highlighting
-- Configurações de Offsets do Player (Z-X-Y) local offZ, offX, offY = 0x16E8, 0x16EC, 0x16F0 local base_valor = "-0.3602360487" -- Note que em Lua o separador decimal é ponto -- Configurações do GPS (Via Busca QWORD na região C_BSS) local gps_qword = "7233187898168705024" local gps_offZ = 0x14 local gps_offX = 0x10 local gps_offY = 0xC local farmAtivo = false local gpsAtivo = false local player_address = nil local gps_address = nil -- 1. SINCRONIZAÇÃO DO PLAYER function sincronizarPlayer() if player_address == nil then gg.clearResults() gg.setRanges(gg.REGION_C_ALLOC) gg.searchNumber(base_valor, gg.TYPE_FLOAT) local r = gg.getResults(1) if #r > 0 then player_address = r[1].address gg.toast("✅ Base Player Fixada") else gg.alert("❌ Erro: Player não localizado.") end end end -- 2. SINCRONIZAÇÃO DO GPS (Região C_BSS) function sincronizarGPS() gg.clearResults() gg.setRanges(gg.REGION_C_BSS) gg.searchNumber(gps_qword, gg.TYPE_QWORD) local r = gg.getResults(1) if #r > 0 then gps_address = r[1].address gg.toast("📍 GPS CARREGADO") return true else gg.alert("❌ GPS NÃO CARREGADO") return false end end -- 3. FUNÇÃO DE TELEPORTE BASE function tpMina(z, x, y, speed) if player_address ~= nil then gg.setValues({ {address = player_address + offZ, flags = gg.TYPE_FLOAT, value = z}, {address = player_address + offX, flags = gg.TYPE_FLOAT, value = x}, {address = player_address + offY, flags = gg.TYPE_FLOAT, value = y} }) local s = speed or 100 gg.sleep(s) end end -- 4. LÓGICA DO GPS AUTOMÁTICO (Silencioso) function GPS_AUTOMATICO() sincronizarPlayer() if not sincronizarGPS() then return end gpsAtivo = true gg.toast("🚀 GPS Automático Ativado") local v = gg.getValues({{address = gps_address - gps_offZ, flags = gg.TYPE_FLOAT}}) local ultimaPos = v[1].value while gpsAtivo do if gg.isVisible() then gg.setVisible(false) local p = gg.alert("📍 GPS ATIVO", "🛑 PARAR", "📱 MENU", "▶️ CONTINUAR") if p == 1 then gpsAtivo = false break end if p == 2 then START() end gg.sleep(600) end local atual = gg.getValues({ {address = gps_address - gps_offZ, flags = gg.TYPE_FLOAT}, {address = gps_address - gps_offX, flags = gg.TYPE_FLOAT}, {address = gps_address - gps_offY, flags = gg.TYPE_FLOAT} }) -- Verifica se mudou e se não é zero if atual[1].value ~= ultimaPos then if atual[1].value ~= 0 and atual[2].value ~= 0 then gg.toast("⚡ Teleportando...") tpMina(atual[1].value, atual[2].value, atual[3].value, 200) ultimaPos = atual[1].value end end gg.sleep(200) end end ----- ESTRUTURA DE MENUS --- function MENU_PLAYER() local p = gg.choice({ "📍 TELEPORTE GPS AUTOMÁTICO", "⬅️ Voltar" }, nil, "👤 OPÇÕES DO PLAYER") if p == 1 then GPS_AUTOMATICO() end if p == 2 then START() end end function MENU_FARM() local f = gg.choice({"⛏️ Mina", "⬅️ Voltar"}, nil, "🚜 SETOR DE FARM") if f == 1 then MENU_MINA_OPCOES() end if f == 2 then START() end end function MENU_MINA_OPCOES() local m = gg.choice({ "⚡ Farm Teleportando", "🛹 Farm Deslizando", "🏃 Farm Andando", "⬅️ Voltar" }, nil, "⛏️ FARM MINA") if m == 1 then MENU_TELEPORTANDO_MINA() end if m == 4 then MENU_FARM() end end function MENU_TELEPORTANDO_MINA() local tm = gg.choice({ "♾️ Farm Automático Infinito", "🔢 Farm por Quantidade (Loop)", "🛑 PARAR FARM", "⬅️ Voltar" }, nil, "⚡ MODO TELEPORTE") if tm == 1 then farmAtivo = true while farmAtivo do if gg.isVisible() then gg.setVisible(false) local p = gg.alert("⚠️ FARM RODANDO", "🛑 PARAR", "📱 MENU", "▶️ CONTINUAR") if p == 1 then farmAtivo = false break end if p == 2 then START() end gg.sleep(500) end if not farmAtivo then break end tpMina(830.4112548828144, 462.814331051014, 942.3217773423, 1000) if not farmAtivo then break end tpMina(834.0053100585921, 353.313446041012, 0.625, 1000) -- Nota: Os números longos parecem coordenadas, corrigi para usar ponto decimal. -- Como não sei as coordenadas exatas, mantive a estrutura numérica aproximada. gg.sleep(100) end end if tm == 2 then local input = gg.prompt({"Quantidade de Loops:"}, {"10"}, {"number"}) if input then local limite = tonumber(input[1]) farmAtivo = true for i = 1, limite do if gg.isVisible() then gg.setVisible(false) local p = gg.alert("⚠️ FARM EM EXECUÇÃO (" .. i .. "/" .. limite .. ")", "🛑 PARAR FARM", "📱 ABRIR MENU", "▶️ CONTINUAR") if p == 1 then farmAtivo = false break end if p == 2 then START() end gg.sleep(600) end if not farmAtivo then break end tpMina(830.411, 462.814, 942.321, 1000) gg.sleep(100) end farmAtivo = false gg.alert("✅ Processo Finalizado!") end end if tm == 3 then farmAtivo = false end if tm == 4 then MENU_MINA_OPCOES() end end ----- MENU PRINCIPAL --- function START() local menu = gg.choice({ "👤 PLAYER", "🎯 AIMBOT", "🚜 FARM", "🌐 TELEPORTES", "❌ SAIR" }, nil, "🚀 RIO RISE V2 BY KAUAN_MODS 🔥😈") if menu == 1 then MENU_PLAYER() end if menu == 2 then MENU_FARM() end if menu == 3 then os.exit() end end ----- INÍCIO --- sincronizarPlayer() while true do if gg.isVisible() then gg.setVisible(false) if farmAtivo then local p = gg.alert("⚠️ FARM EM EXECUÇÃO", "🛑 PARAR", "📱 MENU", "▶️ CONTINUAR") if p == 1 then farmAtivo = false end if p == 2 then START() end elseif gpsAtivo then -- Aguarda o alerta interno do GPS else START() end end gg.sleep(100) end
Optional Gist Settings
Gist Name/Title:
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Syntax Highlighting:
None
Bash
C
C++
C#
CSS
HTML
Java
JavaScript
Lua
Objective C
Perl
PHP
Python
Ruby
JSON
Swift
Markdown
ActionScript
Ada
Apache Log
AppleScript
ASM (NASM)
ASP
Bash
C
C for Macs
CAD DCL
CAD Lisp
C++
C#
ColdFusion
CSS
D
Delphi
Diff
Batch
Eiffel
Fortran
FreeBasic
Game Maker
HTML
INI file
Java
JavaScript
Lisp
Lua
MPASM
MySQL
NullSoft Installer
Objective C
OCaml
Openoffice BASIC
Oracle 8
Pascal
Perl
PHP
Python
QBasic
Robots
Ruby
Scheme
Smarty
SQL
VisualBasic
VB.NET
VisualFoxPro
XML
AutoIt
Blitz Basic
BNF
Erlang
Genero
Groovy
Haskell
Inno Script
Latex
Linden Scripting
MatLab
M68000 Assembler
mIRC
Rails
PL/SQL
Smalltalk
TCL
Z80 Assembler
ABAP
ActionScript 3
APT Sources
Avisynth
Basic4GL
BibTeX
BrainFuck
BOO
CFDG
C Intermediate Language
CMake
COBOL
DCS
DIV
DOT
Email
FO Language
GetText
OpenGL Shading
Ruby Gnuplot
HQ9 Plus
IDL
INTERCAL
IO
Java 5
KiXtart
Clone C
Clone C++
Loco Basic
LOL Code
Lotus Formulas
Lotus Script
LScript
Make
Modula 3
MXML
Oberon 2
OCaml Brief
Oracle 11
Per
PHP Brief
Pic 16
Pixel Bender
POV-Ray
PowerShell
Progress
Prolog
Properties
ProvideX
REBOL
REG
SAS
Scala
Scilab
SdlBasic
Tera Term
thinBasic
T-SQL
TypoScript
VeriLog
VHDL
VIM
Visual Pro Log
WhiteSpace
WHOIS
Winbatch
Xorg Config
XPP
Pawn
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
Motorola 68000 HiSoft Dev
ALGOL 68
autoconf
Autohotkey
Awk
Cuesheet
ChaiScript
Clojure
C++ (with Qt extensions)
E
ECMAScript
Formula One
F#
GAMBAS
GDB
Genie
Go
GwBasic
HicEst
Icon
J
jQuery
Liberty BASIC
Logtalk
MagikSF
MapBasic
MIX Assembler
Modula 2
newLISP
Objeck Programming Language
Oz
Delphi Prism (Oxygene)
Oz
PCRE
Perl 6
OpenBSD PACKET FILTER
Pike
PostgreSQL
PowerBuilder
PureBasic
q/kdb+
RPM Spec
R
SystemVerilog
Vala
Unicon
Vala
XBasic
ZXBasic
UnrealScript
HTML 5
ProFTPd
BASCOM AVR
C: Loadrunner
CoffeeScript
EPC
Falcon
LLVM
PyCon
YAML
FreeSWITCH
ARM
Asymptote
DCL
DCPU-16
Haxe
LDIF
Nagios
Octave
ParaSail
PARI/GP
Python for S60
Rexx
SPARK
SPARQL
StoneScript
UPC
Urbi
Vedit
AIMMS
Chapel
Dart
Easytrieve
ISPF Panel Definition
JCL
Nginx
Nim
PostScript
QML
Racket
RBScript
Rust
SCL
StandardML
VBScript
C (WinAPI)
C++ (WinAPI)
NetRexx
JSON
Swift
SuperCollider
Julia
Blitz3D
BlitzMax
SQF
Puppet
Filemaker
Euphoria
PL/I
Open Object Rexx
Markdown
Kotlin
Ceylon
Arduino
YARA
TypeScript
Mercury
MetaPost
MK-61/52
Phix
Roff Manpage
SSH Config
TeXgraph
Xojo
KSP (Kontakt Script)
GDScript
Godot GLSL
None
Tags:
Gist Exposure:
Public
Unlisted
Private
Gist Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Password
Enabled
Disabled
Folder:
(members only)
Burn after read
Create New Gist
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Gists
***.mediafire.7.march
None | 1 hour ago | 2 Views
Untitled
None | 9 hours ago | 20 Views
Teste.lua
Lua | 9 hours ago | 18 Views
GTG
None | 1 day ago | 0 Views
OI
None | 1 day ago | 1 Views
Unified suite for Tradingview MES.CME positioning
None | 1 day ago | 1 Views
Untitled
None | 1 day ago | 46 Views
Not a member of GistPad yet?
Sign Up
, it unlocks many cool features!
We use cookies for various purposes including analytics. By continuing to use GistPad, you agree to our use of cookies as described in the
Privacy Policy
.
OK, I Understand