Help with 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 comminuty!

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

shaune gaming

Member
Feb 9, 2021
1
0
1
24
Hello i was trying to make a bridge practice skript where if you walk on a redstone block on a specific world it give you 576 sandstone blocks and once you reach the gold it clears your blocks and says Finished! to the player . However, when i ran the command it just clears my inventory and says finished when there even if im not near the blocks

command /bridge:
trigger:
if player's world is "bridgepractice":
if blocks in radius 1 of player contains redstone_block:
make console execute command "clear %player%"
make console execute command "give %player% sandstone 576"
if blocks in radius 1 of player contains gold_block:
make console execute command "clear %player%"
send "finished" to player
 
Ok, we cant exactly help you if you dont format your code, you need to put it in a code box, by clicking the "Insert" button on posts, if you format it properly, peopel can help you