function MouseHover()
script.Parent.Position = UDim2.new(0.5, 0, 0.5, 0)
end
game.StarterGui.ScreenGui.Frame3.slideopen.MouseEnter:connect(MouseHover)
That's what I have so far..
function MouseHover()
script.Parent.Position = UDim2.new(0.5, 0, 0.5, 0)
end
game.StarterGui.ScreenGui.Frame3.slideopen.MouseEnter:connect(MouseHover)
That's what I have so far..
local slideopen = script.Parent
function mouseenter()
slideopen:TweenPosition(UDim2.new(0.05, 0, 0.5, 0), "Out", "Linear", 0.5)
end
function mouseleave()
slideopen:TweenPosition(UDim2.new(0, 0, 0.5, 0), "Out", "Linear", 0.5)
end
slideopen.MouseEnter:Connect(mouseenter)
slideopen.MouseLeave:Connect(mouseleave)
if this worked accept answer! :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
expand on what you need to happen
so exactly whats the problem?
Use the Tween function on your GUI. Abnotaddable has the right idea.