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.

3 comments
please mark this as answer. thanks in advance :)
I apologize, where do you mark something as an answer? It only says "Edit", "Remove", and "Report".
You can with RemoteEvent