Hey everyone, I just wanted to know, is tool.Equipped’s argument or player:GetMouse more efficient? Do they do the same thing, or is one outdated? Is tool.Equipped’s argument used on serverside scripts, while player:GetMouse is only used on client side? Is one for tools and the other for more general purposes? I just don’t know the difference. Thanks!
Both exhibit the same behaviors and only exist on the client. Attempting the following from the server will not work.
local function OnEquipped(Mouse) print(Mouse) end Tool.Equipped:Connect(OnEquipped)
One unique difference between the standard mouse object and the mouse object that the ‘Equipped’ event/signal creates is that for the latter the mouse object is automatically destroyed when the ‘Unequipped’ event/signal is fired.