NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

admins={
Xthemonster=true,
Crazyproxdp0000=true,
Crazyproxdp0000=true,
}

mod = 8
interval = 11
dragbilgi = {}
kalansure = 0
fake = false
stop = false
troll = false

normalmap = {6793381,6775492,6751049,6746968,6743889,6727739,6684273,6663797,6631961,6628895,6622204,6592438,6592377,6549805,6515473,6484268,6484197,6456320,6284023,6240668,6125512,6113581,5973058,5964714,5196131,4842994,4705798,4329532,3699989,3686073,3620709,3587860,3579303,3550350,3540608,3480467,3400319,3322939,3220945,3175437,3107377,3102891,3067251,2964900,2939549,2842113,2732060,2526952,2408376,2284187,1794907,1794873,1661909,1659906,1545834,1539148,1535492,1533333,1528388,1525486,1519483,1515058,1514928,1492805,1485498,1463332,1388662,1277941,1026249,958881,953515,937383,908739,866256,860865,852617,848697,837797,811211,803074,802975,802958,799141,797964,793117,787131,770675,741041,697561,540495,521931,500312,495880,492283,490248,489470,481676,479091,478116,464787,397066,395246,393406,392646,392616,391738,391664,391643,391057,390657,390649,390386,390383,311496,307930,306382,306360,305753,305748,304482,304198,303750,302224,300404,299123,296033,295988,293487,293222,292672,292592,291643,291399,290974,290971,290865,290725,290546,290388,289964,289932,281649,281492,281479,281462,281431,280159,280120,279689,276534}
trolmap = {5463629,5463672,5463690,5463715,5463757,5463761,5463932,5463937,5463960,5719624,5719692,5720229,5858607,5858610,5858621,5902865,6124862,2959211,3352785,6279001,6290664,6614264,6290639,6548448,6551334}
maps = normalmap

function start()
tfm.exec.disableAutoNewGame(true)
tfm.exec.disableAutoShaman(true)
tfm.exec.disableAutoTimeLeft(true)
newGameVip()
end

