Advertisement
soujaboy1977

Bloxd IO Door Script

Mar 17th, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. if( api.getEntityName(myId) == "" ) {
  2. // Set Blocks
  3. api.setBlockRect([32828, 66, 47316], [32828, 64, 47315], "Block of Iron")
  4.  
  5. // Play Sound Effect
  6. api.playSound(myId, "stone1", 1, 1, {
  7. playerIdOrPos: myId,
  8. maxHearDist: 1,
  9. refDistance: 1
  10. });
  11. }
  12.  
  13. // Play Locked Sound Effect
  14. else{
  15. api.playSound(myId, "rifle_magazine_load_01", 1, 1, {
  16. playerIdOrPos: myId,
  17. maxHearDist: 1,
  18. refDistance: 1
  19. });
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement