Created
August 23, 2022 13:53
-
-
Save Suferr/90645a083915b87c48007f0f87012f9d to your computer and use it in GitHub Desktop.
This file contains 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
// ! VIEW YOUR CURRENT AVATAR THUMBNAIL CUSTOMIZATIONS: https://avatar.roblox.com/v1/avatar/thumbnail-customizations | |
// ! This script is using the API of an intentional feature, it's not a bug. Roblox may disable the ability for the thumbnail generator to use thumbnail customizations **at any time**. | |
// ! The API was enabled two times before the Profile Picture Editor in the app was enabled; see: https://twitter.com/RobloxTrackers/status/1512460262607048715 | |
// ! You probably would only get terminated if you get caught using the feature inappropriately. | |
/* | |
!! After your first time of setting a thumbnail configuration, the thumbnail of that type can not go back to how it was originally. | |
!! (i.e.: using Idle Animations, camera position). It can only be temporarily reverted if Roblox disables this feature again. | |
*/ | |
// doing ajax because easy csrf handling w/their middleware lol | |
$.ajax({ | |
method: "POST", | |
url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization", | |
contentType: "application/json", | |
data: JSON.stringify({ | |
"camera": { | |
// Ranges are inclusive. | |
"distanceScale": 2, // 0.5 to 4 - Camera distance scale from the avatar | |
"fieldOfViewDeg": 30, // 15 to 45 - Camera Field Of View (FOV) in degrees, slight effect | |
"xRotDeg": 0, // -20 to 20 - Camera X rotation in degrees | |
"yRotDeg": 0 // -60 to 60 - Camera Y rotation in degrees | |
}, | |
"emoteAssetId": 0, /* The assetId of an emote you own. 0 for no emote. | |
* example: 3696763549 in https://www.roblox.com/catalog/3696763549/Heisman-Pose | |
*/ | |
// idleAnimationAssetId used to exist here, it has since been removed. | |
"thumbnailType": 1 /* The thumbnailType | |
* 1 = Closeup (headshot) | |
* 2 = FullBody (bodyshot) | |
Closeup and Fullbody can have separate configurations. | |
*/ | |
}) | |
}) | |
// Logs `{success:true}` if success or text if failed | |
.then(data => console.log(data)).fail(error => console.log(error.responseText)); |
Playing Roblox is one of my favorite activities, and emotes are definitely one of its standout features. When I feel like expressing myself in the game, I look for free emotes online. I frequently check out specialized Roblox emotes websites that offer a range of animations, from playful dances to stylish gestures. Incorporating these emotes into my gameplay not only makes it more enjoyable but also allows me to connect with friends and showcase my unique style!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice