I used a tutorial for this text system thing, and I tried making it so that the person talking’s name would show in the text box. but Roblox Studio decided to be weird. So this happened:
So yeah. I kinda need help.
Btw, Philippians 4 - 13: *I can do all things through Christ which strengtheneth me.
Just as a heads up, there are a lot of topics regarding this issue. Please search next time.
Client scripts run before the game is fully loaded, where as server scripts run after the game is fully loaded. Use WaitForChild to get the prompt, as this will wait until the prompt exists before proceeding.
local MATDialogue = workspace:WaitForChild("ProximityPromptMATTalk"):WaitForChild("ProximityPrompt")
Since things are not getting loaded in workspace it seems that you have StreamingEnabled and are not close enough to those objects for them to be loaded in.
In most cases you should just have prompts be triggered with a server script and send any info you need with a remote event.
If you must have them on the client, you can make sure the prompts are always loaded in by placing them in a model and setting the model’s ModelStreamingMode to Persistent, you should first get the model with :WaitForChild("model") and then you can access the prompts without issues.
Not necessarily; the child instances can take longer to load, I’ve seen it before. Better to be safe than sorry, especially for lower end devices which may take longer to load.