i tried this
function onClicked(playerWhoClicked)
local message = Instance.new('Message', game.Workspace)
message.Text = "Self Destruction Activated!"
wait(5)
message:Destroy()
play(game.Workspace.Sound)
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
and sound:Play.game.workspace.sound
