already fixed, ignore this

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

  • LOOKING FOR A VERSION OF SKRIPT?

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

axolotlified

Member
Jul 30, 2024
1
0
1
Hello!
I have a skript that makes a block turn into bedrock after being broken, but only if it is at those specific coordinates. It does return "A" so I know that works... it just isn't setting the block. I don't know why it isn't setting the block.

code_language.skript:
on break:
  set {_locx} to x position of event-block
  set {_locy} to y position of event-block
  set {_locz} to z position of event-block
  broadcast "%{_locx}%"
  broadcast "%{_locy}%"
  broadcast "%{_locz}%"
  if {_locx} = 0.5:
    if {_locz} = 0.5:
      if {_locy} = 100.5:
        broadcast "A"
        set block at location 0, 100, 0 in world "Skyblock1" to bedrock

NEVERMIND i figured it out, it was just spawn protection's fault!!!!!!