Content deleted Content added
No edit summary |
No edit summary |
||
Line 13:
The LifeSensor is a part used in programming. It detects life within 2000 studs. Lifesensors are found in all aliens as a way to sense players. In order to use, you must use the LifeSensor:GetReading() function. It will return a dictionary of all the nearby players and their locations, given in Vector3.<b>
===
<syntaxhighlight lang="lua" line="1">
local LifeSensor = GetPartFromPort(1, "LifeSensor") --gets the lifesensor instance
|