Advertisement
Flameso_o16

roblox offsets

Jan 5th, 2025 (edited)
818
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.59 KB | None | 0 0
  1. import requests
  2. import json
  3.  
  4. API_KEY = "" # (CREATE AN ACCOUNT AND THE API KEY WILL BE THERE ONCE YOU LOGGED IN PASTE THE LINK IN YOUR BROWSER https://dash.rbxstats.xyz)
  5. url = f"https://api.rbxstats.xyz/api/offsets?api={API_KEY}"
  6.  
  7. response = requests.get(url)
  8.  
  9. if response.status_code == 200:
  10.     offsets_data = response.json()
  11.    
  12.     with open("roblox_offsets.json", "w") as json_file:
  13.         json.dump(offsets_data, json_file, indent=4)
  14.    
  15.     print("Offsets successfully saved to roblox_offsets.json")
  16. else:
  17.     print(f"Failed to fetch offsets. Status code: {response.status_code}")
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement