zz_y7.play_timer_func = function(self)
if zz_y7.is_someone_in_world() then
if zz_y7.use_momo then
zz_y7.use_momo = false
zz_y7.dupe_func()
zz_y7.posPlayer = _UserService.LocalPlayer.TransformComponent.WorldPosition
zz_y7.auto_safe_timer = _TimerService:SetTimerRepeat(zz_y7.telport_func, 1)
zz_y7.auto_safe_count = 0
zz_y7.telport_func()
end
return
else
if not zz_y7.use_momo then
zz_y7.use_momo = true
zz_y7.dupe_func()
zz_y7.flag_attack = true
_UserService.LocalPlayer.TransformComponent.WorldPosition = zz_y7.posPlayer
_UserService.LocalPlayer.WsUser:SetMovementEnable(false)
end
end
이런식으로 짜면 되려나요??
2024.01.29 05:29
댓글이라 이상하게 나오네.
2024.01.29 05:29
헤헤 형님 이거 어디다가 넣으면 될까요?
2024.01.29 13:39
스크립트가 처음으로 제대로 되돌아가질 않는듯
2024.01.29 05:28
SetMovementEnable을 false로 한번 해줬으면 true 로 바꿔줘야 풀리죠..
댓글7
Setmoveenalbe을 풀었다 키셈
호오.. 해보겠씁니다 ! 감사해요
zz_y7.play_timer_func = function(self)
if zz_y7.is_someone_in_world() then
if zz_y7.use_momo then
zz_y7.use_momo = false
zz_y7.dupe_func()
zz_y7.posPlayer = _UserService.LocalPlayer.TransformComponent.WorldPosition
zz_y7.auto_safe_timer = _TimerService:SetTimerRepeat(zz_y7.telport_func, 1)
zz_y7.auto_safe_count = 0
zz_y7.telport_func()
end
return
else
if not zz_y7.use_momo then
zz_y7.use_momo = true
zz_y7.dupe_func()
zz_y7.flag_attack = true
_UserService.LocalPlayer.TransformComponent.WorldPosition = zz_y7.posPlayer
_UserService.LocalPlayer.WsUser:SetMovementEnable(false)
end
end
이런식으로 짜면 되려나요??
댓글이라 이상하게 나오네.
헤헤 형님 이거 어디다가 넣으면 될까요?
스크립트가 처음으로 제대로 되돌아가질 않는듯
SetMovementEnable을 false로 한번 해줬으면 true 로 바꿔줘야 풀리죠..