Prints 'Hello, World!' in console and sleeps for a second.
functionENT:Think()
print("Hello, World!")
self:SetNextClientThink( CurTime() +1 )
returntrue-- Note: You need to return true to override the default next think timeend
Output: Hello, World! every second the entity exists in the world.