Suffocating

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Remo

Member
Mar 20, 2024
41
3
8
24
Hello is there any condition or a state so i can detect if player is suffocating, something like this
Code:
on damage:
    if player is suffocating:
        cancel the event
 
Python:
on damage:
    if damage cause is %Damage Cause%:
        cancel event

Use this. You can find damage causes at:

Example:

Python:
on damage:
    if damage cause is fall:
        cancel event