Any clue what to call this?

I want to achieve this look when a player purchases something, but I have no clue how to start this.

A model fades in when a player purchases something, and I want to achieve that look for my game.
Any clues to what this is called?

2 Likes

They are called tycoons if you type up “how to make a tycoon on roblox” you will find a bunch of tutorials on how to make one.

Misunderstood, I’m talking about how a model fades in from different angles after a purchase!

local TS = game:GetService("TweenService")

function FadeIn(Model)
    for i,v in pairs(Model:GetDescendants()) do
        if v:IsA("Part") or v:IsA("MeshPart") do
            v.Transparency = 1
            TS:Create(v, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut, 0, false, 0), {Transparency = 0 --or u could use a numbervalue or smth with a set transparency}:Play() --im pretty sure tweens don't yield. if they do, wrap in a coroutine
        end
    end
end

You are able to search up things yourself on https://developer.roblox.com as it is a free library of all Roblox API. The DevForum is not a place where you ask for people to code for you, but rather a place to seek help if needed, share resources with other like-minded people etc.

2 Likes

Not sure if that script was supposed to operate, but thanks for the tip. Also wasn’t asking for the code, just asking what would you call it so I could learn it.

It’s called “TweenService” a service that creates transition between something and something. Examples for the tycoon, it tweens the transparency from 1 to 0 so it looks like it’s fading in like that.

1 Like

I’m assuming you mean the model tweens its transparency and each part of the model ‘constructs’ itself in that animation where everything is completely random and then fits together. I know what you mean.
Most likely, they’re using TweenService to tween in the transparency. For the orientation, I’m assuming they set each part’s orientation to a completely random amount and then set their position to be slightly and randomly offset. Then, they use TweenService to tween the model’s orientation and transparency to how it is. Look into math.random() and Vector3.new() and TweenService. The end effect you get is a really nice ‘construction’ animation

1 Like