ExpressivePrompts - Customizable ProximityPrompt UI (with animation, sound, and more!)

is it getting higher on the log pile?

also what about a parm for a sound id, and or sound library.. so like a boop when you click on the prompt, if it has a timer , a tick tock second sound.. , maybe even a 3rd for when it completes..

thanks

This got added in the newest update

1 Like


image

Issue with the Wally version - looks for Seam in script.Parent but it really needs to look for it in script.Parent.Parent

1 Like

Also seems like the mobile button icon doesn’t display properly - it always has a ImageTransparency of 1 for me

1 Like

Will fix this soon! Thanks for the report. For now you can manually adjust it and I should get a new version to fix it ASAP.

Alrighty, will look into it and release a fix alongside the other one.

This is very very cool + quick setups !!

1 Like

v.1.1.2

  • Fixed some RichText issues
  • Fixed an error exclusive to Wally version
  • Fixed invisible touch input label

@Droidekaa

1 Like

To whom it may concern, I’ve copied and pasted the module and its structure directly in case you were unable to unzip the file or found the import instructions unclear! Although this is one of the things needed, I hope I was useful to you in some way
ExpressivePrompts.rbxm (10.3 KB)

…?

I appreciate you helping but anybody should be able to download the rbxm, which is not even in a zip file.

On top of that, your version doesn’t even work, since all you did was copy-paste the code from the repository without including the Seam package. If you want to download directly, just download from the releases page, which is linked in the original post.

1 Like

On my end, the rbmx link doesn’t exist, so I assumed that it was a global issue. Additionally, I even stated that it was one of a few things needed and never said that it was your full product. It’s merely a structured version for those who obtained it off your wolly website where you do get a file

Did you click the releases page, or Wally? Wally does not have an rbxm file since you’re not supposed to download anything from the site directly.

Thanks for creating this. Resources like this are always a labour of love.

Just pointing out, HoldSound can loop indefinitely if the prompt is destroyed while in use.
An easy fix is to stop the sound by adding a new cleanup connection:

InputConnections[#InputConnections + 1] = Properties.prompt.AncestryChanged:Connect(function(_, parent)
	if not parent and Properties.ButtonHeldDown.Value then
		StopSound(SoundData.HoldSoundId)
	end
end)

Good catch! Will implement this fix soon, alongside the next version.

1 Like

Fixed ActionTextSize and ObjectTextSize functions cuz they were doing errors due to

TextService:GetTextBoundsAsync(Params)

this function tries to pause the thread, which is not allowed inside a Computed so it was crashing the script and throwing errors like:

cannot resume non-suspended coroutine  -  Client - ExpressivePrompts:128

This only happens if you use rich text

To fix it, add this function above the CreatePrompt function:

local function StripRichText(text)
    return (text or ""):gsub("<[^>]+>", "")
end

Then inside CreatePrompt, replace ActionTextSize with this:

local ActionTextSize = PromptScope:Computed(function(Use)
    local text = StripRichText(Prompt.ActionText)
    if text == "" then return Vector2.new(0, 0) end
    return TextService:GetTextSize(
        text,
        Use(ExpressivePrompts.Config.ActionTextSize),
        Use(ExpressivePrompts.Config.ActionTextFont),
        Vector2.new(math.huge, math.huge)
    )
end)

And replace ObjectTextSize with this:

local ObjectTextSize = PromptScope:Computed(function(Use)
    local text = StripRichText(Prompt.ObjectText)
    if text == "" then return Vector2.new(0, 0) end
    return TextService:GetTextSize(
        text,
        Use(ExpressivePrompts.Config.ObjectTextSize),
        Use(ExpressivePrompts.Config.ObjectTextFont),
        Vector2.new(math.huge, math.huge)
    )
end)

I’ll implement this soon. Thanks!

1 Like

Please implement this soon, I was dumb enough to not check the topic for the fix from @clovis500c and was stuck on it for like 5 minutes about to scream at my screen.

@clovis500c @Ephulgent I have implemented the fixes you guys gave! Thanks so much for contributing.

any update on the backlog, of a custom background image? also what about a gradient shimmer or around the border edge glow? you got it rockn now add more vfxs!!!

thanks