So I got the rescale script, but i’m not quite sure how to make it rescale over time. Like over the timespan of a minuet, it slowly grows the X coordinate to let’s say 10, so it goes from 1 or whatever and overtime grows to 10. Script is:
bool resized = false;
void Update()
{
if (Input.GetKey("f") && resized == false) // If the player is pressing the "f" key
{
Vector3 CurrentScale = transform.localScale;
Vector3 newScale = CurrentScale + new Vector3(0, 0, -0.4f);
transform.localScale = newScale;
resized = true;