Last active
May 18, 2024 07:06
-
-
Save Aeplexi/54d0f57f81631712892a1bbe8f09558e to your computer and use it in GitHub Desktop.
R6 Original Pose Replication
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// now useless cuz u can get the real thing in the roblox luaapp with the revert button | |
// this is for anyone who edited their profile picture and want to return the r6 as close as possible back to the OG pose. | |
$.ajax({ | |
method: "POST", | |
url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization", | |
contentType: "application/json", | |
data: JSON.stringify({ | |
"camera": { | |
// Ranges are inclusive. | |
"distanceScale": 1, // 0.5 to 4 | |
"fieldOfViewDeg": 28.750661811816123, // 15 to 45 | |
"yRotDeg": 24.0 // -60 to 60 | |
}, | |
"emoteAssetId": 0, // emote asset id | |
// idleAnimationAssetId used to exist here, it has since been removed. | |
"thumbnailType": 2 // 1 = Closeup (headshot), 2 = FullBody (bodyshot). Closeup and FullBody can have different configurations. | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment