FlupMC

Untitled

Jun 18th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. on region leave:
  2.     if "%region at player%" is equal to "tre1","tre2","tre4" or "tre5" or "tre6":
  3.         if {TRE.2.%player%} is true:
  4.             send player title "&6&lMISSION" with subtitle "&eDu fandt det store træ" for 5 seconds
  5.             execute console command "eco give %player% 200"
  6.             delete {TRE.2.%player%}
  7.             stop
  8. on npc right click:
  9.     if npc is named "&6&lKARL":
  10.         if {TRE.%player%} is not set:
  11.             set {TRE.KARL.%player%} to true
  12.             send "&eHva' Så %player%."
  13.             set {TRE.%player%} to true
  14.             play "CLICK" to player at volume 3.2
  15.             wait 2 seconds
  16.             play "CLICK" to player at volume 3.2
  17.             play "CLICK" to player at volume 3.2
  18.             send "&eKan du vise mig hen til det store træ?"
  19.             play "CLICK" to player at volume 3.2
  20.             play "CLICK" to player at volume 3.2
  21.             send "&eHvis du kan klare det, så skriv &aJA &ei chatten."
  22.             send "&eHvis ikke, så skriv &4NEJ"
  23.             set {TRE.ChatStart.%player%} to true
  24.             delete {TRE.KARL.%player%}
  25.         else:
  26.             if {TRE.KARL.%player%} is true:
  27.                 stop
  28.             else:
  29.                 send "&eHvem er du?"
  30.                 stop
  31.            
  32.            
  33.            
  34.  
  35. on chat:
  36.     if {TRE.ChatStart.%player%} is true:
  37.         wait 2 tick
  38.         if message is "JA":
  39.             Message "&eMange, tak fordi du vil hjælpe mig."
  40.             play "CLICK" to player at volume 3.2
  41.             wait 1 second
  42.             send  " &aLige hvad jeg husker så er han bag spawn."
  43.             clear {TRE.ChatStart.%player%}
  44.             set {TRE.%player%} to true
  45.             set {TRE.2.%player%} to true
  46.             send "&eKan du vise mig vej hen til det store træ?"
  47.         if message is "NEJ":
  48.             Message "&eOkay, jeg troede du var hjælpsom."
  49.             play "CLICK" to player at volume 3.2
  50.             clear {TRE.ChatStart.%player%}
  51.             clear {TRE.Igang.%player%}
  52.             clear {TRE.%player%}
  53.         clear {TRE.ChatStart.%player%}
  54.         wait 2 seconds
Advertisement
Add Comment
Please, Sign In to add comment