for i, v in pairs(script.Parent:GetChildren()) do
v.ChildAdded:Connect(function(Log)
Log.MouseEnter:Connect(function()
Log.HoverFrame.Visible = true
end)
Log.MouseLeave:Connect(function()
Log.HoverFrame.Visible = false
end)
Mouse.Move:Connect(function()
if Log.HoverFrame.Visible then
Log.HoverFrame.Position = UDim2.fromOffset(UIS:GetMouseLocation().X,UIS:GetMouseLocation().Y)
end
end)
end)
end
HoverFrame
is following my mouse but from a far distance. How can I fix this?