In the most simplest way it probably gets a player's position or transform and creates new fxDTSbrick blocks infront of them or around any position near them with whatever brick dimensions and colors required to control a player's paint can and brick building tool..
You probably mean algorithms, never mind.