12345678910111213 |
- function EnterRegion(Zone, Spawn, RegionType)
- -- RegionType 2 is 'lava' or 'death' regions, RegionType 1 is water
- local invul = IsInvulnerable(Spawn)
- if invul == true then
- return 0
- end
- if RegionType == 2 then
- KillSpawn(Spawn, null, 1)
- end
- end
|