Kvuash Market ' Lua Script - 2018

#1
Market derken önceden "Lua" kullananlar dediğimi anlamıştır zaten, benim yaptığımı diğerlerinden ayıran farkı zaten görürsünüz.
Benimkinde, Fly, Teleport, Klon, Haritalar, Renkler gibi şeyler var.


Bu arada, admin=("adınız") ve admin2=("arkadaşınızınadı")'nı değiştirmeyi unutmayın!

Bunu yapmam yaklaşık bir haftamı aldı, düşünmesi falan, Bana test aşamasında yardımcı olduğu, ve fikir üretmemde yardım ettiği için "@Drouzii ve @Oneydiqiz"a teşekkürler. - Thanks Drouzii :) -

Ne kadar uğraşsam da buna değdiğini düşünüyorum. Çok konuşmadan script'i vereyim;

Code:
players={} notices={notice=""}

admin=("adınız")
admin2=("arkadaşınızınadı")

ui.addTextArea(38,"<p align='center'><font face='arial'><a href='event:open'><j><b>Kvuash Shop</a></font></p>",admin,355,28,100,18,0x00001,0xD0D033,0.9,true)
ui.addTextArea(37,"<p align='center'><font face='arial'><a href='event:open'><j><b>Kvuash Shop</a></font></p>",admin2,355,28,100,18,0x00001,0xD0D033,0.9,true)

maps = {"@387556", "@3876558", "@304336", "@304342", "@304340"}

function eventTextAreaCallback(id, name, callback)

