#Help me on this small skript
1 messages · Page 1 of 1 (latest)
The skript 👍 💯
!format
Code Blocks
To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:
```
Code here
```
on left click:
if target block is grass block:
if player is holding a stick:
send "&2Added 1$ to your balance!" to player
else of target block is grass block:
if player is holding a stick:
if player's offhand tool is flint:
send "&2Added 111$ to your balance!" to player
noice
Your indentation is off
let me fix that
The target block check doesnt need to be put twice since you are checking for the same block
k
on left click:
if target block is grass block:
if player is holding a stick:
send "&2Added 1$ to your balance!" to player
if player's offhand tool is dirt:
send "&2Added 11 to your balance!" to player
i try this but i got the same problem
ok
Bro i am so bad at skripting
i got the same problem
on left click:
if target block is grass block:
if player is holding a stick:
send "&2Added 1$ to your balance!" to player
else if player's offhand tool is dirt:
if player is holding a stick:
send "&2Added 11 to your balance!" to player
can you just send the skript : ))
Again
Its mainly your indentation
event
target block check
stick check
offhand check
send $11
else
send $1
on left click:
if target block is grass block:
if player is holding a stick:
send "&2Added 1$ to your balance!" to player
else if player's offhand tool is dirt:
send "&2Added 11 to your balance!" to player
now if i hold my stick i only get $1 ;I
Ye, thats not what i wrote