local Player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
game.ReplicatedStorage.Ban:FireServer(script.Parent.Parent.Player.Text,script.Parent.Parent.Error)
end)
the error is
12:55:10.851 Player is not a valid member of Frame "Players.Oozymage.PlayerGui.Staff_Panel.Pban_Menu"
Maybe add another .Parent? It’s hard to tell what you’re referencing, if that doesn’t work, try print debugging or referencing them without using .parent.