Recent Discussions

Skript : Can't understand this condition/effect

Unanswered
West African Crocodile posted this in #questions
Messages4 messages
Views0 views
West African CrocodileOP
I got this skript that plays the nether portal sound when you go to a world named "wilds" but the sound doesn't play and the console is giving this error when I reload the skript:

Line 3: (wilds_portal_sound.sk) Can't understand this condition/effect: play sound "block.portal.travel" at player with volume 1 and pitch 1 Line: play sound "block.portal.travel" at player with volume 1 and pitch 1

wilds_portal_sound.sk :

on world change:
if player's world is "wilds":
play sound "block.portal.travel" at player with volume 1 and pitch 1
send "&6You have entered the Shattered Wilds! Stay alert." to player

The server is 1.21.4 Java PaperMC and I have Skript 2.10.1 and SkBee 3.8.2 installed. Thanks!
Opera_Snapshot_2025-02-13_182121_control.sparkedhost.us.png
play sound "block.portal.travel" at volume 1 at pitch 1 to player
Your script said "at player" which is incorrect. It also said "volume 1 and pitch 1".
West African CrocodileOP
Thanks! :minecraftheart:
!solved
Loading...