View difference between Paste ID: VViC1U4i and 7juDxVuY
SHOW: | | - or go back to the newest paste.
1-
--[[ CREATED BY CARLSBERG----
1+
-- ###CARLSBERG###
2
3-
CREDITS:
3+
local npc_id = 72000
4
5-
CARLSBERG = SCRIPTING IT.
5+
6-
RIOCHET2 = SORTING UP SMALL THINGS
6+
7-
X543R = CAME UP WITH THE IDEA
7+
8
	pUnit:GossipMenuAddItem(0, "Make me normal", 2, 0)
9-
Made for: ImmortalWoW
9+
10-
]]
10+
11
12-
local npc_id = 72000 -- Change to your NPC ID
12+
13
	if (intid == 1) then
14
		local Choice = math.random(1, 6)
15
		if (Choice == 1) then
16
			pPlayer:SetModel(4875)
17-
	pUnit:GossipMenuAddItem(0, "Change my Scale", 2, 0)
17+
18-
	pUnit:GossipMenuAddItem(0, "Change speed", 3, 0)
18+
			pPlayer:SetModel(8715)
19-
	pUnit:GossipMenuAddItem(0, "Make me normal", 4, 0)
19+
20
			pPlayer:SetModel(20976)
21
		elseif (Choice == 4) then
22
			pPlayer:SetModel(5293)
23
		elseif (Choice == 5) then
24
			pPlayer:SetModel(10318)
25
		elseif (Choice == 6) then
26
			pPlayer:SetModel(12064)
27-
			pPlayer:SetModel(30893)
27+
28
	elseif (intid == 2) then
29-
			pPlayer:SetModel(21445)
29+
30
	end
31-
			pPlayer:SetModel(20023)
31+
32
end
33-
			pPlayer:SetModel(22906)
33+
34
RegisterUnitGossipEvent(npc_id, 1, GossipOnTalk)
35-
			pPlayer:SetModel(36597)
35+