Entity:GetSpawnEffect
Example
Taken from sandbox's cl_init.lua
Output: Checks if the entity has the spawnEffect flag set to true and checks if it was created in the last second, and then shows the propspawn effect.
Taken from sandbox's cl_init.lua