[Script] Wedding! |
0 | ||
Changed a bit of the code, and added kissing! :D You can also refuse to wed hehehe Script: groom='groom' bride='bride' f=400 e=350 a=0 t=0 p=0 finale=0 groomanswer=0 brideanswer=0 positiongroomlock=1 positionbridelock=0 bridewalking=0 stop=5 facepaw=0 p={} tfm.exec.disableAutoShaman(true) tfm.exec.disableAutoTimeLeft(true) tfm.exec.disableAfkDeath(true) tfm.exec.disableAutoNewGame(true) tfm.exec.newGame('@5014080') function eventNewGame() tfm.exec.movePlayer(groom,1380, 290,offset,0,0,offset) tfm.exec.killPlayer(bride) system.disableChatCommandDisplay("start",true) for name,player in pairs(tfm.get.room.playerList) do p[name]={facepaw=false} end end function eventNewPlayer(a) p[name]={facepaw=false} tfm.exec.respawnPlayer(a) end function eventChatCommand(name, message) if name==groom and message=="start" then t=48 end end function eventLoop(currentTime,timeRemaining) t=t+1 if positiongroomlock==1 then tfm.exec.movePlayer(groom,1380, 290,offset,0,0,offset) end if positionbridelock==1 then tfm.exec.movePlayer(bride,1320, 290,offset,0,0,offset) end if t==50 then ui.addTextArea(1,"I believe everyone is here. We will now begin.",nil, 1350, 180,150,40, color,color,Alpha,false) end if t==60 then ui.addTextArea(1,"Please welcome the bride!",nil, 1350, 180,150,40, color,color,Alpha,false) tfm.exec.respawnPlayer(bride) tfm.exec.movePlayer(bride,400, 350,offset,0,0,offset) bridewalking=1 stop=0 end if stop==0 then if bridewalking==1 then tfm.exec.movePlayer(bride,f, 350,offset,0,0,offset) f=f+20 end if f > 1145 then e=e-3.5 tfm.exec.movePlayer(bride,f, e,offset,0,0,offset) end if f>=1300 then stop=1 bridewalking=0 positionbridelock=1 ui.addTextArea(1,"She is here!",nil, 1350, 180,150,40, color,color,Alpha,false) t=1000 end end if t==1006 then ui.addTextArea(1,"Let us begin the ceremony.",nil, 1350, 180,150,40, color,color,Alpha,false) end if t==1012 then ui.addTextArea(1,"We gathered to witness and celebrate",nil, 1350, 180,150,40, color,color,Alpha,false) end if t==1018 then ui.addTextArea(1,"The union of 2 souls in ethernal companionship.",nil, 1350, 180,150,40, color,color,Alpha,false) end if t==1024 then ui.addTextArea(1,"May they journey forth in prosperity and poverty",nil, 1350, 180,150,40, color,color,Alpha,false) end if t==1030 then ui.addTextArea(1,"and in joy and hardship",nil, 1350, 180,150,40, color,color,Alpha,false) end if t==1036 then ui.addTextArea(1,'Do you, '..groom..', agree to be bound together in love now and forever?',nil, 1350, 160,150,70, color,color,Alpha,false) groomanswer=1 end if groomanswer==1 and t==1037 then ui.addPopup(5, 1, "Do you agree to marry "..bride.." and be bound together in love now and forever?", groom, 272, 131, 253, true) end if groomanswer==2 then ui.addTextArea(3,"I do. Now and forever",nil ,1330,200,100) t=2000 groomanswer=3 end if t==2006 and groomanswer==3 then ui.removeTextArea(3,nil) ui.addTextArea(1,'And do you, '..bride..', agree to be bound together in love now and forever?',nil, 1350, 160,150,70, color,color,Alpha,false) ui.addPopup(6, 1, "Do you agree to marry "..groom.." and be bound together in love now and forever?", bride, 272, 131, 253, true) end if brideanswer==1 then ui.addTextArea(3,"I do. Now and forever",nil ,1270,200,100) t=3000 brideanswer=2 end if t==3006 and brideanswer==2 then ui.removeTextArea(3,nil) ui.addTextArea(1,'Then congratiulation! I declare this couple to be wed. Now you may kiss your spouse',nil, 1350, 180,150,50, color,color,Alpha,false) end if t==3012 then ui.removeTextArea(3,nil) tfm.exec.movePlayer(groom,1380, 290,offset,0,0,offset) tfm.exec.movePlayer(bride,1320, 290,offset,0,0,offset) tfm.exec.playEmote(bride,3,nil) tfm.exec.playEmote(groom,3,nil) for name,player in pairs(tfm.get.room.playerList) do if name==groom or name==bride then else tfm.exec.playEmote(name,5,nil) end end finale=1 positiongroomlock=0 positionbridelock=0 end if t>=3020 and t<9000 then ui.addTextArea(1,"Now lets partyyy!",nil, 1350, 180,150,40, color,color,Alpha,false) for name,player in pairs(tfm.get.room.playerList) do tfm.exec.playEmote(name,0,nil) end t=3020 end if t>=9012 and t<9036 then ui.addTextArea(1,'This is a disaster! The worst wedding I have ever attended! YOU WILL ALL PERISH!',nil, 1350, 160,200,70, color,color,Alpha,false) for name,player in pairs(tfm.get.room.playerList) do if name==bride or name==groom then if groomanswer==5 then tfm.exec.playEmote(bride,2,nil) tfm.exec.playEmote(groom,1,nil) else tfm.exec.playEmote(bride,1,nil) tfm.exec.playEmote(groom,2,nil) end elseif p[name].facepaw==false then tfm.exec.playEmote(name,7,nil) p[name].facepaw=true end end end if t==9036 then positiongroomlock=0 positionbridelock=0 for name,player in pairs(tfm.get.room.playerList) do tfm.exec.killPlayer(name) end ui.addTextArea(1,"I'M THE RULER OF 'EM ALL! HAHAHAHAHA!!",nil, 1350, 160,160,70, color,color,Alpha,false) end if t==9050 then system.exit() end end function eventPopupAnswer(popupID, name, answer) if popupID==5 and name==groom then if answer=="yes" then groomanswer=2 else groomanswer=5 t=9000 ui.addTextArea(3,"Screw this, I quit!",nil ,1330,200,100) end elseif popupID==6 then if answer=="yes" then brideanswer=1 else brideanswer=5 t=9000 ui.addTextArea(3,"Screw this, I quit!",nil ,1270,200,100) end end end |
0 | ||
Great and funny. |
Leoobey « Citoyen » 1453834260000
| 0 | ||
what the code dude? |
Amrtast « Censeur » 1453834320000
| 0 | ||
Shamiman « Citoyen » 1455381480000
| 0 | ||
Where does it say the code ;[ |
Velspar « Citoyen » 1455390060000
| 0 | ||
Original http://pastebin.com/raw/tKG2SJ6Y Mousetat's Version "Changed a bit of the code, and added kissing! :D" -Mousetat http://pastebin.com/raw/rzGi5EHK Bepperluver's Version "I have improved the grammar here" - Bepperluver http://pastebin.com/raw/Ee5ygDQb Not sure their differences, but the 2 claim theirs to be altered in some way. |
0 | ||
How do you use this? |
0 | ||
hexheart a dit : go to your tribe house type /lua into the chat, then copy + paste the code you see into the box, then hit "submit" you need to have the ability to use the /np command in the tribe house, though |
Crumbley « Citoyen » 1456063620000
| 0 | ||
Where's the script? o.o |
0 | ||
|
Ringcool « Citoyen » 1467691080000
| 0 | ||
On the pastebin lmoa |
0 | ||
Two girls were arguing in my tribe house, and I made'em marry. "I DON'T WANNA MARRY HER" We need a "protest against wedding" option to the guests x) Dernière modification le 1468868040000 |
Kirito « Citoyen » 1479637200000
| 0 | ||
How does the map work???? |
Kirito « Citoyen » 1479637200000
| 0 | ||
how do you decide who marrys who!? |
Coraborra « Citoyen » 1518323940000
| 0 | ||
Is there a way I could edit the map (not make a new one)? I have tried loading it in map editor but it says it no longer exists. |
Wedding « Citoyen » 1566777000000
| 0 | ||
whats the map name? and yes my name is wedding |