First of all all credits for the original script goes to Murlock.
I only made it work
.
Code:
function On_Gossip (pUnit, event, player)
pUnit:GossipCreateMenu(100, player, 0)
pUnit:GossipMenuAddItem(9, "Claim Your Prize!", 1, 0)
pUnit:GossipSendMenu(player)
end
function Gossip_Submenus(pUnit, event, player, id, intid, code)
if(intid == 1) then
pUnit:GossipCreateMenu(101, player, 0)
pUnit:GossipMenuAddItem(9, "Infinity Blade", 2, 0)
pUnit:GossipMenuAddItem(9, "Staff of Disengration", 3, 0)
pUnit:GossipMenuAddItem(9, "Phaseshift Bulwark", 4, 0)
pUnit:GossipSendMenu(player)
end
if(intid == 2) then
pUnit:SendChatMessage(14, 0, "I have been found! The event is over!")
player:AddItem(30312, 1)
pUnit:Despawn(0, 0)
end
if(intid == 3) then
pUnit:SendChatMessage(14, 0, "I have been found! The event is over!")
player:AddItem(30313, 1)
pUnit:Despawn(0, 0)
end
if(intid == 4) then
pUnit:SendChatMessage(14, 0, "I have been found! The event is over!")
player:AddItem(30314, 1)
pUnit:Despawn(0, 0)
end
end
RegisterUnitGossipEvent(NPCID, 1, "On_Gossip")
RegisterUnitGossipEvent(NPCID, 2, "Gossip_Submenus")
Change NPCID to your ID.
I chose some TK rewards for my NPC just to post it here.
Change the name and Additem(ItemID) to yours 
Enjoy :wave:
(Sorry if I'm kindda reposting but I really wanna expand my little Lua knowledge that I know, I'm only 14 so I'm still learning :P)
Please post comments!