I have this server script in a proximity prompt in my npc’s torso.
local ProxPrompt = script.Parent
local Gui = script.Parent.Parent.Parent.Dialogue
local NpcPicture = Gui.MainFrame.DialogueFrame.NpcPicture
local NpcTitle = Gui.MainFrame.DialogueFrame.NpcTitle
local DialogueText = Gui.MainFrame.DialogueFrame.Dialogue
ProxPrompt.Enabled = true
ProxPrompt.Triggered:Connect(function()
local GuiClone = Gui:Clone()
GuiClone.Enabled = true
GuiClone.Parent = game.StarterGui
GuiClone.MainFrame.DialogueFrame.NpcPicture.Image = "rbxassetid://9011713759"
GuiClone.MainFrame.DialogueFrame.NpcTitle.Text = "Noob"
GuiClone.MainFrame.DialogueFrame.Dialogue.Text = "I'm just a noob."
if GuiClone then
ProxPrompt.Enabled = false
end
end)
this is the gui for better understanding, it’s inside of the npc.
My issue is that I cannot see the dialogue gui inside of the game but when I switch to server then I see it.
This is the client after I talked to the npc
this is the server after I talked to the npc.
For some reason the gui is not visible for client.