I need help with TweenService

When I call MarketplaceService:PromptPurchase() to make a purchase prompt show, there is a Tween Animation that brings the prompt from the top of the screen to the middle. Here’s a video of it:

Now, I am trying to recreate Roblox purchase prompts, and I am trying to replicate the same kind of Tween Animation that the original prompts have.

The issue is that I’m horrible at Tweens and I did an absolute horrible job trying to recreate the animation that the original prompts have:

The script responsible for the animation of the original purchase prompt is probably a CoreScript or a CoreModule, but I can’t seem to find it in a GitHub repository that contains the source code of all CoreScripts in Roblox, specifically Roblox Client Tracker by MaximumADHD in GitHub

Could anyone help me in replicating or recreating the same kind of animation that the original purchase prompts have? Thank you so much!

It is overall pretty good, but needs that “smoothness” the Gui has. I’d recommend using Quad or Cubic

easy, for the tween info part change the Enum.EasingStyle to Circular (Enum.EasingStyle.Circular) and the Enum.EasingDirection to Out (Enum.EasingDirection.Out)

(of course if you want to you can try other easing styles and change it to whatever you like, but if you want that “smoothness” where it slows down, keep the easing direction to out)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.