openwf/Scripts/samples/Kill All Enemies.pluto
2025-10-06 18:27:00 +08:00

9 lines
265 B
Plaintext

-- Modifications to sample scripts will be lost the next time you start the game.
repeat
local player = gRegion:GetLocalPlayerAvatar()
for gRegion:GetAvatars() as avatar do
if not avatar:IsAvatarFriendly(player) then
avatar:Suicide()
end
end
until yield()