方法
local Part = script.Parent
-- create a sound
local sound = Instance.new("Sound", Part)
sound.SoundId = "rbxassetid://301964312"
sound:Play()
参考
https://developer.roblox.com/en-us/api-reference/class/Sound
local Part = script.Parent
-- create a sound
local sound = Instance.new("Sound", Part)
sound.SoundId = "rbxassetid://301964312"
sound:Play()
https://developer.roblox.com/en-us/api-reference/class/Sound