Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I make a humanoid that gives money on shot?

Hey, I'm making a game, and I want a way to make a zombie that gives you money on shot, and even more money on kill. -SystematicV

1 answer

Since I don't know what code you're working with, here are some pointers:

  1. Change the name of the Zombies' Humanoids, so that they are different from the Player's Humanoid.
  2. Fix any bugs that may create in the zombies. Easily done by renaming "Humanoid" in the zombie scripts to whatever you renamed the humanoid to.
  3. In the gun script, look for where it deals damage.
  4. Change it so that it deals damage to your new humanoid name, not "Humanoid"
  5. Add an if statement check to see if the shot kills the zombie. If it does, award the kill points. If not, award the shot points.

This discussion is preserved as it was. New answers, comments, and votes are closed.