Skip to content

Instantly share code, notes, and snippets.

@Korsinemi
Created August 19, 2022 00:04
Show Gist options
  • Save Korsinemi/b52d1382d8e064429140f5ff4e1f5f6b to your computer and use it in GitHub Desktop.
Save Korsinemi/b52d1382d8e064429140f5ff4e1f5f6b to your computer and use it in GitHub Desktop.
An easy script to get a ROBLOX Profile with an emote pic - To run just copy the code, paste on console and follow the instructions
$.ajax({
method: "POST",
url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization",
contentType: "application/json",
// ------------ //
data: JSON.stringify({
//-> The configurations of the camera pos
"camera": {
//-> Ranges are inclusive.
"distanceScale": 2, // 0.5 to 4
"fieldOfViewDeg": 30, // 15 to 45
"xRotDeg": 0, // -20 to 20
"yRotDeg": 0 // -60 to 60
},
// ------------ //
//-> Make sure you have the emote you are taking the ID from.
"emoteAssetId": 0, //-> Emote asset ID.
//-> These can both be 0 for no animation, but both can't be non-zero at the same time.
"idleAnimationAssetId": 0, //-> Idle animation asset ID (Same of emote or another).
// ------------ //
"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