ui.addTextArea(0,"<p align='center'><a href='event:Life'>Life</a></p>",name,300,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(1,"<p align='center'><a href='event:Kill'>Kill</a></p>",name,380,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(2,"<p align='center'><a href='event:Win'>Win</a></p>",name,460,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(3,"<p align='center'><a href='event:Fly'>Fly</a></p>",name,300,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(4,"<p align='center'><a href='event:TP'>TP</a></p>",name,380,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(5,"<p align='center'><a href='event:Soul'>Soul</a></p>",name,460,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(6,"<p align='center'><a href='event:Speed'>Speed</a></p>",name,300,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(7,"<p align='center'><a href='event:Heart'>Heart</a></p>",name,380,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(8,"<p align='center'><a href='event:Cloneme'>Cloneme</a></p>",name,460,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(9,"<p align='center'><a href='event:RacingF'>RacingF</a></p>",name,220,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(10,"<p align='center'><a href='event:Jackpot'>Jackpot</a></p>",name,540,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(11,"<p align='center'><a href='event:RacingS'>RacingS</a></p>",name,220,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(33,"<p align='center'><a href='event:BC'>BC</a></p>",name,540,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(13,"<p align='center'><a href='event:Music'>Music</a></p>",name,220,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(14,"<p align='center'><a href='event:VampSurv'>VampSurv</a></p>",name,540,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(15,"<p align='center'><a href='event:Vampire'>Vampire</a></p>",name,140,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(16,"<p align='center'><a href='event:Red'>Red</a></p>",name,620,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(17,"<p align='center'><a href='event:Blue'>Blue</a></p>",name,140,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(18,"<p align='center'><a href='event:Green'>Green</a></p>",name,140,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(19,"<p align='center'><a href='event:Yellow'>Yellow</a></p>",name,620,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(20,"<p align='center'><a href='event:Clone'>Clone</a></p>",name,620,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(21,"<p align='center'><a href='event:Jump'>Jump</a></p>",name,300,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(22,"<p align='center'><a href='event:DJump'>DJump</a></p>",name,220,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(23,"<p align='center'><a href='event:Sham'>Sham</a></p>",name,140,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(24,"<p align='center'><a href='event:Shampire'>Shampire</a></p>",name,380,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(26,"<p align='center'><a href='event:Test'>Test</a></p>",name,460,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(27,"<p align='center'><a href='event:Pink'>Pink</a></p>",name,540,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(28,"<p align='center'><a href='event:Survivor'>Survivor</a></p>",name,620,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(29,"<p align='center'><a href='event:Black'>Black</a></p>",name,60,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(30,"<p align='center'><a href='event:White'>White</a></p>",name,700,57,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(31,"<p align='center'><a href='event:Cannon'>Cannon</a></p>",name,60,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(34,"<p align='center'><a href='event:Restart'>Restart</a></p>",name,700,107,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(35,"<p align='center'><a href='event:Snow'>Snow</a></p>",name,60,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(36,"<p align='center'><a href='event:Heart2'>Heart2</a></p>",name,700,157,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(39,"<p align='center'><a href='event:Pokemon'>Pokemon</a></p>",name,60,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(40,"<p align='center'><a href='event:Cheese'>Cheese</a></p>",name,700,207,50,20,0x00001,0xD0D033,0.9,true)
ui.addTextArea(50,"<p align='center'><a href='event:Makers'>Makers</a></p>",name,380,257,50,20,0x00001,0xD0D033,0.9,true)

if callback=="Life" then
tfm.exec.killPlayer(name)
tfm.exec.respawnPlayer(name)
end

if callback=="Kill" then
tfm.exec.killPlayer(name)
end

if callback=="Win" then
tfm.exec.playerVictory(name)
end

if callback=="Fly" then
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,32,true,true)
end
for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
function eventKeyboard(name,key,down,x,y)
if key==32 then tfm.exec.movePlayer(name,0,0,true,0,-50,false)
tfm.exec.displayParticle(26,x,y-3,0,0,0,0)
end
end
end

if callback=="TP" then
for name,player in pairs(tfm.get.room.playerList) do
system.bindMouse(name, true)
end

function eventMouse(name, x, y)
tfm.exec.movePlayer(name, x, y, false, 0, 1, false)
tfm.exec.displayParticle(12,x,y-3,0,0,0,0)
end
end

if callback=="Soul" then
for name,player in pairs(tfm.get.room.playerList) do
system.bindMouse(name, true)
end

function eventMouse(name, x, y)
tfm.exec.addShamanObject(24, x, y, 0, 0, 0, false)
tfm.exec.displayParticle(27,x,y-3,0,0,0,0)
end
end

if callback=="Speed" then
for i,p in pairs(tfm.get.room.playerList) do
tfm.exec.bindKeyboard(i, 37, true, true)
tfm.exec.bindKeyboard(i, 39, true, true)
end

function eventKeyboard(name, key, down, x, y)
if key == 37 then
tfm.exec.movePlayer(name, 0, 0, false, -150, 0, false) -- Keep this integer negative.
tfm.exec.displayParticle(26,x,y-3,0,0,0,0)
elseif key == 39 then
tfm.exec.movePlayer(name, 0, 0, false, 150, 0, false) -- Keep this integer positive.
tfm.exec.displayParticle(26,x,y-3,0,0,0,0)
end
end
end

if callback=="Heart" then
tfm.exec.bindKeyboard(name,16,true,true)
function eventKeyboard(name,key,down,x,y)
if key==16 then
tfm.exec.displayParticle(5, x, y, 0, 10, 0, -4)
tfm.exec.displayParticle(5, x, y, 0, 10, -4, 0)
tfm.exec.displayParticle(5, x, y, 0, 10, 4, 0)
tfm.exec.displayParticle(5, x, y, 0, 10, 0, 4)
tfm.exec.displayParticle(5, x, y, 5, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, 4, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, 3, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, 2, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, 1, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, 0, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, -1, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, -2, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, -3, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, -4, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, -5, 0, 0, 0)
tfm.exec.displayParticle(5, x, y, 0, 0, 0, 9)
end
end
end

if callback=="Cloneme" then
tfm.exec.bindKeyboard(name,32,true,true)
function eventKeyboard(name,key,down,x,y)
if key==32 then
tfm.exec.respawnPlayer(name)
end
end
end

ui.addTextArea(12,"<p align='center'><a href='event:|------------------------------------Close The Menu------------------------------------|'>|------------------------------------Close The Menu------------------------------------|</a></p>",name,165,307,480,20,0x000001,0xD3D3D3,0.8,true)

if callback=="|------------------------------------Close The Menu------------------------------------|" then
ui.removeTextArea(0, name)
ui.removeTextArea(1, name)
ui.removeTextArea(2, name)
ui.removeTextArea(3, name)
ui.removeTextArea(4, name)
ui.removeTextArea(5, name)
ui.removeTextArea(6, name)
ui.removeTextArea(7, name)
ui.removeTextArea(8, name)
ui.removeTextArea(9, name)
ui.removeTextArea(10, name)
ui.removeTextArea(11, name)
ui.removeTextArea(12, name)
ui.removeTextArea(13, name)
ui.removeTextArea(14, name)
ui.removeTextArea(15, name)
ui.removeTextArea(16, name)
ui.removeTextArea(17, name)
ui.removeTextArea(18, name)
ui.removeTextArea(19, name)
ui.removeTextArea(20, name)
ui.removeTextArea(21, name)
ui.removeTextArea(22, name)
ui.removeTextArea(23, name)
ui.removeTextArea(24, name)
ui.removeTextArea(25, name)
ui.removeTextArea(26, name)
ui.removeTextArea(27, name)
ui.removeTextArea(28, name)
ui.removeTextArea(29, name)
ui.removeTextArea(30, name)
ui.removeTextArea(31, name)
ui.removeTextArea(33, name)
ui.removeTextArea(34, name)
ui.removeTextArea(35, name)
ui.removeTextArea(36, name)
ui.removeTextArea(39, name)
ui.removeTextArea(40, name)
ui.removeTextArea(50, name)
end

if callback=="BC" then
tfm.exec.newGame("#3")
function eventPlayerWon(p)
tfm.exec.newGame("#3")
end
end

if callback=="RacingF" then
tfm.exec.newGame("#17")
function eventPlayerWon(p)
tfm.exec.newGame("#17")
end
end

if callback=="RacingS" then
tfm.exec.newGame("#7")
function eventPlayerWon(p)
tfm.exec.newGame("#7")
end
end

if callback=="Jackpot" then
tfm.exec.newGame("@3")
end

if callback=="Music" then
tfm.exec.newGame("#19")
end

if callback=="VampSurv" then
tfm.exec.newGame("#11")
end

if callback=="Vampire" then
tfm.exec.setVampirePlayer(name)
end

if callback=="Red" then
tfm.exec.setNameColor(name, 0xC34242)
end

if callback=="Blue" then
tfm.exec.setNameColor(name, 0x2387E8)
end

if callback=="Green" then
tfm.exec.setNameColor(name, 0x44FA8E)
end

if callback=="Yellow" then
tfm.exec.setNameColor(name, 0xF5DF2E)
end

if callback=="Clone" then
tfm.exec.bindKeyboard(name,32,true,true)
function eventKeyboard(name,key,down,x,y)
if key==32 then
system.addBot(1,'Kage Bunshin',3129,'1;0,0,0,0,0,0,0,0,0,0',x,y,nil)
end
end
end

if callback=="DJump" then
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,16,true,true)
end
for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
function eventKeyboard(name,key,down,x,y)
if key==16 then tfm.exec.movePlayer(name,0,0,true,0,700,false)
tfm.exec.displayParticle(26,x,y-3,0,0,0,0)
end
end
end

if callback=="Jump" then
function eventNewPlayer(name)
tfm.exec.bindKeyboard(name,16,true,true)
end
for name,player in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end
function eventKeyboard(name,key,down,x,y)
if key==16 then tfm.exec.movePlayer(name,0,0,true,0,-200,false)
tfm.exec.displayParticle(26,x,y-3,0,0,0,0)
end
end
end

if callback=="Sham" then
tfm.exec.setShaman(name)
end

if callback=="Shampire" then
tfm.exec.setShaman(name)
tfm.exec.setVampirePlayer(name)
end

if callback=="Test" then
tfm.exec.newGame(maps[math.random(#maps)])
end

if callback=="Pink" then
tfm.exec.setNameColor(name, 0xFF00F0)
end

if callback=="Survivor" then
players = {}
tfm.exec.newGame("#10")
function eventNewGame()
for name,player in pairs(tfm.get.room.playerList) do
table.insert(players,name)
end
tfm.exec.setShaman(players[math.random(#players)])

function eventPlayerDied(name)
local i=0
local n
for pname,player in pairs(tfm.get.room.playerList) do
if not player.isDead then
i=i+1
n=pname
end
end
if i==0 then
tfm.exec.newGame("#10")
elseif i==1 then
tfm.exec.giveCheese(n)
tfm.exec.playerVictory(n)
tfm.exec.setGameTime(5)
tfm.exec.newGame("#10")
end
end
end
end

if callback=="Black" then
tfm.exec.setNameColor(name, 0x000001)
end

if callback=="White" then
tfm.exec.setNameColor(name, 0xFFFFFF)
end

if callback=="Cannon" then
for name in pairs(tfm.get.room.playerList) do
for keys, k in pairs({88, 90}) do
tfm.exec.bindKeyboard(name, k, true, true)
end
end
function eventKeyboard(name, key, down, x, y)
if key == 88 then
tfm.exec.addShamanObject(17,x+25,y,90,100,500,false)
elseif key == 90 then
tfm.exec.addShamanObject(17,x-25,y,-90,-100,-500,false)
end
end
end

if callback=="Restart" then
tfm.exec.newGame("@")
end

if callback=="Snow" then
tfm.exec.snow()
end

if callback=="Heart2" then
system.bindMouse (name, true);

function eventMouse (name, mx, my)
local size = 5;
local x_position = mx;
local y_position = my;
for t=0,2*math.pi,0.1 do
x=(16*math.sin(t)^3)*size + x_position
y=(13*math.cos(t)-5*math.cos(2*t)-2*math.cos(3*t)-math.cos(4*t))*size
y=-y + y_position
tfm.exec.addShamanObject(0,x,y);
end
end
end

if callback=="Pokemon" then
function eventChatCommand(playerName, command)
  if command == "bulbasaur" then
    Pokemon = tfm.exec.addImage("ef16dde463fe11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "ivysaur" then
    Pokemon = tfm.exec.addImage("6a4c6c0e63ff11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "venusaur" then
    Pokemon = tfm.exec.addImage("c7cfacf663ff11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "charmander" then
    Pokemon = tfm.exec.addImage("92ae922a640011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "charmeleon" then
    Pokemon = tfm.exec.addImage("d7fb6894640011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "charizard" then
    Pokemon = tfm.exec.addImage("fbdebb44640011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "squirtle" then
    Pokemon = tfm.exec.addImage("2ef441de640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "wartotle" then
    Pokemon = tfm.exec.addImage("4a5f920c640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "blastoise" then
    Pokemon = tfm.exec.addImage("7642dd8e640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "caterpie" then
    Pokemon = tfm.exec.addImage("9870f274640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "metapod" then
    Pokemon = tfm.exec.addImage("b77ceb28640111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "butterfree" then
    Pokemon = tfm.exec.addImage("1d85e172640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "weedle" then
    Pokemon = tfm.exec.addImage("3b9a3f50640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "kakuna" then
    Pokemon = tfm.exec.addImage("5cdf55ec640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "beedrill" then
    Pokemon = tfm.exec.addImage("99aa7b50640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "pidgey" then
    Pokemon = tfm.exec.addImage("b8fd4406640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "pidgeotto" then
    Pokemon = tfm.exec.addImage("d8109690640211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "pidgeot" then
    Pokemon = tfm.exec.addImage("075d1676640311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "ratatta" then
    Pokemon = tfm.exec.addImage("d3714c60641b11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "raticate" then
    Pokemon = tfm.exec.addImage("1d7f33c6641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "spearow" then
    Pokemon = tfm.exec.addImage("49fae36e641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "fearow" then
    Pokemon = tfm.exec.addImage("70a7bf82641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "ekans" then
    Pokemon = tfm.exec.addImage("b2e63f54641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "arbok" then
    Pokemon = tfm.exec.addImage("d4257540641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "pikachu" then
    Pokemon = tfm.exec.addImage("fe1e6ffa641c11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "raichu" then
    Pokemon = tfm.exec.addImage("24a09f22641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "sandshrew" then
    Pokemon = tfm.exec.addImage("4aad9ad0641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "sandshlash" then
    Pokemon = tfm.exec.addImage("6db14fa4641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "nidorina" then
    Pokemon = tfm.exec.addImage("b34d91ee641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "nidoqueen" then
    Pokemon = tfm.exec.addImage("e5585f48641d11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "nidorino" then
    Pokemon = tfm.exec.addImage("03b863e8641e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "nidoking" then
    Pokemon = tfm.exec.addImage("24388c38641e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "clefairy" then
    Pokemon = tfm.exec.addImage("e8c7c8be642011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "clefable" then
    Pokemon = tfm.exec.addImage("3f9ce818642111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "vulpix" then
    Pokemon = tfm.exec.addImage("a2122cc8642211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "ninetales" then
    Pokemon = tfm.exec.addImage("be8a3df0642211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "jigglypuff" then
    Pokemon = tfm.exec.addImage("df999c7a642211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "wigglytuff" then
    Pokemon = tfm.exec.addImage("06b76aee642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "zubat" then
    Pokemon = tfm.exec.addImage("2a25bff8642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "golbat" then
    Pokemon = tfm.exec.addImage("42bdbfc0642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "oddish" then
    Pokemon = tfm.exec.addImage("b8755b6a642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "gloom" then
    Pokemon = tfm.exec.addImage("d1277ff8642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "vileplume" then
    Pokemon = tfm.exec.addImage("ea8fd864642311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "paras" then
    Pokemon = tfm.exec.addImage("184d80a8642411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "parasect" then
    Pokemon = tfm.exec.addImage("32854a1e642411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "venonat" then
    Pokemon = tfm.exec.addImage("4e2e00f8642411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "venomoth" then
    Pokemon = tfm.exec.addImage("22dd7b92642711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "diglett" then
    Pokemon = tfm.exec.addImage("413ee1c0642711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "dugtrio" then
    Pokemon = tfm.exec.addImage("b4f31810646e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "meowth" then
    Pokemon = tfm.exec.addImage("ceecadee646e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "persian" then
    Pokemon = tfm.exec.addImage("ed295622646e11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "psyduck" then
    Pokemon = tfm.exec.addImage("0b237496646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "golduck" then
    Pokemon = tfm.exec.addImage("23ba11a4646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "mankey" then
    Pokemon = tfm.exec.addImage("441f2592646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "primeape" then
    Pokemon = tfm.exec.addImage("60058e18646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "growlithe" then
    Pokemon = tfm.exec.addImage("7cef8fb0646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "arcanine" then
    Pokemon = tfm.exec.addImage("9dc0616a646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "poliwag" then
    Pokemon = tfm.exec.addImage("ba1e1618646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "poliwhirl" then
    Pokemon = tfm.exec.addImage("d54f7526646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "poliwrath" then
    Pokemon = tfm.exec.addImage("ef408ab0646f11e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "abra" then
    Pokemon = tfm.exec.addImage("0a4ed8ca647011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "kadabra" then
    Pokemon = tfm.exec.addImage("20a3040c647011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "alakazam" then
    Pokemon = tfm.exec.addImage("3bfc7314647011e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "machop" then
    Pokemon = tfm.exec.addImage("561a10de647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "machoke" then
    Pokemon = tfm.exec.addImage("75df5c94647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "machamp" then
    Pokemon = tfm.exec.addImage("8fe36680647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "bellsprout" then
    Pokemon = tfm.exec.addImage("ae77d8b0647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "weepinbell" then
    Pokemon = tfm.exec.addImage("c9d862aa647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "victreebel" then
    Pokemon = tfm.exec.addImage("e4a098be647111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "tentacool" then
    Pokemon = tfm.exec.addImage("22644cae647211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "tentacluer" then
    Pokemon = tfm.exec.addImage("4fa4b5aa647211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "geodude" then
    Pokemon = tfm.exec.addImage("0cf0c3dc647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "graveler" then
    Pokemon = tfm.exec.addImage("28de3ebc647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "golem" then
    Pokemon = tfm.exec.addImage("422eb2fc647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "ponyta" then
    Pokemon = tfm.exec.addImage("651e268a647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "rapidash" then
    Pokemon = tfm.exec.addImage("806c3a08647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "slowpoke" then
    Pokemon = tfm.exec.addImage("9c9057aa647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "slowbro" then
    Pokemon = tfm.exec.addImage("b244b29e647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "magnemite" then
    Pokemon = tfm.exec.addImage("cd2cc1e6647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "magneton" then
    Pokemon = tfm.exec.addImage("ea1a1420647411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "doduo" then
    Pokemon = tfm.exec.addImage("06e85f58647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "dodrio" then
    Pokemon = tfm.exec.addImage("253f39cc647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "seel" then
    Pokemon = tfm.exec.addImage("3b39736e647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "dewgong" then
    Pokemon = tfm.exec.addImage("59a6b10e647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "grimer" then
    Pokemon = tfm.exec.addImage("76955996647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "muk" then
    Pokemon = tfm.exec.addImage("8f7ff272647511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "shellder" then
    Pokemon = tfm.exec.addImage("7ad29502649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "cloyster" then
    Pokemon = tfm.exec.addImage("9f357f18649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "gastly" then
    Pokemon = tfm.exec.addImage("b9aa6b24649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "haunter" then
    Pokemon = tfm.exec.addImage("d41092cc649111e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "gengar" then
    Pokemon = tfm.exec.addImage("152239dc649211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "onix" then
    Pokemon = tfm.exec.addImage("84d967d264e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "drowzee" then
    Pokemon = tfm.exec.addImage("9f6a472e64e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "hypno" then
    Pokemon = tfm.exec.addImage("bad58c0864e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "krabby" then
    Pokemon = tfm.exec.addImage("d487d5a264e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "kingler" then
    Pokemon = tfm.exec.addImage("ed07424864e211e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "voltorb" then
    Pokemon = tfm.exec.addImage("0813e3e864e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "electrode" then
    Pokemon = tfm.exec.addImage("24fef27c64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "exeggcute" then
    Pokemon = tfm.exec.addImage("3eb53e5664e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "exeggutor" then
    Pokemon = tfm.exec.addImage("5b172ea664e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "cubone" then
    Pokemon = tfm.exec.addImage("7fd7938e64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "marowak" then
    Pokemon = tfm.exec.addImage("99494fd864e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "hitmonlee" then
    Pokemon = tfm.exec.addImage("b15a9b6864e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "hitmonchan" then
    Pokemon = tfm.exec.addImage("cd77311c64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "lickitung" then
    Pokemon = tfm.exec.addImage("e63b0d4a64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "koffing" then
    Pokemon = tfm.exec.addImage("fcf4260c64e311e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "weezing" then
    Pokemon = tfm.exec.addImage("1a0b3aa064e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "rhyhorn" then
    Pokemon = tfm.exec.addImage("3262e3fa64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "rhydon" then
    Pokemon = tfm.exec.addImage("4b29d90264e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "chansey" then
    Pokemon = tfm.exec.addImage("7c7d669a64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "tangela" then
    Pokemon = tfm.exec.addImage("950eff0c64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "kangaskhan" then
    Pokemon = tfm.exec.addImage("aec3ba0a64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "horsea" then
    Pokemon = tfm.exec.addImage("c461d34c64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "seadra" then
    Pokemon = tfm.exec.addImage("e88ab0fe64e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "goldeen" then
    Pokemon = tfm.exec.addImage("ffd439c464e411e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "seaking" then
    Pokemon = tfm.exec.addImage("192aafca64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "staryu" then
    Pokemon = tfm.exec.addImage("331eaac664e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "starmie" then
    Pokemon = tfm.exec.addImage("4d21e63664e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "mr_mime" then
    Pokemon = tfm.exec.addImage("67eb0c2264e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "scyther" then
    Pokemon = tfm.exec.addImage("81cf66d864e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "jynx" then
    Pokemon = tfm.exec.addImage("9e9c779264e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "electabuzz" then
    Pokemon = tfm.exec.addImage("c0ad7e8a64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "magmar" then
    Pokemon = tfm.exec.addImage("d87b7ada64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "pinsir" then
    Pokemon = tfm.exec.addImage("ef92f89c64e511e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "tauros" then
    Pokemon = tfm.exec.addImage("087545b864e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "magikarp" then
    Pokemon = tfm.exec.addImage("1f04268264e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "gyarados" then
    Pokemon = tfm.exec.addImage("362f5cd264e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "lapras" then
    Pokemon = tfm.exec.addImage("50594d8464e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "ditto" then
    Pokemon = tfm.exec.addImage("698d627c64e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "eevee" then
    Pokemon = tfm.exec.addImage("87021f5a64e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "vaporeon" then
    Pokemon = tfm.exec.addImage("a0c10bea64e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "jolteon" then
    Pokemon = tfm.exec.addImage("ba587d4064e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "flareon" then
    Pokemon = tfm.exec.addImage("d401833664e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "porygon" then
    Pokemon = tfm.exec.addImage("edc681c264e611e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "omanyte" then
    Pokemon = tfm.exec.addImage("0a21acc064e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "omastar" then
    Pokemon = tfm.exec.addImage("230f698464e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "kabuto" then
    Pokemon = tfm.exec.addImage("3e1ddb5c64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "kabutops" then
    Pokemon = tfm.exec.addImage("5c2aa90464e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "aerodactyl" then
    Pokemon = tfm.exec.addImage("75e79cb264e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "snorlax" then
    Pokemon = tfm.exec.addImage("9908d8fa64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "articuno" then
    Pokemon = tfm.exec.addImage("b30004fe64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "zapdos" then
    Pokemon = tfm.exec.addImage("cd87b07464e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "moltres" then
    Pokemon = tfm.exec.addImage("ec17565c64e711e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "dratini" then
    Pokemon = tfm.exec.addImage("196e2f1864e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "dragonair" then
    Pokemon = tfm.exec.addImage("356c118064e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "dragonite" then
    Pokemon = tfm.exec.addImage("529d7c6c64e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "mewtwo" then
    Pokemon = tfm.exec.addImage("702c017c64e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "mew" then
    Pokemon = tfm.exec.addImage("88578ed864e811e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "nidoran_f" then
    Pokemon = tfm.exec.addImage("25efc46264e911e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "nidoran_m" then
    Pokemon = tfm.exec.addImage("42ba841a64e911e78ef9109836a51f7d.png", "%"..playerName, -35, -60)
  elseif command == "usun" then
    tfm.exec.removeImage(Pokemon)
end
end
end

if callback=="Cheese" then
tfm.exec.giveCheese(name)
end

if callback=="Makers" then
ui.addLog('<ROSE>Shop maked by Kvuash, thanks for Drouzii.                                       <R>Maker: "Kvuash". <VP>Tester: "Drouzii","Oneydiqiz"', name)
end
end
Umarım beğenirsiniz, görüşleriniz benim için önemli.Yorum atarak değerlendirirseniz sevinirim.
İyi eğlenceler.
 
Last edited:
#2
Teleport, Jump, gibi şeylerde Space, Shift, veya X ve Z tuşlarını deneyin.
Bazılarında ise ekrana tıklayacaksınız, örneğin: Heart2 ve Teleport.
 
#17
yaptıgın şey cok saçma ve bunu sen bile yapmamışsın.
admin=("") ve admin2=("")
diye birşey olmaz
admin=""
admin2=""
ve yapmak istedigini
admin={isim=1,isim2=1,isim3=1} olarak sürdürebilirsin.