ProximityPrompt appear when hovered with mouse

Is there a way to do this? I don’t want to make my own proximity prompt system.

2 Likes

How are you meant to hover over something which hasn’t appeared yet?

2 Likes

You can do something like this :

robloxapp-20220316-0143073.wmv (2.3 MB)

Steps:
1)Insert a part into workspace.
2)Insert a SurfaceGui into A screenGui in starterGui + add a textbutton into it.
3)Add a local script into the button and type it:
4)Add a proximityPrompt into that part. - make sure enabled is false.

script.Parent.MouseMoved:Connect(function()

game.Workspace.Part.ProximityPrompt.Enabled = true

end)

script.Parent.MouseLeave:Connect(function()

game.Workspace.Part.ProximityPrompt.Enabled = false

end)

NOTICE: Becuase we want it to only open for the client and show it only for him, in this case, we dont really need to fire a remote [ you can if you want]

Adornee the SurfaceGui to that part. And now, whenever you’re gonna hover ur mouse on that gui board, you’ll be able to see that prompt.

Sadly, I dont think you can expand it to wider distances or through a gui button. [you could, if you wanted a custom proximity]

4 Likes

That’s smart. I will try this. Thanks.

2 Likes