Any way to make an efficient swimming system, with energy and drowning?

I’m making a map called Islands (not trying to advertise), and the whole point of it is, well, to mess around with the unique properties of different islands. Problem with that is, I’m having device-block for the system that involves swimming. Any ideas?

I’m trying to make it similar to LEGO Fortnite’s swimming system:

  1. Slow the player down.
  2. Show remaining energy.
  3. If the player is moving, drain energy; else do nothing.
    3.1. Check if the player has left the zone, and turn off the system.
  4. When energy depleted, respawn and send a custom feed message.
(Edited)

If this is advertising, I will modify the original post. Just let me know.

Attach the device that makes the player d1es then respawn.

Tutorial shows remaining energy

Speed modifiers can slow the player when move side to side.

2 Likes
  1. This is old. This shouldn’t affect it much, but it’s to note.
  2. This can be attached to a Zone, and I can omit the Questioner and Starting Inventory, right?
  3. How do I randomise drown messages?
  1. No, it should work. tell me if it doesnt

  2. Yes, i think…not sure. Or, you could just have this active the entire game, but continuesly give him energy, unless touching water.

  3. How To Make A Death Message + Death Randomizer! 🟨 - #28 by chrysostom

edit : why does some comments have to be approved by a mod?

I am confused.

1 Like

Thanks! Solution marked.

1 Like