Need help with loop-block event

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

Status
Not open for further replies.

dan330

Member
Aug 17, 2017
3
0
0
27
I have this code:
command /setheadecocrate:
permission: "headeco.admin"
trigger:
loop blocks in radius 3 around block at player:
loop-block is a bedrock:
send "&fConverting block..."
set loop-block to end portal frame
set loop-block to {ender.portal.frame}
make player execute command "hd create headeco &fClick to open {@HeadEcoPref}"
send "&f&lSuccess!"
play note pling at player with pitch 1
on click:
if event-block is end portal frame:
if event-block is {ender.portal.frame}:
if {headeco.%player%} is more than 9:
if {headecoopening.%player%} is 1:


but I dont want to use all end portals in the world just that one created in the command!
Anyone knows how?
 
Status
Not open for further replies.