I created a script. It worked the couple of first times, but then it kept breaking. Anyone mind helping?
Here's the script -
local UserInputService = game:GetService("UserInputService")
local mouse = game.Players.LocalPlayer:GetMouse()
local infogui = game.Players.LocalPlayer.PlayerGui:WaitForChild("InfoUI")
function hover()
if mouse.Target.Parent.Name == "Item1" then
infogui.INFO1.Visible = true
infogui.INFO1.Position = UDim2.new(0, mouse.X, 0, mouse.Y)
else
infogui.INFO1.Visible = false
end
end
mouse.Move:connect(hover)
Thanks! :)

1 comment
Breaking how?