Chest opening/Gacha/banner help

I want to achieve those anime banner Gacha opening systems you see in anime tower defense games or fruit battlegrounds

What I have
(First Apporach , clone a chest and set the camera cframe to the chest and play animation)

what i also tried doing was playing around with viewport but you cant put vfx in there only play animations)
– this is what i have created

the results i want

ik thse are ui but then how do get the vfx in them and etc

hey, your reference photos/videos are broken!

try again


if your not using viewport, just create textlabels and display them over the animation ending.

function OnAnimationEnd()
    local Text ="TextLabel")
    local Text.Parent = Players.PlayerGui:WaitForChild("GameUi") -- assuming this is where you store your game ui, it may be different. you could also make your own screengui through the script itself
    Text.Size = UDim2.fromScale(0.5, 0.2)
    Text.Position = UDim2.fromScale(0.5, 0.85)
    Text.AnchorPoint =, 0.5)
    Text.Text = "Gold Fruit"
    Text.TextColor3 = Color3.fromRGB(255, 255, 255)
    Text.BackgroundTransparency = 1

your version would likely look very different and have animations (probably using TweenService) but thats the idea.

I just went with the fruit batttlegrounds aproach



set the camera cframe

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