local function onSelected(Mouse) Mouse.Move:connect(function() print("Mouse moved") end) end script.Parent.Selected:connect(onSelected)