How would i make this coin drop effect

image
How would i achieve this? I want it to float towards the player.
image

image
i already have these

1 Like

you may try using BillboardGui.

1 Like
1 Like

these really look like ordinary UI so i mistaken

if you are focusing on “float to player”,
you can do every frame (pseudocode)

local t=0.5
coin.Position = lerp(coin.Position, player.Position, t)

1 Like

You can find the 2D position of the destroyed material on screen through

Camera | Documentation - Roblox Creator Hub (takes GUI insert into account)

or

Camera | Documentation - Roblox Creator Hub (ignores GUI insert)

From getting the 2D position on screen, you can create all the coins on there as ImageLabel UIs, and tween them out in random directions. Then, just tween towards the center of the screen (as the player will always be in the center) and then delete them.

1 Like

this is done by using a part that has a billboard GUI located in it. The part can be thrown out with a little added velocity to the part as it is parented to the workspace. Then if you want to move it towards player for pickup that is in range use a tween to position or alignposition

2 Likes

image
Thank you so much it worked

1 Like

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