Workspace: Localscript>ClickDetector>Part
ReplicatedStorage: RemoteEvent
ServerScriptService: Script
The localscript:
script.Parent.MouseClick:Connect(function()
game.ReplicatedStorage.PartClicked:FireServer()
end)
The script:
game.ReplicatedStorage.PartClicked.OnServerEvent:Connect(function()
print("Hello")
end)
I can't seem to figure out/understand why it won't work.

2 comments
Still doesn't work because it's the same thing he has. Reason whyyy it doesn't work is because MouseClick() can't be used in a local script.
true,i fixed it