I made a button script and everything is working I think the event is not firing here is the LocalScript in the serverscriptservice.
local clickdetector = game.Workspace.pully.MeshPart.ClickDetector
clickdetector.MouseClick:Connect((function()
game.Workspace.RemoteEvent:FireServer()
end)
Then i have a script inside of an RemoteEvent named RemoteEvent. There is the script (it is in workspace)
local pully = game.Workspace.pully
game.Workspace.RemoteEvent.OnServerEvent:Connect(function()
pully.PrimaryPart = pully.primary_part
pully:SetPrimaryPartCFrame(Vector3.new(-23.536, 10.517, -23.911))
end)
My guess is that I'm not firing the event I asked a question before this about if I can use ClickDetectors in meshes I believe it was taken down but it was answered yes

3 comments
can you go into community chat so we can talk about this
yea he said that the fireserver is inside the client