고양이와강아지[zz_y7_const.AUZ] = function(self) zz_y7.use_auz = not zz_y7.use_auz if zz_y7.use_auz then zz_y7.auto_auz_timer = _TimerService:SetTimerRepeat(zz_y7.auz_func, 0.1) else _TimerService:ClearTimer(zz_y7.auto_auz_timer) end2024.02.15 15:58
고양이와강아지zz_y7.auz_func = function(self) if zz_y7.use_auz then _UserService.LocalPlayer.WsUserController:ActionPickUp() end end 2024.02.15 15:58
댓글3
스크립트는 있음
[zz_y7_const.AUZ] = function(self)
zz_y7.use_auz = not zz_y7.use_auz
if zz_y7.use_auz then
zz_y7.auto_auz_timer = _TimerService:SetTimerRepeat(zz_y7.auz_func, 0.1)
else
_TimerService:ClearTimer(zz_y7.auto_auz_timer)
end
zz_y7.auz_func = function(self)
if zz_y7.use_auz then
_UserService.LocalPlayer.WsUserController:ActionPickUp()
end
end