How can i recreate this effect in TweenService?

  1. What do you want to achieve? A simple tween that makes the gui appear from the right screen whilst doing a simple wiggle effect (not that big) and then briefly disappear same direction too.

  2. What is the issue? Can’t seem to figure which properties work best for this scenario.

  3. What solutions have you tried so far? I tried various examples from other posts but they weren’t that smooth.
    Please excuse me for anything! i’m still trying to figure out how Tweens work.
    I only need the proper properties! no need for a full script! Sorta like this.
    Create(frame, TweenInfo.new(0.75, Enum.EasingStyle.Quart, Enum.EasingDirection.In)

Easingstyle
[source] EasingStyle
this might be useful

I’m looking for elastic, however how do i keep making it move rather than stopping?

you could use Enum.EasingDirection.InOut

1 Like

Well i tried that but i get this error TweenService:Create property named 'AnchorPoint' cannot be tweened due to type mismatch (property is a 'Vector2', but given type is 'Vector3')

Here is my script:

local Tween = tweenservice:Create(frame, TweenInfo.new(7, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out) , {
		Position = UDim2.new({0.354, 0},{0.644, 0}),
		AnchorPoint = Vector3.new(0,0)
})

This is how you currently have it:

AnchorPoint = Vector3.new(0,0)

However it should be:

AnchorPoint = Vector2.new(0,0)