Discord Thread Void Skript

  • 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 community!

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

This thread came from the skUnity Discord. You can't reply to it here but if you join the skUnity Discord, you'll be able to post a reply there. The thread link is part of the thread's message.
Status
Not open for further replies.
Here is how you can check block below the player
code_language.skript:
if block below victim is glass block:

Posted by: eult from the skUnity Discord.
 
code_language.skript:
on damage:
    damage was caused by falldamage
    victim is a player
    if block below victim is glass block:
    teleport victim to location(36.05,63,-5.07, world "world")
    wait 1 tick
    kill victim
damage was caused by falldamage isn't a thing how do i type it then?
fall_damage

Posted by: _person___125 from the skUnity Discord.
 
fixed the falldamage is was "fall"
now its just whenever i take fall damage it kills me and teleports me
code_language.skript:
on damage:
    damage was caused by fall
    if block below victim is glass block
    victim is a player
    teleport victim to location(36.05,63,-5.07, world "world")
    wait 1 tick
    kill victim

Posted by: _person___125 from the skUnity Discord.
 
code_language.skript:
applescript
on damage:
    damage was caused by fall
    if block below victim is glass block:
      victim is a player
      teleport victim to location(36.05,63,-5.07, world "world")
      wait 1 tick
      kill victim

Posted by: eult from the skUnity Discord.
 
code_language.skript:
on damage:
    damage was caused by fall
    if block below victim is glass block:
        victim is a player
        teleport victim to location(36.05,63,-5.07, world "world")
        wait 1 tick
        kill victim
this one

should work

Posted by: eult from the skUnity Discord.
 
Status
Not open for further replies.