#Indentaiton error

1 messages · Page 1 of 1 (latest)

topaz forge
#

it's because you've mixed up spaces and tabs

lone vapor
#

???

topaz forge
#

you can only use tab or space

lone vapor
#

my script is

#
   if player's inventory can't hold 1 diamond sword:
      send title "&c&lInventory full" with subtitle "&c&lYour inventory is full!" to player for 3 seconds
      play sound block.note_block.pling with volume 1 and pitch 2
      ```
umbral latch
#

In that line remove all the space at the start then click spacebar 6 times

topaz forge
#

or use tab (the tab on your keyboard)

lone vapor
#

Now Im getting

wild pagoda
#

Read the error message

#

For sounds, you need to put them in text

lone vapor
#

Thank you all. This worked 🙂

#

i also have a glitch that comes with it!

dire sundial
#

Care to outline this glitch?

dire sundial
#

It’s impossible to give items when the inventory is full. You can use the give or drop event, if thats what this glitch is