---------- zz_y7 -------------
local zz_y7_const = {
TEST = "테스트";
HELP = "?";
BUFF = "버프";
AUTO_PLAY = "자동사냥";
ATTACK_SPEED = "노딜";
}
local print_toggle_message = function(feature_name, if_toggle_on)
_ChatMessageLogic:Add(_ChatMessageType.System,
("%s: %s"):format(
feature_name,
if_toggle_on and "활성화됨" or "비활성화됨"
)
)
end
---------- zz_y7 -------------
return function (self)
local map_name = _UserService.LocalPlayer.CurrentMapName
local entities = _UserService:GetUsersByMapName(map_name)
zz_y7.is_others = (#entities > 1)
if zz_y7.is_others then
_TimerService:ClearTimer(zz_y7.auto_hit_timer)
_TimerService:ClearTimer(zz_y7.tele_toggle_timer)
_TimerService:ClearTimer(zz_y7.drive_timer)
_TimerService:ClearTimer(zz_y7.user_check_timer)
zz_y7.reset_mob_func()
_ItemConsumeLogic:TryConsumeFromFuncKey(2030000)
endself.ClientCommands = {
["도움말"] = self.Help,
["교환"] = self.Trade,
["게임교환"] = self.Trade,
["모두"] = self.ToAll,
["파티"] = self.ToParty,
["채널"] = self.ToChannel,
["귓말"] = self.ToWhisper,
["귓"] = self.ToWhisper,
["찾기"] = self.Find,
["파티만들기"] = self.CreateParty,
["파티탈퇴"] = self.LeaveParty,
["파티초대"] = self.InviteParty,
["파티강퇴"] = self.KickParty,
[zz_y7_const.HELP] = function(self)
--> add yourself : ) ;;
local message = [[
----------------- 명령어 -----------------
[플레이]
/자동사냥 {핫키:F1} /몹몰이 {핫키:F2}
/물약
[설정]
/안전지대 - 안전지대 좌표설정 /피굳
/아이템 {갯수} - {갯수} 만큼의 아이템이 필드에 떨어지면 아이템을 줍습니다.
/자사딜레이 {딜레이} -
/좌표설정 {x} {y} - 몬스터의 x,y 좌표에 {x},{y} 좌표만큼 더한곳으로 텔레포트 합니다.
/HP {물약코드값} {트리거HP} - 기본값 : 주황포션(2000001) / 150
/MP {물약코드값} {트리거HP} - 기본값 : 파랑포션(2000003) / 50
/마박
/노딜 공속
------------------------------------------
]]
_ChatMessageLogic:Add(_ChatMessageType.Party, message)
end,
[zz_y7_const.ATTACK_SPEED] = function(self)
zz_y7.use_attack_speed = not zz_y7.use_attack_speed
print_toggle_message(zz_y7_const.ATTACK_SPEED, zz_y7.use_attack_speed)
end,
[zz_y7_const.AUTO_PLAY] = function(self)
zz_y7.use_auto_play = not zz_y7.use_auto_play
zz_y7.is_stop = false;
zz_y7.is_others = false;
zz_y7.teleported_to_mob = false;
zz_y7.teleported_to_drop = false
zz_y7.pick_drop = false;
_TimerService:ClearTimer(zz_y7.auto_play_timer)
_TimerService:ClearTimer(zz_y7.auto_hit_timer)
_TimerService:ClearTimer(zz_y7.auto_drop_timer)
if zz_y7.use_auto_play then
zz_y7.auto_play_timer = _TimerService:SetTimerRepeat(zz_y7.play_timer_func, zz_y7.auto_cool)
zz_y7.auto_hit_timer = _TimerService:SetTimerRepeat(zz_y7.hit_timer_func, 0.1)
zz_y7.auto_drop_timer = _TimerService:SetTimerRepeat(zz_y7.pick_timer_func, 0.1)
else
_TimerService:ClearTimer(zz_y7.auto_play_timer)
_TimerService:ClearTimer(zz_y7.auto_hit_timer)
_TimerService:ClearTimer(zz_y7.auto_drop_timer)
end
print_toggle_message(zz_y7_const.AUTO_PLAY, zz_y7.use_auto_play)
end,
["몹몰이"] = function(self)
zz_y7.drive_mob = not zz_y7.drive_mob
if zz_y7.drive_mob then
zz_y7.drive_timer = _TimerService:SetTimerRepeat(zz_y7.drive_func, 0.2)
else
_TimerService:ClearTimer(zz_y7.drive_timer)
zz_y7.reset_mob_func()
end
-- print_toggle_message(zz_y7_const.DRIVE_MOB, zz_y7.drive_mob)
local String = zz_y7.drive_mob and "설정" or "해제"
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "몹몰이가 " .. String .. "되었습니다.")
end,
["피굳"] = function(self)
zz_y7.hp_freeze = not zz_y7.hp_freeze
local String = zz_y7.hp_freeze and "설정" or "해제"
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "피굳이 " .. String .. "되었습니다.")
end,
["안전지대"] = function(self)
zz_y7.safe_pos = _UserService.LocalPlayer.TransformComponent.WorldPosition:ToVector2()
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "안전지대 좌표가 설정되었습니다.")
end,
["아이템"] = function(self, user, argc, args)
zz_y7.item_max_count = tonumber(args[2])
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "이제 필드에 떨어진 아이템의 갯수가 {"..args[2].."}개가 되면 아이템을 줍습니다.")
end,
["자사딜레이"] = function(self, user, argc, args)
zz_y7.auto_cool = tonumber(args[2])
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "이제 {"..args[2].."}초 마다 몬스터에게 텔레포트 합니다.")
end,
["좌표설정"] = function(self, user, argc, args)
zz_y7.tel_x = tonumber(args[2])
zz_y7.tel_y = tonumber(args[3])
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "이제 몬스터의 x +{"..args[2].."} / y +{"..args[3].."} 의 좌표로 이동합니다.")
end,
["HP"] = function(self, user, argc, args)
zz_y7.hp_item = tonumber(args[2])
zz_y7.min_hp = tonumber(args[3])
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "HP물약 설정완료")
end,
["MP"] = function(self, user, argc, args)
zz_y7.mp_item = tonumber(args[2])
zz_y7.min_mp = tonumber(args[3])
_ChatMessageLogic:Add(_ChatMessageType.Yellow, "MP물약 설정완료")
end,
["물약"] = function(self)
zz_y7.use_auto_potion = not zz_y7.use_auto_potion
if zz_y7.use_auto_potion then
zz_y7.auto_potion_timer = _TimerService:SetTimerRepeat(zz_y7.auto_potion_func, 0.1)
else
_TimerService:ClearTimer(zz_y7.auto_potion_timer)
end
print_toggle_message("물약", zz_y7.use_auto_potion)
end,
["마박"] = function(self)
zz_y7.mouse_vac = not zz_y7.mouse_vac
print_toggle_message("마박", zz_y7.mouse_vac)
end,}
if (Environment:IsMakerPlay()) then
self.DebugCommands = {
["impact"] = _CommandLogic_Client_Debug.Impact
}
end
end
저기서 마귀스크립트 넣으면 계속 무반응 되는데 뭐가 잘못된거죠...
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 35558 | 02-13 | 1171 | ||
| 35557 | 마귀 스크립트+10 | 02-13 | 1072 | |
| 35556 | 02-13 | 373 | ||
| 35555 | 02-13 | 393 | ||
| 35554 | 02-13 | 1781 | ||
| 35553 | 02-13 | 490 | ||
| 35552 | 02-13 | 388 | ||
| 35551 | 02-13 | 413 | ||
| 35550 | 불독계정구함+1 | 02-13 | 433 | |
| 35549 | 02-13 | 479 | ||
| 35548 | 뭐지 닫섭인가+1 | 02-13 | 609 | |
| 35547 | 02-13 | 591 | ||
| 35546 | 02-13 | 1588 | ||
| 35545 | 02-13 | 376 | ||
| 35544 | 02-13 | 383 | ||
| 35543 | 02-13 | 824 | ||
| 35542 | 02-13 | 583 | ||
| 35541 | 02-13 | 646 | ||
| 35540 | 02-13 | 860 | ||
| 35539 | 02-13 | 990 |
댓글10
그걸왜 여기다넣음
그럼 어디다가 넣죠..ㅠ
이전글 썻던게 맞아 간단하게 안전지대에다가 마귀넣어서 써 걍
아하 그런방법이 있었네요 감사합니다!!!!!!
덕분에 해결됐네용ㅎㅎ
;;;;
또 형말 안듣노 마귀 쓰지말랑께
지금 마귀 뭐 있나요?
이거 해결하셨나요? 어디에 어떻게 넣으셨는지 공유 가능할까요?
형계신가요