Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.register_node("modtest:musicblock", {
- tiles = {"modtest_explosive.png"},
- groups = { crumbly=3, flammable=3, explody=3}
- })
- if right_click(modtest:musicblock)&& is_player(true) then
- string abc = get_player_name()
- minetest.sound_play("modtest_song_1", to_player = abc)
- end
Advertisement
Add Comment
Please, Sign In to add comment