I am trying to make an addition onto my script in Roblox for the menu. The addition is supposed to make it so when you hover over the buttons, the stroke expands to a .7 around the text. This is not working, can someone examine this script and tell me what I might be doing wrong?
NOTE: This is in a ModuleScript, there is another function in it that is being run. This function is not being run. I have checked the definitions, everything is in check there, the issue is the function.
Function:
function module.useButtons()
local playstrokeTween = tweenService:Create(playStroke, TweenInfo.new(0.8), {Size = 0.7})
local creditsstrokeTween = tweenService:Create(creditsStroke, TweenInfo.new(0.8), {Size = 0.7})
local helpstrokeTween = tweenService:Create(helpStroke, TweenInfo.new(0.8), {Size = 0.7})
playButton.MouseHover:Connect(playstrokeTween:Play())
helpButton.MouseHover:Connect(helpstrokeTween:Play())
creditsButton.MouseHover:Connect(creditsstrokeTween:Play())
end