Advertisement
Guest User

My tryings codes

a guest
Jan 21st, 2019
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #First coding:
  2.  
  3. on damage:
  4. if damage cause is fire:
  5. set {_team} to {team.%{UUID.%attacker%}%.team}
  6. if {team.%{UUID.%attacker%}%.team} is {team.%{UUID.%victim%}%.team}:
  7. send "&8&l▎ &6&lTeam &8&l▎ &cDu kan &4ikke&c slå andre i dit team!" to attacker
  8. cancel event
  9.  
  10. #Second coding:
  11.  
  12. on damage:
  13. if damage cause is burning:
  14. set {_team} to {team.%{UUID.%attacker%}%.team}
  15. if {team.%{UUID.%attacker%}%.team} is {team.%{UUID.%victim%}%.team}:
  16. send "&8&l▎ &6&lTeam &8&l▎ &cDu kan &4ikke&c slå andre i dit team!" to attacker
  17. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement