How do i make music that changes when player touches the block?

You mean those red and orange lines?

Yes, red lines in the output or in the script are errors and yellow lines are warnings

It give a warning when i put blocky and without putting blocky a red line on

local music = 5410083814-- sound instance here

What do the warnings and errors say

syntax error: expected indetifier when parsing expression, got ‘local’

You should take a look at this sound regions tutorial by @Alvin_Blox

1 Like

Ok, that means that the script has an undeclared variable. Can you send a screen shot of it?

or follow @lluckvy 's solution