Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tfm.exec.disableAfkDeath(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAutoNewGame(true)
- maps={6946086,6354056,6980067,6373101,6947670,6973435,6980067}
- function eventLoop(time,remaining)
- if remaining<=0 then
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- end
- function eventPlayerDied()
- local i=0
- for n,player in pairs(tfm.get.room.playerList) do
- if not player.isDead then
- i=i+1
- tfm.exec.respawnPlayer(n)
- end
- end
- if i==0 then
- tfm.exec.newGame(maps[math.random(#maps)])
- end
- end
- function eventPlayerWon(name)
- tfm.exec.respawnPlayer(name)
- tfm.exec.chatMessage("<VP>You just completed the level!",name)
- tfm.exec.chatMessage("<VP>Your score: "..tfm.get.room.playerList[name].score,name)
- end
- DOWN0 = string.byte("W")
- DOWN3 = string.byte("O")
- DOWN4 = 38
- DOWN1 = 40 --keycode of down arrow
- DOWN2 = string.byte("S") --keycode of S
- for name, player in pairs(tfm.get.room.playerList) do
- system.bindKeyboard(name, DOWN1, true)
- system.bindKeyboard(name, DOWN2, true)
- system.bindKeyboard(name, DOWN4, true)
- system.bindKeyboard(name, DOWN3, true)
- system.bindKeyboard(name, DOWN0, true)
- end
- function eventKeyboard(name, keyCode, down, x, y)
- if keyCode == DOWN1 or keyCode == DOWN2 then
- tfm.exec.explosion(x, y + 20, 10, 60, true) -- spark(?) explosion
- tfm.exec.displayParticle(tfm.enum.particle.spirit, x, y + 30) -- spark(?) spirit particle
- elseif keyCode == DOWN3 or keyCode == DOWN4 or keyCode == DOWN0 then
- tfm.exec.explosion(x, y - 20, 10, 60, true) -- spark(?) explosion
- tfm.exec.displayParticle(tfm.enum.particle.spirit, x, y - 30) -- spark(?) spirit particle
- end
- end
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",nil,5,255,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",nil,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",nil,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",nil,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",nil,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",nil,5,155,70,20,0x000001,0x000001,1,true)
- function eventTextAreaCallback(textAreaID, playerName, callback)
- if callback=="example" then
- tfm.exec.setVampirePlayer(playerName)
- elseif callback=="906" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(3909,"<a align='center'><font size='25' color='#00FF57'><p'>"..playerName.."'s Stats<a align='center'><font size='20' color='#FFD000'><p'> Won: "..info[playerName].victories.." Died: "..info[playerName].deaths.." Touched Cheese: "..info[playerName].rounds.." Shot Spirits: "..info[playerName].sparks.." Number of times being a vampire: "..info[playerName].vampire,playerName,180,100,500,190,0x000001,0x000001,1,true)
- ui.addTextArea(7,"<a href='event:7' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,5,255,70,20,0x000001,0x000001,1,true)
- elseif callback=="999" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(7,"<a href='event:7' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,730,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> Commands <a align='center'><font size='19' color='#0000FF'><p'> <J>!maps - Shows the maps that are in the rotation of #Zerogravity. !help - Gives you some of the help and then gives you a larger Help button to draw your attention.<BV> !bg (red, green, yellow, blue, purple) - Lets you change the background while you're playing. Example: <V>!bg purple<VP> !x - Removes the pop ups from the !bg command.",playerName,180,80,500,300,0x000001,0x000001,1,true)
- elseif callback=="44" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> Credits <a align='center'><font size='20' color='#0000FF'><p'> <J>Fuzzyfirsdog - Coding the minigame. <V>Tohpy - Working on BR translate. <VI> Bibsho - Gave ideas for the minigame. <T>Tortuegreen - Showed Fuzzyfirsdog how to use some coding stuff. <CH> Suprodo - Gave ideas for the minigame. <BV>Pinyxzyaj - Makes sure that there are no bugs. <R>Hidskills - Tests new updates and reports bugs. <N>Bolodefchoco - Helped to create the stats.",playerName,180,100,500,260,0x000001,0x000001,1,true)
- ui.addTextArea(7,"<a href='event:7' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,730,215,70,20,0x000001,0x000001,1,true)
- elseif callback=="p0" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> #Zerogravity <b><a align='center'><font size='15' color='#FFD000'><p'> The aim in #Zerogravity is to get through obstacles in no gravity maps. There are many easy maps, and at the same time, many hard maps! The creator of this minigame is Fuzzyfirsdog. In #Zerogravity, you can do some tricks, click next to see! ",playerName,180,100,500,190,0x000001,0x000001,1,true)
- ui.addTextArea(9,"<a href='event:9' align='center'><font size='11' color='#00FF57'><p'>Next</a>",playerName,300,265,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(5,"<a href='event:5' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,730,195,70,20,0x000001,0x000001,1,true)
- elseif callback=="59" then
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",playerName,730,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p0' align='center'><font size='11' color='#00FF57'><p'>Help</a>",playerName,730,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:44' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",playerName,730,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:999' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",playerName,730,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:69' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",playerName,730,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:909' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",playerName,730,255,70,20,0x000001,0x000001,1,true)
- elseif callback=="69" then
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",playerName,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",playerName,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",playerName,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",playerName,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",playerName,5,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",playerName,5,255,70,20,0x000001,0x000001,1,true)
- elseif callback=="909" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(3909,"<a align='center'><font size='25' color='#00FF57'><p'>"..playerName.."'s Stats<a align='center'><font size='20' color='#FFD000'><p'> Won: "..info[playerName].victories.." Died: "..info[playerName].deaths.." Touched Cheese: "..info[playerName].rounds.." Shot Spirits: "..info[playerName].sparks.." Number of times being a vampire: "..info[playerName].vampire,playerName,180,100,500,190,0x000001,0x000001,1,true)
- ui.addTextArea(7,"<a href='event:7' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,730,255,70,20,0x000001,0x000001,1,true)
- elseif callback=="99" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(7,"<a href='event:7' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> Commands <a align='center'><font size='19' color='#0000FF'><p'> <J>!maps - Shows the maps that are in the rotation of #Zerogravity. !help - Gives you some of the help and then gives you a larger Help button to draw your attention.<BV> !bg (red, green, yellow, blue, purple) - Lets you change the background while you're playing. Example: <V>!bg purple<VP> !x - Removes the pop ups from the !bg command.",playerName,180,80,500,300,0x000001,0x000001,1,true)
- elseif callback=="4" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> Credits <a align='center'><font size='20' color='#0000FF'><p'> <J>Fuzzyfirsdog - Coding the minigame. <V>Tohpy - Working on BR translate. <VI> Bibsho - Gave ideas for the minigame. <T>Tortuegreen - Showed Fuzzyfirsdog how to use some coding stuff. <CH> Suprodo - Gave ideas for the minigame. <BV>Pinyxzyaj - Makes sure that there are no bugs. <R>Hidskills - Tests new updates and reports bugs. <N>Bolodefchoco - Helped to create the stats.",playerName,180,100,500,260,0x000001,0x000001,1,true)
- ui.addTextArea(7,"<a href='event:7' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,5,215,60,20,0x000001,0x000001,1,true)
- elseif callback=="p" then
- ui.addTextArea(1000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",playerName,-500,-100,3000,3000,0x000001,0x000001,0.5,true)
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> #Zerogravity <a align='center'><font size='15' color='#FFD000'><p'><b>The aim in #Zerogravity is to get through obstacles in no gravity maps. There are many easy maps, and at the same time, many hard maps! The creator of this minigame is Fuzzyfirsdog. In #Zerogravity, you can do some tricks, click next to see! ",playerName,180,100,500,190,0x000001,0x000001,1,true)
- ui.addTextArea(9,"<a href='event:9' align='center'><font size='11' color='#00FF57'><p'>Next</a>",playerName,300,265,60,20,0x000001,0x000001,1,true)
- ui.addTextArea(5,"<a href='event:5' align='center'><font size='11' color='#00FF57'><p'>Close</a>",playerName,5,195,60,20,0x000001,0x000001,1,true)
- elseif callback=="9" then
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> #Zerogravity <a align='center'><font size='15' color='#FFD000'><p'>Some of the basics that you need to know will be displayed here.<br>1. Jumping will actually spawn a spark <b><u>over</u></b> you. So be prepared when you jump! <br>2. Ducking will spawn a spark <b><u>under</b></u> you. <br><br><R>The tabs on the left will help you with a lot more stuff, and can be moved by clicking <BV><i>Move Tabs</i></BV>! Please feel free to use it for help.",playerName,180,100,500,190,0x000001,0x000001,1,true)
- ui.addTextArea(9,"<a href='event:88' align='center'><font size='11' color='#00FF57'><p'>Back</a>",playerName,330,265,60,20,0x000001,0x000001,1,true)
- elseif callback=="88" then
- ui.addTextArea(3,"<a align='center'><font size='25' color='#00FF57'><p'> #Zerogravity <a align='center'><font size='15' color='#FFD000'><p'> <b>The aim in #Zerogravity is to get through obstacles in no gravity maps. There are many easy maps, and at the same time, many hard maps! The creator of this minigame is Fuzzyfirsdog. In #Zerogravity, you can do some tricks, click next to see! ",playerName,180,100,500,190,0x000001,0x000001,1,true)
- ui.addTextArea(9,"<a href='event:9' align='center'><font size='11' color='#00FF57'><p'>Next</a>",playerName,300,265,60,20,0x000001,0x000001,1,true)
- elseif callback=="5" or callback=="7" then
- ui.removeTextArea(5,playerName)
- ui.removeTextArea(200,playerName)
- ui.removeTextArea(3,playerName)
- ui.removeTextArea(7,playerName)
- ui.removeTextArea(3909,playerName)
- ui.removeTextArea(9,playerName)
- ui.removeTextArea(1000,playerName)
- end
- end
- function eventNewGame()
- o=tfm.get.room.xmlMapInfo.mapCode
- a=tfm.get.room.xmlMapInfo.author
- m=tfm.get.room.currentMap.id
- tfm.exec.setUIMapName("<VP>@"..o.." - Creator: "..a)
- if m=="6946086" then
- tfm.exec.setUIMapName("<VP>@"..o.." - Level 1 - Creator: "..a)
- end
- end
- tfm.exec.chatMessage("<ROSE>")
- function eventPlayerDied(name)
- tfm.exec.respawnPlayer(name)
- end
- tfm.exec.setGameTime(5)
- tfm.exec.setRoomMaxPlayers(12)
- function eventNewGame()
- ui.removeTextArea (945) --Remove textarea when a new round begins
- ui.removeTextArea (992)
- mouseWon = false
- o=tfm.get.room.xmlMapInfo.mapCode
- a=tfm.get.room.xmlMapInfo.author
- m=tfm.get.room.currentMap.id
- tfm.exec.setUIMapName("<J>@"..o.."<VP> - Creator: "..a)
- if m=="6946086" then
- tfm.exec.setUIMapName("<VP>@"..o.." - Level 1 - Creator: "..a)
- tfm.exec.chatMessage("<ROSE>[MAP INFO] <CH>@"..o.."<> - Creator: <J>"..a,name)
- end
- end
- function eventPlayerWon(name)
- if not mouseWon then --This'll trigger only when the first mouse gets in the hole
- ui.addTextArea (992,"<a align='center'><font size='95' color='#E9D504'><a'> ",nil,-400,-405,9000,9000,0x000001,0x000001,0.4,true)
- ui.addTextArea (945,"<a align='center'><font size='90' color='#E9D504'><a'>Cheeeeeese *-* "..name.."! ",nil,65,85,790,1000,0x000001,0x000001,0,true)
- mouseWon = true
- tfm.exec.setGameTime(5)
- tfm.exec.chatMessage("<VP>You just completed the level!",name)
- tfm.exec.chatMessage("<VP>Your score: "..tfm.get.room.playerList[name].score,name)
- end
- end
- tfm.exec.chatMessage("<J>The aim in #Zerogravity is to get through obstacles in no gravity maps. There are many easy maps, and at the same time, many hard maps! The creator of this minigame is Fuzzyfirsdog. Click the large help button to see more info.")
- serialization = function(x)
- if type(x) == "table" then
- local t = x
- local str = ""
- for index,value in next,t do
- local prefix,tbOption = (type(value)=="string" and "_@" or type(value)=="boolean" and "_!" or type(value)=="number" and "_#" or type(value)=="table" and "_%" or ""),(type(value)~="table" and tostring(value) or "+&"..serialization(value):gsub(";","?").."&-")
- str = str .. ':' .. tostring(index) .. prefix .. tbOption .. ";"
- end
- return str
- elseif type(x) == "string" then
- local s = x
- local list = {}
- for str in s:gmatch("(.-);") do
- local varName,valueType,value = str:match(':(.-)_(%p)(.+)')
- if varName~=nil then
- varName = tonumber(varName) or varName
- if valueType == "@" then
- list[varName] = tostring(value)
- elseif valueType == "!" then
- list[varName] = value=="true"
- elseif valueType == "#" then
- list[varName] = tonumber(value)
- elseif valueType == "%" then
- list[varName] = serialization(value:gsub("+&",""):gsub("&-",""):gsub("%?",";"))
- end
- end
- end
- return list
- end
- end
- info = {}
- eventNewPlayer = function(n)
- tfm.exec.respawnPlayer(n)
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",n,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",n,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",n,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",n,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",n,5,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",n,5,255,70,20,0x000001,0x000001,1,true)
- system.bindKeyboard(n, DOWN1, true)
- system.bindKeyboard(n, DOWN2, true)
- system.bindKeyboard(n, DOWN4, true)
- system.bindKeyboard(n, DOWN3, true)
- system.bindKeyboard(n, DOWN0, true)
- info[n] = { -- Creates a table for the player
- victories = 0,
- deaths = 0,
- vampire = 0,
- rounds = 0,
- sparks = 0
- }
- end
- table.foreach(tfm.get.room.playerList,eventNewPlayer)
- eventPlayerWon = function(name)
- if not mouseWon then --This'll trigger only when the first mouse gets in the hole
- ui.addTextArea (992,"<a align='center'><font size='95' color='#E9D504'><a'> ",nil,-400,-405,9000,9000,0x000001,0x000001,0.4,true)
- ui.addTextArea (945,"<a align='center'><font size='90' color='#E9D504'><a'>Cheeeeeese *-*<br> <VP>"..name.."! ",nil,65,85,790,1000,0x000001,0x000001,0,true)
- mouseWon = true
- tfm.exec.setGameTime(5)
- tfm.exec.chatMessage("<VP>You just completed the level!",name)
- tfm.exec.chatMessage("<VP>Your score: "..tfm.get.room.playerList[name].score,name)
- tfm.exec.respawnPlayer(name)
- info[name].victories = info[name].victories + 1
- end
- end
- eventPlayerDied = function(name)
- tfm.exec.respawnPlayer(name)
- info[name].deaths = info[name].deaths + 1
- end
- eventPlayerGetCheese = function(n)
- info[n].rounds = info[n].rounds + 1
- end
- function eventKeyboard(name, keyCode, down, x, y)
- info[name].sparks = info[name].sparks + 1
- if keyCode == DOWN1 or keyCode == DOWN2 then
- tfm.exec.explosion(x, y + 20, 10, 60, true) -- spark(?) explosion
- tfm.exec.displayParticle(tfm.enum.particle.spirit, x, y + 30) -- spark(?) spirit particle
- elseif keyCode == DOWN3 or keyCode == DOWN4 or keyCode == DOWN0 then
- tfm.exec.explosion(x, y - 20, 10, 60, true)-- spark(?) explosion
- tfm.exec.displayParticle(tfm.enum.particle.spirit, x, y - 30) -- spark(?) spirit particle
- end
- end
- eventPlayerVampire = function(name)
- info[name].vampire = info[name].vampire + 1
- end
- system.disableChatCommandDisplay("help",true)
- system.disableChatCommandDisplay("maps",true)
- system.disableChatCommandDisplay("x",true)
- system.disableChatCommandDisplay("stats",true)
- system.disableChatCommandDisplay("bg",true)
- function eventChatCommand(m,n)
- if n=="maps" then
- tfm.exec.chatMessage("["..#maps.." Maps]<J> MAPS: <VP>6946086, 6354056, 6373101, 6947670, 6973435, 6980067",m)
- elseif n=="help" then
- tfm.exec.chatMessage("<J>The aim in #Zerogravity is to get through obstacles in no gravity maps. There are many easy maps, and at the same time, many hard maps! The creator of this minigame is Fuzzyfirsdog. Click the large help button to see more info.",m)
- ui.addTextArea(200,"<a href='event:p' align='center'><font size='130' color='#00FF57'><p'> Help</a>",m,250,-5,600,600,0x000001,0xFFE300,0,true)
- elseif n=="x" then
- ui.removeTextArea(200,m)
- ui.removeTextArea(3909,m)
- ui.removeTextArea(2000,m)
- elseif n=="stats" then
- tfm.exec.chatMessage("<VP>Touched Cheese: "..info[m].rounds.." |Won: "..info[m].victories.." |Shot Spirits: "..info[m].sparks.." | Died: "..info[m].deaths,m)
- elseif n=="bg red" then
- ui.addTextArea(2000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",m,-500,-100,3000,3000,0xFF0000,0xFF0000,0.4,true)
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",m,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",m,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",m,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",m,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",m,5,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",m,5,255,70,20,0x000001,0x000001,1,true)
- elseif n=="bg blue" then
- ui.addTextArea(2000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",m,-500,-100,3000,3000,0x0000FF,0x0000FF,0.4,true)
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",m,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",m,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",m,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",m,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",m,5,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",m,5,255,70,20,0x000001,0x000001,1,true)
- elseif n=="bg green" then
- ui.addTextArea(2000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",m,-500,-100,3000,3000,0x00FF00,0x00FF00,0.6,true)
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",m,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",m,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",m,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",m,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",m,5,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",m,5,255,70,20,0x000001,0x000001,1,true)
- elseif n=="bg purple" then
- ui.addTextArea(2000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",m,-500,-100,3000,3000,0x740090,0x740090,0.4,true)
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",m,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",m,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",m,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",m,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",m,5,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",m,5,255,70,20,0x000001,0x000001,1,true)
- elseif n=="bg yellow" then
- ui.addTextArea(2000,"<a align='center'><font size='25' color='#00FF57'><p'> <a align='center'><font size='15' color='#0000FF'><p'> ",m,-500,-100,3000,3000,0xFFFF00,0xFFFF00,0.6,true)
- ui.addTextArea(1,"<a href='event:example' align='center'><font size='11' color='#FF0000'><p'>Vampire</a>",m,5,175,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(2,"<a href='event:p' align='center'><font size='11' color='#00FF57'><p'>Help</a>",m,5,195,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(4,"<a href='event:4' align='center'><font size='11' color='#00FF57'><p'>Credits</a>",m,5,215,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(30,"<a href='event:99' align='center'><font size='11' color='#00FF57'><p'>Commands</a>",m,5,235,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(31,"<a href='event:59' align='center'><font size='11' color='#0000FF'><p'>Move Tabs</a>",m,5,155,70,20,0x000001,0x000001,1,true)
- ui.addTextArea(96,"<a href='event:906' align='center'><font size='11' color='#00FF57'><p'>Stats</a>",m,5,255,70,20,0x000001,0x000001,1,true)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment