Proximity Prompt Studio Beta

Can you have multiple options. I tried just creating on for each but it overlaps.

1 Like

I couldn’t find it in the “insert objects” thing either, I even restarted Studio, turned beta features on and off but that didn’t work.
I decided to use command line and “ProximityPrompt” showed up, all you gotta do is type this up in command line, you can then just keep duplicating it if you want to use it again.

Instance.new("ProximityPrompt", workspace)

I’ve parented a Part to the ProximityPrompt and put a ScreenGui in StarterGui with a LocalScript, but it still remains the same default prompt, am I missing something?
image

Great feature! By the way, is there a page on the wiki for this?

1 Like

Bug: Doesn’t work with cloning.

local UserInputService = game:GetService(“UserInputService”)

local function onInputBegan(input, gameProcessed)
if input.UserInputType == Enum.UserInputType.MouseButton1 then

local hum = script.Parent:WaitForChild(“Humanoid”)
local anim = hum:LoadAnimation(script:FindFirstChildOfClass(“Animation”))
anim.Looped = false
anim:Play()

end)

  • UserInputService.InputBegan:Connect(onInputBegan)

*Any way to solve this?*

Thank you
[/quote]

@Theflavi_kingDEV Sorry, i use simple scripts, i want to use Proximity Prompt, not UserInputService

ok but i was thing it was up yourself () player join

What do you mean?

Also (i don’t know why) the animation with ProximityPrompt is looped for no reason

check on your animation if you looped it on publish

I never seen that option
How do i see it?

image

1 Like

This is really cool!

Positioning the options manually is an inconvenience though. In this example we have Party/Trade/Duel however if you’re already in a party with someone, you should see “Trade/Kick”.

This will require writing a custom wrapper to lay out the buttons and set their keycodes depending on their order in the list. Some kind of support for this automatically would be fantastic!

(Also found a bug: ProximityPrompt Breaks when deleting prompt)

14 Likes

I agree with you. The event that fires based on distance is one of my highly wanted feature and so far proximity prompt is the only one that can apply. It would help my development greatly if they can potentially separate / degrade this feature into event trigger for distance rather than being specifically for prompting something!

It was a nice update ! keep the good work :grinning:

1 Like

Are you trying to make a custom prompt? If so, you need to make sure the ProximityPrompt’s Style property is set to Custom.

1 Like

Wow this is a great addition to Roblox Game Development and I will definitely be using this in some future projects!

Are you planning to add ProximityPrompt to UIs?

Well about the first issue you mentioned it exactly tells you what to do fix it so i dont see it as a issue, even though it spams it.

When will this be out? Currently, it only works on studio.