How do i make something similiar to this?

Hello!

I don’t know which topic to use, but i was wondering on how to make this, the screenshot is from cold war

image

its a GUI that shows which body part got shot/hurt, and you can heal it using bandages and clicking on the GUI’s body part

Could anyone tell me how to make something like that?
Thanks for reading!

1 Like

You can use Frames with any GuiButton in them for detecting which got clicked!

1 Like

I think you would need to use raycasts for your guns here, check if whatever the ray hits is from a player’s character, if it is then you fire the shot player’s client and pass along the part that is from the shot player’s character. From there you should have a LocalScript that listens for an event like that and then make changes to the GUI accordingly.

Here are some sources that I think would be useful for you:

You can find tutorials on Youtube about these topics too if you think videos are easier to understand

1 Like

I already have this doubt too. If I were you, I would create a health value for each body part and then just display it on this GUI, that you can create with Frames.

1 Like

sounds interesting, might try it and maybe add some colors of red each hit, until its unavailable and you cant use it

1 Like

thanks! i will check it out later, im working on a gun currently

1 Like

alright, sweet! im guessing thats for the healing part?

1 Like

Yes!, blah blah blah 30 word limit

2 Likes