Spawn object on player

What I have is when the player Collides with an apple the apple attaches onto him, and when hitting the space bar it deletes it. What I want is when the player hits the Space bar, the Apple will drop.

When the space bar deletes it, I spawn in another Apple, But I don’t know how to spawn it on the player or beside the player, it always spawns somewhere else.

Extract x and y and put it into the spawn x and y and spawn the apple

2 Likes

Now when I drop it, I auto pickup.

What Im thinking is to put a timer on the apple, and not allow the player to pickup after 1sec. Can you help me?

Timer → switch (on)
make that switch control all of the apple pick up system