So I have this gui and when a event fires, the text of a gui will change, but it doesn't. Please HELP!!

local event = game:GetService('ReplicatedStorage'):WaitForChild('FindHost')

  

local plr = game.Players.LocalPlayer

  

  

event.OnClientEvent:Connect(function(folder)

    local hostname = folder.Name

    local Gui = plr.PlayerGui:WaitForChild('VisitorParty').VisitorFrame.Misc

    local ScreenGui = plr.PlayerGui.VisitorParty

    Gui.Text = 'Working!'

    ScreenGui.Enabled = true

end)

2 comments

0

BTW, the folder is gonna be the host's(creator of party)'s name. I made the text 'Working!' for testing purposes only.

0

It'd be better if you could post the full code, like when it's called and the error console if any