Rolling System to Spawn an NPC

I am making a Roll System where if you roll say a “Normal Zombie” then it will spawn a normal zombie


The current problem with this script is that it is A. Not spawning anything and B. it does not have any errors. (HRP is something someone told me to try which is why it says its an error) If anyone can help that would be greatly appreciated.

HRP is not a value you made change HRP to

newZombie.HumanoidRootPart

Like this?

It still doesn’t work, it does not come up with any errors. It probably has something to do with the parenting

Does it even print “A normal Zombie has appeared!”?
If so check the zombie model and replace HumanoidRootPart with the rootparts name in the zombie model.

Post a picture of the Normal Zombie model in the explorer so i can see the parts in it.

It does not print “A Normal Zombie has appeared!” but here is the parts in the model I made

Nothing appears in the output when I roll

Oh ok, check if the remote event even gets fired at all.

The one in replicated Storage?
Screenshot 2024-04-29 200709
btw I am an insane beginner like I don’t know anything pretty much how do I check if the remote event is getting fired?

To check if it was fired do

Game.ReplicatedStorage(get ur event).OnServerEvent

like this?