Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -the Line with "WriteFloat" sets the in this case 2.0 that is exactly the same as normal but can be set to well anything ..
- [ENABLE]
- if syntaxcheck then return end
- local AoB = "C5 ?? ?? ?? ?? ?? ?? ?? C5 ?? ?? ?? C5 ?? ?? ?? ?? ?? C5 ?? ?? ?? ?? C5 ?? ?? ?? ?? ?? C5 ?? ?? ?? E8"
- local Scan = aobScanEx(Start, End, AoB)
- print(AoB)
- if Scan == nil or Scan.Count ~= 1 then
- print("'MovementSpeed_AoB' not found or more then 1 result:")
- print(AoB)
- else
- registerSymbol("MovementSpeed_AoB", Scan[0] .. "", true)
- MovementSpeed_Backup = readBytes("MovementSpeed_AoB", 8, true)
- local MovementSpeed_Ptr = allocateMemory(1, getAddress("MovementSpeed_AoB"))
- registerSymbol("MovementSpeed_Ptr", MovementSpeed_Ptr)
- writeFloat("MovementSpeed_Ptr", 2)
- end
- [DISABLE]
- if syntaxcheck then return end
- deAlloc(getAddress("MovementSpeed_Ptr"))
- unregisterSymbol("MovementSpeed_Ptr")
- writeBytes("MovementSpeed_AoB", MovementSpeed_Backup)
- unregisterSymbol("MovementSpeed_AoB")
- MovementSpeed_Backup = nil
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement