create a star shape - script

can anybody provide a script to create a star