Added You Tried script

Have a gold star
How would I go about doing this?