Hi! Recently i was making a conveyor where eggs are going, by tweening CFrames of the parts that have attachments which are parents of the ProximityPrompts. ProximityPrompts start spamming. The video of what’s going on is below. I tried bunch of things, changing the indicator distance/making ProximityPrompt parent of the part itself, nothing helps. I found a might resolution that says that i have to make a ProximityPrompt on the server, though I’m not sure that may help and i strongly need it to be run on the client.
function PlotLocalFunctions.CreateProximityPrompt(ProximityParent: BasePart | Attachment, SetupFunction: (ProximityPrompt) -> ()): ProximityPrompt
local ProximityPrompt = Instance.new("ProximityPrompt", ProximityParent)
SetupFunction(ProximityPrompt)
return ProximityPrompt
end
It supposed to create ProximityPrompt for each egg. Once eggs enter the conveyor door, the ProximityPrompt auto-destroys. Server send a RemoteEvents each time egg is needed to be spawned.
It might be because of the indication distances of the other eggs overlapping with eachother, Did you try changing the ProximityPrompt.Exclusivity property?
I’ve tried doing this. That kind of works but the main problem is still exists, there is a spam of showing up and closing ProximityPrompt menu while tweening CFrame of it’s parent when the magnitude close to the maximum ProximityPrompt activation distance.
Maybe its the tweening itself that is making the proximity prompts start flashing? Could you try unanchoring the eggs and making them go on an actual conveyor with a linear velocity?