How do I make an ability so that everyone but you gets healed but you get damaged when doing that?

I want to know on how to make an ability to heal everyone while you get damaged when pressing that.

1 Like

Connect a button to a relay then to a heath granter to grant the health

Then, connect the same button to a damager to damage the player

Hope this helps! If you have any other questions, be sure to ask! :D

Or what @Thats_Gimpossible said lol

7 Likes

Im making an assumption, you mean a button that you can press on your screen for the ability, like a game overlay.
Ok, place a game overlay. Go into the device settings and set it to be a button. Wire the game overlay to a relay set to “all other players”. The relay should be wired to a health granter. This makes it so when you press the button, everyone gets healed. You can set the settings of the health granter yourself. Now, to damage yourself, wire the game overlay to a damager. You can set the damager settings to whatever you desire.

9 Likes

Yeah, that’s the best way to say it

3 Likes

If you want a built in button that can be clicked anywhere, use a game overlay. Attach the overlay to a giant zone covering the entire map: When pressed->activate zone. Attach the Overlay to a wire repeater set it for .01 seconds and deactivate zone . Attach a health granter to the overlay. that offsets the damage. (ex: if you want the ability to do 50 damage and heal 30 health use +80 to the health granter) If it’s too confusing use @gray2468 an I’ll make it simpler.

Never mind lol, That’'s Gimpossible had a better way, I forgot about the relay. Make sure to mark as solved.

5 Likes

You don’t actually need the zone, you can just use a relay to send a signal to all players lol. But a zone works too, if you are super patient ig.

5 Likes

Pressing what?

A button or game overlay

Thanks Jobozo1875!
I asked that just to make a game with 8 classes, one of them is a healer, and the ability I mentioned on the title of the question is inspired by the Healer in CFT: Doublefort (in Gimkit Creative). Thanks again, and thank you Thats_Gimpossible.
Cheers, GimBuilder

2 Likes

Thank you! :D

Don’t forget to mark a solution!

:clinking_glasses: cheers :)

2 Likes

I recommend you remove your name from your bio…

They post as an antonymous hacker sits behind a screen, finding @GimBuilder’s house on Google maps…

1 Like

I’ll give credit to you for the gimkit game I’m making btw :smiley:

1 Like

You don’t need to but thanks anyways! :D

Be sure to mark a solution to close the topic!

2 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.