#Game working in studio but not in roblox

1 messages · Page 1 of 1 (latest)

slate halo
#

Im trying to make a start button for my menu screen. I want the button to have a hover animation everytime the player hovers over it. For whatever reason when I test the game in roblox studio, the hover animation applies and everything works fine. When I publish it to roblox and join the game, everything works EXCEPT the hover animation. Ive tried almost everything I can think of and I cant seem to fix it. I genuinely have no clue why this isnt working but its annoying.

#

First video is in the actual Roblox game, second is in studio

junior moss
#

99% chance this wont work but maybe change the one "findfirstchild" to a "waitforchild"

slate halo
#

Yeah that didn’t work

echo glade
slate halo
echo glade
#

or F11

#

and did you use:

#

button.MouseEnter:Connect(function()
local hoverSize = UDim2.new(
originalSize.X.Scale * scaleMultiplier, originalSize.X.Offset,
originalSize.Y.Scale * scaleMultiplier, originalSize.Y.Offset
)
TweenService:Create(button, hoverTweenInfo, {Size = hoverSize}):Play()
end)

slate halo
echo glade
#

Instead of putting the MouseEnter:Connect inside a function, use it outside since you call it anyways

#

this way we can make sure its not just the client getting ready

smoky sandalBOT
#

studio** You are now Level 2! **studio

echo glade
#

could you try putting the contents outside of the connectHover and then adding "local button = startButton" at the top

slate halo
#

lowkey bro idk how to script I been using AI but its been working so far. Is this what u wanted?

#

The other thing is which idk if it matters but its not JUST the start button. The settings button also doesnt have the hover animation