Discord Thread help coords

  • 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.
code_language.skript:
vb
on block break:
  if block is stone:
    if gamemode of player is survival:
      cancel event
      set block to dirt or oak log or cobblestone
      execute console command "/eco give %player% 10"
      send action bar "<##79fb00>+10" to player
      play sound "entity.player.levelup" with pitch 5 to player

Posted by: drchubs from the skUnity Discord.
 
code_language.skript:
vb
on block break:
  if block is stone:
    if gamemode of player is survival:
      if location of block = location(-12,73,-1097,world("world"))
       cancel event
       set block to dirt or oak log or cobblestone
       execute console command "/eco give %player% 10"
       send action bar "<##79fb00>+10" to player
       play sound "entity.player.levelup" with pitch 5 to player
i hate spoon feeding but this guy wont get it

Posted by: shadowslasher43 from the skUnity Discord.
 
code_language.skript:
vb
on brak of stone:
    gamemode of player = survival
    location of block = location(-12.5 73, -1097.5, world("world"))
    cancel event
    set block to dirt or oak log or cobblestone
    execute console command "/eco give %player% 10"
    send action bar "<##79fb00>+10" to player
    play sound "entity.player.levelup" with pitch 5 to player

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