Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import json
- 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)
- url = f"https://api.rbxstats.xyz/api/offsets?api={API_KEY}"
- response = requests.get(url)
- if response.status_code == 200:
- offsets_data = response.json()
- with open("roblox_offsets.json", "w") as json_file:
- json.dump(offsets_data, json_file, indent=4)
- print("Offsets successfully saved to roblox_offsets.json")
- else:
- print(f"Failed to fetch offsets. Status code: {response.status_code}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement