envp Posted December 30, 2022 Share Posted December 30, 2022 So i'm trying to write a script where if you right click a stick named &bSound Stick it plays a random sound. However i don't know how to script so i was wondering if someone could probably help and write it for me? It is for my minecraft server. Minecraft Server Version: 1.19.3 Skript Version: 2.6.3 I have to go to bed rn, so i might check back tomorrow. Thanks! Link to comment Share on other sites More sharing options...
Enchanted_Reeses Posted January 2, 2023 Share Posted January 2, 2023 on right click: if 1 of player's tool = stick named "&bSound Stick": set {playrandomsound} to integer between 1 and 100 if {playrandomsound} is between 1 and 50: play sound "Sound Effect Here!" at location of targeted block if {playrandomsound} is between 51 and 100: play sound "Sound Effect Here!" at location of targeted block Just change the numbers to like {playrandomsound} = 1 or between 1 and 2 to add more sounds here is a sound list to add them fromhttps://www.digminecraft.com/lists/sound_list_pc.php Just a skripter who likes to have fun I also think I'm pretty good at it PS my discord is Enchanted#3933 incase idk anything? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now