Proximity Prompt KeyCode image does not update

I made a script where once the Proximity Prompt fires its keycode changes to serve a different purpose.

Screenshot 2021-06-12 at 18.52.51
The KeyCode was changed to X, but the image of the KeyCode does not update.

Is there a way to update this? Or am I better off using 2 different Prompts? Any help is appreciated!

This is a small studio bug but I’m pretty sure just setting Enabled to false and back to true should be a quick fix

Prompt.KeyCode = Enum.KeyCode.X
Prompt.Enabled = false
Prompt.Enabled = true
1 Like

Thanks! I already tried this but it only works when you put a wait in between!

ProximtyPrompt.Enabled = false
wait()
ProximtyPrompt.Enabled = true