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

[SELF-ANSWERED] Can you get the client's mouse from the server?

I've tried

-- Server script
script.Parent.Prompt.Triggered:Connect(function(plr)
	local Mouse = plr:GetMouse()
	Mouse.Button1Down:Connect(function()
		print("Click")
	end)
end)

but this throws out an error. Can you only get the mouse from the client? Apologies if this is a stupid question.

1 answer

No. You cannot. Just found this out.

3 comments

0

please mark this as answer. thanks in advance :)

0

I apologize, where do you mark something as an answer? It only says "Edit", "Remove", and "Report".

0

You can with RemoteEvent

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