Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Mouse:GetPropertyChangedSignal not working correctly?

local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()

Mouse:GetPropertyChangedSignal("Target"):Connect(function()
	print(1)
end

Nothing shows up in the output. I move my mouse around to different objects and it still doesnt work. Mouse.Changed doesnt work either.

1 answer

Mouse.Move:Connect(function()
    Mouse:GetPropertyChangedSignal("Target"):Connect(function()
        print(1)
    end)
end)

This discussion is preserved as it was. New answers, comments, and votes are closed.