Advertisement
adham-ahmed

Roblox avatar position changer use in console

Sep 10th, 2022
1,503
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.95 KB | None | 0 0
  1.  
  2.    python
  3. $.ajax({
  4.   method: "POST",
  5.   url: "https://avatar.roblox.com/v1/avatar/thumbnail-customization",
  6.   contentType: "application/json",
  7.   data: JSON.stringify({
  8.     "camera": {
  9.         // Ranges are inclusive.
  10.         "distanceScale": 2, // 0.5 to 4 (Closeup) 1 (FullBody) - Camera distance scale from the avatar
  11.         "fieldOfViewDeg": 30, // 15 to 45 - Camera Field Of View (FOV) in degrees, slight effect
  12.         // xRotDeg used to exist here.
  13.         "yRotDeg": 0 // -60 to 60 - Camera Y rotation in degrees
  14.     },
  15.     "emoteAssetId": 0, / The assetId of an emote you own. 0 for no emote.
  16.     * example: 3696763549 in https://www.roblox.com/catalog/3696763549/Heisman-Pose
  17.     /
  18.     // idleAnimationAssetId used to exist here, it has since been removed.
  19.     "thumbnailType": 1 / The thumbnailType
  20.     * 1 = Closeup (headshot)
  21.     * 2 = FullBody (bodyshot)
  22.  
  23.     Closeup and Fullbody can have separate configurations.
  24.     */
  25.   })
  26. })
  27.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement