Hi. I have this script to open a GUI with a proximity prompt. This is the script + output and you can see the workspace.
I dont understand why this isnt working?
Hi. I have this script to open a GUI with a proximity prompt. This is the script + output and you can see the workspace.
I dont understand why this isnt working?
try doing game.workspace:WaitForChild(“Ferry”) and keep going until part
Change the first line to this
local gui = workspace.Ferry.FerryNPC:WaitForChild('Part').ProximityPrompt
Also, in the future, it’s best to paste code using ``` so it formats it. It looks like there’s another error in your console, but I can’t see what it is. Hope this helped.
Hello. This worked, and thank you, I just dont understand why I needed to change that for it to work as I used this same script in my game and it works for another npc.
Cool stuff, glad it worked.
If you wouldn’t mind, mark mine as solution so those looking to help others on the forum know this has been solved.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.