I need it to remove the gui from the brick when the mouse is removed. Any help?
player = game.Players.LocalPlayer mouse = player:GetMouse() mouse.Move:connect(function() if mouse.Target ~=nil and mouse.Target.Name == 'HoverBrick' then script.Parent.Position = UDim2.new(0,mouse.X,0,mouse.Y) end end)