Hello, first posting here. I'm making a 3-D Megaman like game where you fight bosses with specialized attacks, such as shooting you with a projectile. In my game you face off with a Boss at the end of the level with a custom rigged model, much like the player. In coding his attack pattern, Im in the process of making pre-made rocket and changing the position of it to wherever the Bosses arm is. The only problem comes whenever I need to define a target for the projectile to home in on.
wait(5) local target = game.Workspace.creamsodacrusader.Chestpiece.Core script.Parent.RocketPropulsion.Target = target script.Parent.RocketPropulsion:Fire()
How do I make it so it targets any player's "Core" part, since it is unique to the custom rig?
Thanks.