Here's the code:
game.Workspace.Note.ClickDetector.MouseClick:Connect(function()
game.ReplicatedStorage.ViewNote:FireClient()
end)
This is a server script, the other side is in StarterGui. Whenever I run this script, it comes up with an error on the middle line. "Argument 1 missing or nil." Is anyone able to help?
