Play Sound with Skript

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ESW_ST33le

Member
May 6, 2020
32
1
6
23
Im trying to spawn an Armor Stand behind a player and play the sound it makes when you complete an end portal. I get no errors but the sound doesn't play. How do I fix it?

command /test:
trigger:
set {loc} to location behind player
set {attacker} to player
spawn an armor stand at {loc}
play sound "end_portal.spawn" to player
set {bot} to last spawned entity
wait 5 seconds
delete last spawned entity
 
i see the problem ok here
play sound "sound" with volume 1 to player
if that doesnt work do this
play sound "sound" with volume 1 pitch 0 to player
if that doesnt work change 0 to 1 in pitch
 
i see the problem ok here
play sound "sound" with volume 1 to player
if that doesnt work do this
play sound "sound" with volume 1 pitch 0 to player
if that doesnt work change 0 to 1 in pitch
None of those work sadly, is there any addons I need? I have Skript, skQuery, TuSKe, skRayFall, and Tablisknu
 
Status
Not open for further replies.