How do I make an object appear and disappear during animation

  1. What do you want to achieve? Keep it simple and clear!
    I want an object to appear during an animation only and disappear when the animation is done.
  2. What is the issue? Include screenshots / videos if possible!
    idk how to do this, i’ve been trying to find tutorials but I cant find any.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I tried searching on youtube and forums but I cant find anything.

Something like this would achieve what your asking.

myPart.Transparency = 0 --Visible
	myPart.Transparency = 1 --Hidden
1 Like

So I should make the part already attached to my character?

I couldn’t say. I have no idea what exactly your trying to do besides make a part visible or not depending on if an animation is playing.

But yes, if its something that would be attached to the player I would make sure that is already done before playing the animation. You could leave it there all the time or actually physically add/remove it each time. That’s up to you.

1 Like