Hello !
I have seen several posts from people who don’t know how to use ProximityPrompt.
Because when there are multiple ProximityPrompt in the game and you activate one, it will activate all the other ProximityPrompt in the game.
If you are also having this problem and are not good at scripting, here is a solution:
Exemple
promptObject is this but remember this is not a ClickDetector
the attachement is just the position of the gui and you can rename it if you want.
**The script is in the attachement so script.Parent.ProximityPrompt
is the ProximityPrompt and script.Parent.Parent
is the Part.
Exemple of script:
local function onPromptHoldEnded(promptObject, player)
if promptObject == script.Parent.ProximityPrompt then
script.Parent.Parent.BrickColor = BrickColor.new("Lime green")
else
end
end
I hope it will be useful for you
Have a great day
Oh and… Merry Christmas