zz_y7.auto_move = function (self)
if(math.abs(_UserService.LocalPlayer.TransformComponent.WorldPosition.x - zz_y7.target_x) >= 0.1)
local deltaPos = Vector2(zz_y7.target_x, _UserService.LocalPlayer.TransformComponent.WorldPosition.y)
_UserService.LocalPlayer.WsUser.MovementComponent:SetPosition(deltaPos)
end
end
뭔가 잘못된거라도?
target_x 는 저장값이고, auto_move 함수는 타이머함수로 0.1초마다 부르게 설정해놈
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22108 | |
| 61665 | 08:33 | 78 | ||
| 61664 | 03:59 | 74 | ||
| 61663 | 00:09 | 156 | ||
| 61662 | 11-10 | 129 | ||
| 61661 | 11-10 | 136 | ||
| 61660 | 11-10 | 144 | ||
| 61659 | 11-10 | 176 | ||
| 61658 | 11-10 | 253 | ||
| 61657 | 11-10 | 300 | ||
| 61656 | 11-09 | 352 | ||
| 61655 | 11-09 | 319 | ||
| 61654 | 11-09 | 350 | ||
| 61653 | 11-09 | 389 | ||
| 61652 | 11-09 | 355 | ||
| 61651 | 11-09 | 405 | ||
| 61650 | 11-09 | 462 | ||
| 61649 | 11-09 | 390 | ||
| 61648 | 11-08 | 433 | ||
| 61647 | 11-08 | 449 |
댓글6
밴임 쓰지마 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
좌표이동이 밴임;?
예전에 자사가 왜 밴이였는데 ㅎㅎ
여긴없다 형...
setposition이 이동함수가 아니라 좌표 함수일걸
나도 찾아보는데 넘어렵네
나도 비슷하게 짰는데 전붕이 비활자사 시켜볼라고.. 근데 안됨 ㅅㅂ 뭐가문젤까