Skip to content

Instantly share code, notes, and snippets.

@Julli4n
Last active February 28, 2024 19:00
  • Star 239 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Julli4n/13016b11e80109ba643ab9e90b431e02 to your computer and use it in GitHub Desktop.
ROBLOX
/*
!! The feature that uses this endpoint has recently started rolling out to users.
!! See `App > Avatar > Profile Picture Editor`
!!
!! You may continue using this script, the only advantage is being able to
!! customize FullBody and Closeup independently.
*/
// ! VIEW YOUR CURRENT AVATAR THUMBNAIL CUSTOMIZATIONS: https://avatar.roblox.com/v1/avatar/thumbnail-customizations
/*
!! 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 (Closeup) 1 (FullBody) - Camera distance scale from the avatar
"fieldOfViewDeg": 30, // 15 to 45 - Camera Field Of View (FOV) in degrees, slight effect
// xRotDeg used to exist here.
"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.
*/
})
}).then(data => console.log(data)).fail(error => alert(error.responseJSON.errors[0].message));
// Logs `{success:true}` if success or website alert if error.
@MasterGlitterYT
Copy link

Screenshot_2024-02-03-14-41-04

@tvrmentor
Copy link

Screenshot_2024-02-03-14-41-04

how do you do this? for me it just puts an error everytime i try the inspect thing, or is it patched?

@ducky9120
Copy link

hello, or hello, I have an error that cannot be inserted there, although I used to calmly insert and get what I need. Please help me! if the wrong words are not spelled correctly, it is because of the translator.

@nopp123
Copy link

nopp123 commented Feb 12, 2024

noFilter
It not working

@Bxndy03
Copy link

Bxndy03 commented Feb 15, 2024

Okay, my Roblox avatar page image is zoomed in too much but I can't undo it, is there any way to fix the problem?
Screenshot 2024-02-15 4 01 29 PM

@ToolFlation
Copy link

One way to fix it is to use a gear that lowers your avatar, like a sword. Another way is wearing a hat that does the same thing.

@Calwing999
Copy link

Calwing999 commented Feb 16, 2024

I really wish that the xRotDeg and the ability zoom out for the avatar picture on the bottom didnt get patched. using xRotDeg, could have made the headshot very close to 100% perfect and while it was still impossible to get the avatar pic perfect, using the xRotDeg and zooming out, we still were able to get a decent looking recreation without having to waste robux on gears 😞

@Calwing999
Copy link

Calwing999 commented Feb 16, 2024

image
recreation of the old pfp before xRotDeg got patched

@ToolFlation
Copy link

ToolFlation commented Feb 16, 2024

I miss xRotDeg

@ToolFlation
Copy link

ToolFlation commented Feb 16, 2024

I also miss how the emote would also show in certain games like Murder Mystery 2, where it used your avatar bust image, but then roblox removed that

@ToolFlation
Copy link

But the good side is that the old FOV angle is back

@alimusi12344
Copy link

image i got

How did you make the fullbody like that?

@robloxsantino2022
Copy link

But the good side is that the old FOV angle is back

wdym

@robloxsantino2022
Copy link

image recreation of the old pfp before xRotDeg got patched

bro i want that angle so badly

@ToolFlation
Copy link

ToolFlation commented Feb 21, 2024

1000008568

Do you think this guy's last wish on roblox is to face forward at the camera? Probably not.

@robloxsantino2022
Copy link

1000008568

Do you think this guy's last wish on roblox is to face forward at the camera? Probably not.

2008 roblox visor madness

@robloxsantino2022
Copy link

image recreation of the old pfp before xRotDeg got patched

you can still do it without x rot deg, but it wont work on occassions like the dumb thing where ur avatar gets pushed out of frame and under.
reerfwerfewrferw

@Calwing999
Copy link

image recreation of the old pfp before xRotDeg got patched

you can still do it without x rot deg, but it wont work on occassions like the dumb thing where ur avatar gets pushed out of frame and under. reerfwerfewrferw

Yeah its really annoying how after enabling the emote profile thing, in the pfp when we wear some hats that zoom out more, it doesn't adjust nicely like like the old angle did and will make the pfp look WAY too zoomed in. Mine has a sign that zooms it out so I had to adjust it manually.

image

@SSJblack
Copy link

how do i get this?
Cpture

@SSJblack
Copy link

is it possible to revert the changes ive made after using these codes in the console?

@Seva1912
Copy link

Unfortunately, no.
There's no known way to revert the profile picture once you apply the emote.

@raye44
Copy link

raye44 commented Feb 27, 2024

How do get Roblox on your computer

@OnyxiJade
Copy link

OnyxiJade commented Feb 27, 2024 via email

@raye44
Copy link

raye44 commented Feb 28, 2024 via email

@robloxsantino2022
Copy link

GUYS I THINK WE ARE GETTING OUR OLD ANGLES BACK LETS GOO
34R4234RW3E3E4RWE4RWQEQWER

@raye44
Copy link

raye44 commented Feb 28, 2024 via email

@raye44
Copy link

raye44 commented Feb 28, 2024 via email

@OnyxiJade
Copy link

OnyxiJade commented Feb 28, 2024 via email

@naserna
Copy link

naserna commented Feb 28, 2024

GUYS I THINK WE ARE GETTING OUR OLD ANGLES BACK LETS GOO 34R4234RW3E3E4RWE4RWQEQWER

Finally. That a really good news

@paa0301
Copy link

paa0301 commented Feb 28, 2024

GUYS I THINK WE ARE GETTING OUR OLD ANGLES BACK LETS GOO 34R4234RW3E3E4RWE4RWQEQWER

im pissing my pants right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment