Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --صناعة : Roger#4888--
- --قم بأزالة اسم حساب صانع السكريبت Roger#4888--
- --ثم قم بوضع اسمك بين علامتي التنصيص "و" لكي يعمل السكريبت--
- --اذا واجهت خطأ ي السكريبت قم بتبليغ صانع السكريبت عنه--
- Admin ="Roger#4888"
- tfm.exec.disableAutoShaman(true)
- tfm.exec.newGame("@6218574")
- tfm.exec.disableAutoNewGame(true)
- tfm.exec.disableAutoShaman(true)
- tfm.exec.disableAfkDeath(true)
- tfm.exec.setUIMapName("<font color='#30BA76'>Welcome to VoteMaker!</font>")
- a = 0
- b = 0
- c = 0
- ui.addTextArea(666, "Powered By <font color='#009D9D'>Roger#4888</font color='#009D9D'> for Millionaires#0928", nil, 550, 28, 241, 20, 0x000000, 0x000000, 1, true)
- ui.addPopup(4888, 0, "<p align = 'center'><font size='30' face='impact'> التصويتات صانع </font></p>\nمرحبا في سكريبت صانع التصويتات! سيقوم الادمن بصنع 3 اختيارات وعليك الانتظار لينهي ال3 اختيارات حيث ان اختيارك لا رجوع فيه! لذا يجب ان تختار بحكمة وان تتحلي بالصبر وذلك لضمان قبولك للأختيار الذي اخترته.", nil, 225, 129, 342, true)
- ui.addPopup(4888, 0, "<p align = 'center'><font size='30' face='impact'> التصويتات صانع </font></p>\nمرحبا في سكريبت صانع التصويتات! انت الادمن ويمكنك صناعة التصويتات لذا عليك ان تحذر اثناء الكتابة من الاخطاء الاملائية او التردد في اتخاذ القرار حول الثلاث انماط التي سوف يتم التصويت عليها لذا خذ وقتك في التفكير ولا داعي للاستعجال فلن تظهر الخيارات للفئران الاخري ان لم تقم بالغط علي \"بدء التصويتات\" وذلك عند انتهاء الكتابة في النوافذ كما وان النوافذ تظهر علي التوالي اي انه يجب ان تكتب في الاولي لتظهر الثانية وتكتب في الثانية لتظهر الاولي وهكذا\nان راودتك اي اقتراحات لا تتردد في اخبارنا بها\n/c Roger#4888\n", Admin, 225, 95, 342, true)
- ui.addPopup(0, 2, "النمط الاول", Admin, 17, 44, 175, true)
- function eventPopupAnswer (popupId, playerName, answer)
- if popupId == 0 and playerName == Admin then
- w = ""..answer..""
- ui.addPopup(01, 2, "النمط الثاني", Admin, 300, 44, 175, true)
- elseif popupId == 01 and playerName == Admin then
- s = ""..answer..""
- ui.addPopup(02, 2, "النمط الثالث", Admin, 600, 44, 175, true)
- elseif popupId == 02 and playerName == Admin then
- x = ""..answer..""
- ui.addTextArea(199, "<a href=\"event:start\"> بدء التصويت </a>", Admin, 715, 313, 80, 32, 0x000000, 0xffffff, 1, true)
- end
- end
- function eventTextAreaCallback(id,playerName,event)
- if event == 'start' then
- ui.addTextArea(1, "<a href=\"event:a\">"..w.."</a>", nil, 38, 83, 96, 34, 0x000000, 0xffffff, 1, true)
- ui.addTextArea(2, "<a href=\"event:b\">"..s.."</a>", nil, 330, 83, 96, 34, 0x000000, 0xffffff, 1, true)
- ui.addTextArea(3, "<a href=\"event:c\">"..x.."</a>", nil, 630, 83, 96, 34, 0x000000, 0xffffff, 1, true)
- ui.removeTextArea(199,Admin,1,true)
- ui.addTextArea(99, "<a href=\"event:end\"> انهاء التصويت </a>", Admin, 715, 362, 80, 32, 0x000000, 0xffffff, 1, true)
- elseif event == 'a' then
- a = a + 1
- tfm.exec.movePlayer(playerName,100,200,false,0,50,false)
- print("<font color = '#009D9D' >"..playerName.." اختار الخيار الاول")
- ui.removeTextArea(1,playerName,1,true)
- ui.removeTextArea(2,playerName,1,true)
- ui.removeTextArea(3,playerName,1,true)
- ui.addTextArea(22, "لقد قمت بأختيار "..w.." لا تراجع عن اختيارك", playerName, 12, 345, 181, 40, 0x030303, 0xffffff, 1, true)
- ui.addTextArea(666, "Powered By <font color='#009D9D'>Roger#4888</font color='#009D9D'> for Millionaires#0928", nil, 550, 28, 241, 20, 0x000000, 0x000000, 1, true)
- elseif event == 'b' then
- b = b + 1
- tfm.exec.movePlayer(playerName,400,200,false,0,50,false)
- print("<font color = '#ff0000' >"..playerName.." اختار الخيار الثاني")
- ui.removeTextArea(1,playerName,1,true)
- ui.removeTextArea(2,playerName,1,true)
- ui.removeTextArea(3,playerName,1,true)
- ui.addTextArea(22, "لقد قمت بأختيار "..s.." لا تراجع عن اختيارك", playerName, 12, 345, 181, 40, 0x030303, 0xffffff, 1, true)
- ui.addTextArea(666, "Powered By <font color='#009D9D'>Roger#4888</font color='#009D9D'> for Millionaires#0928", nil, 550, 28, 241, 20, 0x000000, 0x000000, 1, true)
- elseif event == 'c' then
- c = c + 1
- tfm.exec.movePlayer(playerName,700,200,false,0,50,false)
- print("<font color = '#00ff33' >"..playerName.." اختار الخيار الثالث")
- ui.removeTextArea(1,playerName,1,true)
- ui.removeTextArea(2,playerName,1,true)
- ui.removeTextArea(3,playerName,1,true)
- ui.addTextArea(22, "لقد قمت بأختيار "..x.." لا تراجع عن اختيارك", playerName, 12, 345, 181, 40, 0x030303, 0xffffff, 1, true)
- ui.addTextArea(666, "Powered By <font color='#009D9D'>Roger#4888</font color='#009D9D'> for Millionaires#0928", nil, 550, 28, 241, 20, 0x000000, 0x000000, 1, true)
- elseif event == 'end' then
- ui.removeTextArea(1,playerName,1,true)
- ui.removeTextArea(2,playerName,1,true)
- ui.removeTextArea(3,playerName,1,true)
- ui.addTextArea(100, "قام "..a.." باختيار <font color = '#009D9D' >"..w.."</font>" , nil, 38, 83, 150, 34, 0x000000, 0xffffff, 1, true)
- ui.addTextArea(200, "قام "..b.." باختيار <font color = '#ff0000' >"..s.."</font>" , nil, 330, 83, 150, 34, 0x000000, 0xffffff, 1, true)
- ui.addTextArea(300, "قام "..c.." باختيار <font color = '#00ff33' >"..x.."</font>" , nil, 630, 83, 150, 34, 0x000000, 0xffffff, 1, true)
- ui.removeTextArea(22,nil,1,true)
- ui.updateTextArea(99, "<a href=\"event:revote\"> اعادة التصويت </a>",Admin)
- print("<font color ='#ff0000'> تم ايقاف التصويت </font>")
- print("قام "..a.." باختيار "..w.."")
- print("قام "..b.." باختيار "..s.."")
- print("قام "..c.." باختيار "..x.."")
- elseif event == 'revote' then
- a = 0
- b = 0
- c = 0
- ui.addPopup(0, 2, "الخيار الاول", Admin, 17, 44, 175, true)
- ui.removeTextArea(100,nil,1,true)
- ui.removeTextArea(200,nil,1,true)
- ui.removeTextArea(300,nil,1,true)
- ui.removeTextArea(99,Admin,1,true)
- tfm.exec.newGame("@6218574")
- print("<font color ='#BABD2F'> تم اعادة التصويت </font>")
- end
- end
- function eventPlayerDied ( playerName )
- tfm.exec.respawnPlayer( playerName )
- end
- function eventNewPlayer ( playerName )
- tfm.exec.respawnPlayer( playerName )
- end
- function eventPlayerWon ( playerName, timeElapsed, timeElapsedSinceRespawn )
- tfm.exec.respawnPlayer( playerName )
- end
Add Comment
Please, Sign In to add comment