I'm working on a Party System though Gui's but everytime I try to grab someone else's PlayerGui through a Localscript it always give's me a Error saying the PlayerGui isn't found but this weird as I can do this to myself and everything works fine but when I try with others doesn't seem to work at all.
(The Inviting Part)
local PlayerID = InvitePlr.Plr.Value if InvitePlr.PlayerCheck.Value == 1 then if PlayerID == nil then return end game.Players[PlayerID].PlayerGui.PartySystem.Frame.Visible = true game.Players[PlayerID].PlayerGui.PartySystem.Frame.Message.Text = player.Name.." Has Invite you to there Party" game.Players[PlayerID].PlayerGui.PartySystem.Frame.Yes.PlayerName.Value = ""..player.Name print("Player has been Invited "..PlayerID) InvitePlr.Text = "Player Invited" Input.Text = "Type Player Name here" wait(1) InvitePlr.Visible = false InvitePlr.Text = "Invite to Party?" InvitePlr.PlayerCheck.Value = 0 InvitePlr.Plr.Value = "" end end)
Line 4,5,6 Are the Issue.
Edit: Got it working with RemoteEvents.