local startmenugui = game.StarterGui:WaitForChild("startmenugui")
local playbutton = game.StarterGui:WaitForChild("startmenugui"):WaitForChild("Frame"):WaitForChild("frameplay"):WaitForChild("Play")
playbutton.MouseEnter:Connect(function()
playbutton.BackgroundTransparency = 0
playbutton.BackgroundColor3 = Color3.new(81, 96, 165)
startmenugui.Frame.frameplay.Position = UDim2.new ({0.468}, {0,0.143, 0})
startmenugui.Frane.frameplay.Size = UDim2.new ({0.532, 0},{0.06, 0})
game.StarterGui:WaitForChild("SoundFX"):WaitForCHild("Hoversound"):Play()
end)
playbutton.MouseLeave:Connect(function()
playbutton.BackgroundTransparency = 1
startmenugui:WaitForChild("Frame"):WaitForChild("frameplay").Position = UDim2.new ({0.565, 0},{0.143, 0})
startmenugui:WaitForChild("Frame"):WaitForChild("frameplay").Size = UDim2.new ({0.435, 0},{0.06, 0})
game.StarterGui:WaitForChild("SoundFX"):WaitForCHild("Hoversound"):Stop()
end)
COMMUNITY QUESTION
No buttons are working at all once i hover the textbutton nothinghappnes?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Did the output leave any errors or warnings? It’s good to include the output’s findings to a question.
nothing