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

will mesh parts work with clickdetector?

I have a local script in the server script service this is it

local clickdetector = game.Workspace.pully.MeshPart.ClickDetector
clickdetector.MouseClick:Connect((function()
	game.Workspace.RemoteEvent:FireServer()
end)

I also have a remoteevent named RemoteEvent theres a script in there too!

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)

what this should do is it should move the model in the workspace named pully to -23.536, 10.517, - 23.911

1 answer

✓ Accepted answer

click detectors will work in meshes

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