Is there a way to make a button to make a sound when hover?

Hello Dev Forum, I am making a rythm game and I want to my button make a sound when mouse hovers it. Is there a way to even make that?

1 Like
local guiObject = script.Parent
local sound = script:WaitForChild("Sound") --Change this if necessary.

guiObject.MouseEnter:Connect(function()
	sound:Play()
end)
3 Likes

Woah, thats a nice name snipe buddy

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.