Title explains it. I have a revive system in my game, and i was wondering how to make a gui visible when i go near a downed player, something like this
(footage from another game)
I just need some suggestions to make a gui visible when near another player, nothing else
Thanks!
When a player is downed, start looping a check for :GetPartBoundsInRadius()
If a player part is detected, get the player from that character using :GetPlayerFromCharacter()
Then, using a RemoteEvent you can fire the client of the player that has been detected to enable the GUI on their screen.
You could add a tag or set an attribute to the downed player, then you could use a loop in a local script to check if the magnitude between the two players are less than something.