No buttons are working at all once i hover the textbutton nothinghappnes?
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)