Skip to content

Instantly share code, notes, and snippets.

@NathanAdhitya
Created June 14, 2021 14:48
Show Gist options
  • Save NathanAdhitya/2058988fe2c841ccc5611549f0ffdb91 to your computer and use it in GitHub Desktop.
Save NathanAdhitya/2058988fe2c841ccc5611549f0ffdb91 to your computer and use it in GitHub Desktop.
A simple skript to prank your friends. Plays a creeper sound behind someone when command is executed.
command /awman <player>:
permission: donator.creeper
cooldown: 1 minute
trigger:
set {_rand} to a random integer between 1 and 3
if {_rand} is 1:
play sound "ENTITY_CREEPER_HURT" at location behind arg-1 for arg-1
else:
play sound "ENTITY_CREEPER_PRIMED" with pitch 0.5 at location behind arg-1 for arg-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment