so I'm making a game like plants versus zombies versus mode and I'm creating objects when a certain button is pressed and syncing them but it doesn't show up for the other player
Develop games in your browser. Powerful, performant & highly capable.
i really need help with this one
You did not provide enough information.
If you're making a multiplayer game, follow the multiplayer tutorials properly and you'll know how to have objects synced between peers.
i have the objects synced after the players are in the multiplayer, one moves backwards and the other just stands there and shoots bullets, the bullets work and can be seen but the pistolman and zombie cant.
If the host creates a synced object, that object will be created (and positioned, if set) the same way for all connected peers as well.
If not, you did something wrong.
the peer also creates objects
it still doesn't work