how do I scripts UEFN?

how do I scripts in UEFN like make a custom script or making something work?