function newGameVip()
if troll == true then
maps = trolmap
tfm.exec.setUIMapName("Survivor | MOD: <R>Troll</R>")
else
maps = normalmap
tfm.exec.setUIMapName("Survivor | MOD: <R>Normal<R>")
end
tfm.exec.newGame(maps[math.random(#maps)],(math.random(2) == 1 or false))

end


function isAdmin(a)
return (admins[a] or false)
end
function randomColor()
return "0x" .. string.format("%X", math.random(0x000000, 0xFFFFFF))
end

function randomColorAdmin()
for p,_ in pairs(admins) do
-- tfm.exec.setNameColor(p, randomColor());
tfm.exec.setNameColor(p, "0xC90000");
end
end

function eventNewGame()
-- ui.addTextArea(669,"<p align='center'><a href='event:help'><b><R>?</b></a></p>",name,775,383,16,16,1,1,0.8,true)
ui.addTextArea(557, "Bratzshare", NIL, 15, 380, 385, 20, 0x6A7495, 0x6A7495, 0f)
-- tfm.exec.setUIMapName("Survivor | MOD: Private")

randomColorAdmin()
interval = 11
if troll == true then
maps = trolmap
-- tfm.exec.setUIMapName("Survivor | MOD: <R>Troll</R>")
else
maps = normalmap
-- tfm.exec.setUIMapName("Survivor | MOD: <R>Normal<R>")
end

end

function eventNewPlayer(name)
if isAdmin(name) then
ui.addTextArea(1, "<a href='event:kolay'><VP><font size='14'>K", name, 728, 21, nil, nil, 0x000001, nil, 0.7)
ui.addTextArea(2, "<a href='event:orta'><J><font size='14'>O", name, 753, 21, nil, nil, 0x000001, nil, 0.7)
ui.addTextArea(3, "<a href='event:zor'><R><font size='14'>Z", name, 781, 21, nil, nil, 0x000001, nil, 0.7)
ui.addTextArea(4, "<a href='event:fake'><R><font size='14'>F", name, 703, 21, nil, nil, 0x000001, nil, 0.7)
ui.addTextArea(5, "<a href='event:stop'><J><font size='14'>S", name, 678, 21, nil, nil, 0x000001, nil, 0.7)
ui.addTextArea(6, "<a href='event:trolmap'><VP><font size='14'>T", name, 653, 21, nil, nil, 0x000001, nil, 0.7)
end
end

function eventTextAreaCallback(id, name, cb)
if isAdmin(name) and interval > 6 then
if cb == "kolay" then
interval = 11
mod = 7
elseif cb == "orta" then
interval = 11
mod = 8
elseif cb == "zor" then
interval = 11
mod = 9
elseif cb == "fake" then
if fake == true then
fake=false
else
fake=true
end
elseif cb == "stop" then
if stop == true then
stop=false
tfm.exec.setGameTime(kalansure)
kalansure=0
ui.removeTextArea(998)
else
stop=true
ui.addTextArea(998, "<VP><p align='center'><R>Durduruldu</B", nil, 290, 22, 180, nil, nil, nil, 1)
end
elseif cb == "trolmap" then
if troll == true then
troll=false
maps = normalmap
newGameVip()
else
troll=true
maps = trolmap
newGameVip()
end
elseif cb=="help" then
ui.addTextArea(959, "<ROSE><B>Survivor Oyununa Hoş Geldiniz </B> </ROSE> <BR><V>Amaç</V> <J>• <T>Draglardan kurtularak ölmemek.</T></J></br> <br><V>Kurallar</V><J> • <T>Kural yok.Kodlar bordo bereli gibidir.O sizi bulur.<br><T><J><br><V>Komutlar</V><J><J>• Sadece adminler kullanabilir.</T></T></J> </R> <br><V>Düzenleyiciler</V><J><J>•Crazyproxdp</V><J> •Xthemonster <T> </T></J>",name, 225, 100, 350, 220, 1, 1, 0.8)
ui.addTextArea(779,"<p align='center'><a href='event:close'><b>KAPAT</b></a></p>",name,250,350,300,16,1,1,0.8,true)
elseif cb=="close" then
ui.removeTextArea(959,name)
ui.removeTextArea(779,name)
end
end
end

function eventLoop(time, remaining)
if stop == false then
if time>3000 then
interval = interval - 1
randomColorAdmin()
if interval == mod then
ui.removeTextArea(999)
local users = {}
for name,p in pairs(tfm.get.room.playerList) do
if not p.isDead then
users[#users+1] = name
end
end
if fake == true then
spawndrag(users[math.random(#users)])
end
dragbilgi = spawndrag(users[math.random(#users)])
interval = 11
elseif interval<=5 then
tfm.exec.setUIMapName("<ROSE>Sırakaki map "..interval.." sonra başlıyacak.")
if interval == 0 then
newGameVip()
end
elseif interval == 10 then
tfm.exec.addShamanObject(17, dragbilgi[1], dragbilgi[2], dragbilgi[3],100)
dragbilgi={}
end
end
elseif kalansure == 0 then
kalansure = (remaining/1000-(remaining%1000)/1000)
tfm.exec.setGameTime(0)
end
if stop == false and remaining<=0 then
ui.addTextArea(999, "<VP><p align='center'><B>HELAL AMK</B", nil, 290, 22, 180, nil, 0x000001, nil, 0.8)
newGameVip()
end

end

function eventPlayerDied(name)
if playerCount() < 1 then
interval = 6
end
if playerCount() < 1 and stop==true then
newGameVip()
end
end

function playerCount()
local n=0
for name, player in pairs(tfm.get.room.playerList) do
if not player.isDead then
n=n+1
end
end
return n
end

function adminCount()
local n=0
for name, player in pairs(tfm.get.room.playerList) do
if not player.isDead then
if isAdmin(name) then
n=n+1
end
end
end
return n
end

function spawndrag(name)
local info = {}
local px = tfm.get.room.playerList[name].x
local py = tfm.get.room.playerList[name].y
local cnnx = math.random()*800
local cnny = math.random()*400
if cnny > py then
cnny = py-math.random(30)-20
end
if math.abs(cnnx-px) > 300 then
cnnx = px + math.random(-30, 30)
end
local ang = math.deg(math.atan2(cnny-py, cnnx-px))
tfm.exec.addShamanObject(0, cnnx, cnny, ang+90)
info[1] = cnnx
info[2] = cnny
info[3] = ang-90
return info
end

for name in pairs(tfm.get.room.playerList) do
eventNewPlayer(name)
end

start()


for name, player in pairs(tfm.get.room.playerList) do
print(player)
end
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.