I’m trying to make a drink machine system, and whenever the player uses the proximity prompt the DRINK and the STRAW are visible at the same time. (I already have the straw, cup, etc. Made)
For example something like this:
Is there anything I need to change in this script to do something like that?
One thing you could do is to already have a pre-existing straw/drink but have the transparency to 1, which seems like you have done that, then of course, just make them visible.
A way that you can find the tool is for example, when the prompt is triggered get the character from the player, then you could do something like local Tool = Character:FindFirstChildOfClass("Tool") and if they have a tool, check if it is the right name, and then you’d make those parts visible, etc.