#how can i make a sound play as the player touches a checkpoint?

1 messages · Page 1 of 1 (latest)

near cipher
#

help im new dev

faint parrot
#

I'm also new but I'm sure this is right

find a sound id, make a "sound" in SoundService (or at workspace/wherever your choice) and paste the sound id into it

i assume you have a function connected to the checkpoint, before everything, make

local sound = game.SoundService:waitforchild("sound")

then at the start of the checkpoint function do

sound:Play()

should look smth like

local function hitcheckpoint()
sound:play()
end

ofc i only put the sound in the function you'll have other stuff in there

near cipher
#

thanks!

faint parrot