Is there a script for?

a door that opens an closes when a person says a keyword such as “open” “close”

Re: Is there a script for?

Simple. The image doesn't go away because I'm too lazy, so change 'drawunderplayer' to something else.

if (playersays2(close)){blockagain;}
if (playersays2(open)) {dontblock;drawunderplayer;}

Re: Is there a script for?

? I think the command your looking for is hide; Just give the door img this script:

if(playerchats&&strequals(#c,open)){
hide;
}
if(playerchats&&strequals(#c,close)){
show;
}

It will open and close for all players, if you want it just to open for the person who said it you can just make it hidelocal;

Re: Is there a script for?

Thats what i was looking for Thanks everyone! :slight_smile: :smiley: ;D