Play Sound (Effect) — Skript

Addon: Skript · Category: Effect

Syntax

play %sounds% [%directions% %points%] (to|for) %players%

Description

Plays a sound at a certain location, for certain players, or from an entity.

Examples

play sound "entity.player.levelup" at player to all players
play sound "ambient.cave" at vector(10, 64, 10) in player's instance
play sound "entity.villager.ambient" from {_entity} to player # makes the sound follow the provided entity

View source