Would anyone have any idea what i did wrong?Code:local npcid = 1337900 function warp_on_gossip_talk(unit, event, player) unit:CreatGossipMenuForPlayer(3543, player) unit:MenuAddItem(player, 0, "Alliance Cities", 1, 0) unit:MenuAddItem(player, 0, "Horde Cities", 7, 0) unit:MenuAddItem(player, 0, "Azeroth Instances", 2, 0) unit:MenuAddItem(player, 0, "Outland Instances", 3, 0) unit:MenuAddItem(player, 0, "Gurubashi Arena", 6, 0) unit:MenuAddItem(player, 0, "Morphs", 8, 0) unit:MenuAddItem(player, 0, "Remove Rez Sickness", 5, 0) unit:MenuSendToPlayer(player) 'end' function warp_on_gossip_select(unit, event, player, id, intid, code) if(intid == 2) then unit:CreatGossipMenuForPlayer(3542, player) unit:MenuAddItem(player, 2, "Azeroth Raids", 101, 0) unit:MenuAddItem(player, 2, "Shadowfang Keep", 10, 0) unit:MenuAddItem(player, 2, "Scarlet Monestary", 11, 0) unit:MenuAddItem(player, 2, "Stratholme", 12, 0) unit:MenuAddItem(player, 2, "Scholomance", 13, 0) unit:MenuAddItem(player, 2, "Gnomeregan", 14, 0) unit:MenuAddItem(player, 2, "Uldaman", 15, 0) unit:MenuAddItem(player, 2, "Sunken Temple", 16, 0) unit:MenuAddItem(player, 2, "Blackrock Spire", 17, 0) unit:MenuAddItem(player, 2, "Deadmines", 21, 0) unit:MenuAddItem(player, 2, "Zul'Farrak", 18, 0) unit:MenuAddItem(player, 2, "Ragefire Chasm", 19, 0) unit:MenuAddItem(player, 2, "Wailing Caverns", 20, 0) unit:MenuAddItem(player, 2, "Blackfathom Depths", 22, 0) unit:MenuAddItem(player, 2, "Razorfen Downs", 23, 0) unit:MenuAddItem(player, 2, "Razorfen Kraul", 24, 0) unit:MenuAddItem(player, 2, "Maraudon", 25, 0) unit:MenuAddItem(player, 2, "Dire Maul", 26, 0) unit:MenuAddItem(player, 2, "[Back]", 100, 0) unit:MenuSendToPlayer(player) 'end' if(intid == 3) then unit:CreatGossipMenuForPlayer(3542, player) unit:MenuAddItem(player, 3, "Outland Raids", 102, 0) unit:MenuAddItem(player, 3, "Hellfire Citadel", 27, 0) unit:MenuAddItem(player, 3, "Coilfang Reservoir", 28, 0) unit:MenuAddItem(player, 3, "Auchindoun", 29, 0) unit:MenuAddItem(player, 3, "Caverns of Time", 30) unit:MenuAddItem(player, 3, "Tempest Keep", 31) unit:MenuSendToPlayer(player) 'end' if(intid == 7) then unit:CreatGossipMenuForPlayer(3542, player) unit:GossipMenuAddItem(4, "Ironforge", 32, 0) unit:GossipMenuAddItem(4, "Stormwind", 33, 0) unit:GossipMenuAddItem(4, "Darnassus", 34, 0) unit:GossipMenuAddItem(4, "Exodar", 35, 0) unit:GossipSendMenu(player) 'end' if(intid == 1) then unit:CreatGossipMenuForPlayer(3542, player) unit:GossipMenuAddItem(5, "Orgrimmar", 36, 0) unit:GossipMenuAddItem(5, "Thunder Bluff", 37, 0) unit:GossipMenuAddItem(5, "Undercity", 38, 0) unit:GossipMenuAddItem(5, "Silvermoon", 39, 0) unit:GossipSendMenu(player) 'end' if(intid == 5) then pUnit:CastSpellOnTarget(15007) player:UnlearnSpell(15007) pUnit:GossipComplete(player) 'end' if(intid == 6) then player:Teleport(1, 1498.845215, -4414.937988, 22.203) 'end' if(intid == 7) then player:Teleport(1, 1530.256592, 210.98, -43.1) 'end' if(intid == 8) then player:Teleport(0, -1284.997437, 179.616898, 129) 'end' if(intid == 9) then player:Teleport(0, 9459.475586, -7280.01, 14.23) 'end' if(intid == 10) then player:Teleport(0, -246.061758, 1533.107544, 77.09) 'end' if(intid == 11) then player:Teleport(0, 2892.173584, -811.338379, 160.34) 'end' if(intid == 12) then player:Teleport(0, 3354.986084, -3379.198486, 144.7871937) 'end' if(intid == 13) then player:Teleport(0, 1243.319825, -2591.356201, 90.192810) 'end' if(intid == 14) then player:Teleport(0, -5182.606934, 617.909424, 405.46) 'end' if(intid == 15) then player:Teleport(0, -6070.064941, -2955.942627, 209.78) 'end' if(intid == 16) then player:Teleport(0, -10451.191406, -3822.810303, 18.07) 'end' if(intid == 17) then player:Teleport(0, -7495.056129, -1116.887695, 265.74) 'end' if(intid == 21) then player:Teleport(0, -11209.875000, 1669.595093, 24.933108) 'end' if(intid == 22) then player:Teleport(1, 4139.332031, 891.448730, -18.947780) 'end' if(intid == 23) then player:Teleport(1, -4653.043945, -2501.171143, 81.194329) 'end' if(intid == 24) then player:Teleport(1, -4464.919922, -1666.239990, 81.892128) 'end' if(intid == 25) then player:Teleport(349, 752.909973, -616.530029, -33.110001) 'end' if(intid == 26) then player:Teleport(1, -3752.292725, 1044.019287, 162.183167) 'end' if(intid == 1) then player:Teleport(37, 107.608002, 1014.510010, 296.203003) 'end' if(intid == 27) then player:Teleport(530, -275.470123, 3111.767334, 31.456154) 'end' if(intid == 28) then player:Teleport(530, 741.431335, 6866.434082, -69.119469) 'end' if(intid == 29) then player:Teleport(530, -3336.829102, 4933.846191, -100.439507) 'end' if(intid == 30) then player:Teleport(1, -8480.312500, -4308.177246, -208.442169) 'end' if(intid == 31) then player:Teleport(530, 3098.636475, 1515.429565, 190.300446) 'end' if(intid == 6) then player:Teleport(0, -13264.169922, 151.133057, 35.005310) 'end' if(intid == 32) then player:Teleport(0, -4981.250000, -881.541992, 501.659729) 'end' if(intid == 33) then player:Teleport(0, -8913.230469, 554.632996, 93.794456) 'end' if(intid == 34) then player:Teleport(0, 9945.129883, 2616.889893, 1316.459961) 'end' if(intid == 35) then player:Teleport(0, -3994.848633, -11862.791016, 0.269375) 'end' if(intid == 36) then player:Teleport(1, 1502.709961, -4415.419922, 21.552349) 'end' if(intid == 37) then player:Teleport(1, -1284.529419, 158.671707, 129.994247) 'end' if(intid == 38) then player:Teleport(0, 1831.260010, 238.529999, 60.520733) 'end' if(intid == 39) then player:Teleport(530, 9414.179688, -72578.970215, 14.203904) 'end' if (intid == 8) then unit:GossipCreateMenu(100, player, 0) unit:GossipMenuAddItem(5,"Human", 40, 0) unit:GossipMenuAddItem(5,"Murloc", 41, 0) unit:GossipMenuAddItem(5,"Hogger", 42, 0) unit:GossipMenuAddItem(5,"Robot", 43, 0) unit:GossipMenuAddItem(5,"Goblin", 44, 0) unit:GossipMenuAddItem(5,"Wisp", 45, 0) unit:GossipMenuAddItem(5,"Dragon", 46, 0) unit:GossipMenuAddItem(5,"Lumberjack", 47, 0) unit:GossipMenuAddItem(5,"Tauren", 48, 0) unit:GossipMenuAddItem(5,"Worm", 49, 0) unit:GossipMenuAddItem(5,"Hydra", 50, 0) unit:GossipMenuAddItem(4,"[Next]", 997, 0) unit:GossipSendMenu(player) 'end' if (intid == 40) then player:SetModel(6074) player:SetScale(1) player:GossipComplete() 'end' if (intid == 41) then player:SetModel(15395) player:SetScale(1) player:GossipComplete() 'end' if (intid == 42) then player:SetModel(384) player:SetScale(1) player:GossipComplete() 'end' if (intid == 43) then player:SetModel(6889) player:SetScale(1) player:GossipComplete() 'end' if (intid == 44) then player:SetModel(18290) player:SetScale(1) player:GossipComplete() 'end' if (intid == 45) then player:SetModel(17607) player:SetScale(1) player:GossipComplete() 'end' if (intid == 46) then player:SetModel(308) player:SetScale(1) player:GossipComplete() 'end' if (intid == 47) then player:SetModel(741) player:SetScale(1) player:GossipComplete() 'end' if (intid == 48) then player:SetModel(20618) player:SetScale(1) player:GossipComplete() 'end' if (intid == 49) then player:SetModel(13009) player:SetScale(1) player:GossipComplete() 'end' if (intid == 50) then player:SetModel(6737) player:SetScale(1) player:GossipComplete() 'end' if (intid == 997) then unit:GossipCreateMenu(100, player, 0) unit:GossipMenuAddItem(5,"Defias Bandit", 51, 0) unit:GossipMenuAddItem(5,"VanCleef", 52, 0) unit:GossipMenuAddItem(5,"Ooze", 53, 0) unit:GossipMenuAddItem(5,"Santa!", 54, 0) unit:GossipMenuAddItem(5,"Santa's Lil'Helper!", 55, 0) unit:GossipMenuAddItem(5,"Dark Iron", 56, 0) unit:GossipMenuAddItem(5,"Infernal", 57, 0) unit:GossipMenuAddItem(5,"Cow", 58, 0) unit:GossipMenuAddItem(5,"Abomonation", 59, 0) unit:GossipMenuAddItem(5, "[Back]", 8, 0) unit:GossipSendMenu(player) 'end' if (intid == 51) then player:SetModel(116) player:SetScale(1) player:GossipComplete() 'end' if (intid == 52) then player:SetModel(2029) player:SetScale(1) player:GossipComplete() 'end' if (intid == 53) then player:SetModel(4393) player:SetScale(1) player:GossipComplete() 'end' if (intid == 54) then player:SetModel(13369) player:SetScale(1) player:GossipComplete() 'end' if (intid == 55) then player:SetModel(15698) player:SetScale(1) player:GossipComplete() 'end' if (intid == 56) then player:SetModel(7797) player:SetScale(1) player:GossipComplete() 'end' if (intid == 57) then player:SetModel(10905) player:SetScale(1) player:GossipComplete() 'end' if (intid == 58) then player:SetModel(2442) player:SetScale(1) player:GossipComplete() 'end' if (intid == 59) then player:SetModel(12818) player:SetScale(1) player:GossipComplete() 'end' RegisterUnitGossipEvent(1337900, 1, "On_GossipMenu") RegisterUnitGossipEvent(1337900, 2, "On_GossipSelect") RegisterGossipEvent(1337900 , 3, "warp_on_gossip_talk") RegisterGossipEvent(1337900 , 4, "warp_on_gossip_select")