Ok so here is a bit of context. I am trying to make a skript that will teleport you to a certain set of coordinates once you've mined X amount of dirt or stone or whatever it is in the future. At this point in time, I need it to be for dirt.
2.6.3
Skript author: Me, Quiettee
1.19.2
The errors I am getting on reload are
1. Line 8, Indentation error: Expected 0 tabs but found 1 tab.
2: Line 7: Invalid line - all code has to be put into triggers
All help is appreciated!
2.6.3
Skript author: Me, Quiettee
1.19.2
Code:
variables:
{dirtcount} = 0
on pickup of dirt:
add 1 to {DirtCount}
if {dirtcount} = 5
teleport %uuid of player% to 280981 164 48866
The errors I am getting on reload are
1. Line 8, Indentation error: Expected 0 tabs but found 1 tab.
2: Line 7: Invalid line - all code has to be put into triggers
All help is appreciated!