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

11 lines
511 B
Plaintext

-- Modifications to sample scripts will be lost the next time you start the game.
repeat
local npcAvatars = gRegion:FindAll(gLotusNpcAvatarType)
for npcAvatars as avatar do
if IsNull(avatar:GetAttachment(Type("/Lotus/Fx/Gameplay/Fishing/FishHighlightVision"))) then
local proj = avatar:Attach(Type("/Lotus/Fx/Gameplay/Fishing/FishHighlightVision"), EMPTY_SYMBOL, ZERO_VECTOR, ZERO_ROTATION)
proj:SetTint(Color(255, 0, 0))
proj:SetMaterialParam(Symbol("FadeParams"), 0, 100)
end
end
until yield()