채팅0

    마귀 스크립트

    조회수 1071

    ---------- 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)
    end

    self.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

    저기서 마귀스크립트 넣으면 계속 무반응 되는데 뭐가 잘못된거죠...

    댓글10

    회원프로필

    그걸왜 여기다넣음

    2024.02.13 19:33
    회원프로필

    그럼 어디다가 넣죠..ㅠ

    2024.02.13 19:37
    회원프로필

    이전글 썻던게 맞아 간단하게 안전지대에다가 마귀넣어서 써 걍

    2024.02.13 19:39
    회원프로필

    아하 그런방법이 있었네요 감사합니다!!!!!!

    2024.02.13 19:39
    회원프로필

    덕분에 해결됐네용ㅎㅎ

    2024.02.13 20:15
    회원프로필

    ;;;;

    2024.02.13 19:33
    회원프로필

    또 형말 안듣노 마귀 쓰지말랑께

    2024.02.13 19:35
    회원프로필

    지금 마귀 뭐 있나요?

    2024.02.13 19:37
    회원프로필

    이거 해결하셨나요? 어디에 어떻게 넣으셨는지 공유 가능할까요?

    2024.02.14 12:00
    회원프로필

    형계신가요

    2024.02.14 20:48

      게시글 리스트
      제목작성자작성일조회
      3555802-131171
      3555702-131072
      3555602-13373
      3555502-13393
      3555402-131781
      3555302-13490
      3555202-13388
      3555102-13413
      3555002-13433
      3554902-13479
      3554802-13609
      3554702-13591
      3554602-131588
      3554502-13376
      3554402-13383
      3554302-13824
      3554202-13583
      3554102-13646
      3554002-13860
      3553902-13990
      안내 배너 이미지